From 11db47ca2ab87d2ea02b605f726d422d5c160e9a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 9 Sep 2019 08:31:59 +0200 Subject: [PATCH] Regenerate all code Related to #239 --- gen/abusiveexperiencereport1-cli/Cargo.toml | 9 +- gen/abusiveexperiencereport1-cli/README.md | 2 +- gen/abusiveexperiencereport1-cli/mkdocs.yml | 2 +- gen/abusiveexperiencereport1-cli/src/main.rs | 2 +- gen/abusiveexperiencereport1/Cargo.toml | 9 +- gen/abusiveexperiencereport1/README.md | 44 +-- gen/abusiveexperiencereport1/src/cmn.rs | 18 +- gen/abusiveexperiencereport1/src/lib.rs | 6 +- gen/acceleratedmobilepageurl1-cli/Cargo.toml | 9 +- gen/acceleratedmobilepageurl1-cli/README.md | 2 +- gen/acceleratedmobilepageurl1-cli/mkdocs.yml | 2 +- gen/acceleratedmobilepageurl1-cli/src/main.rs | 2 +- gen/acceleratedmobilepageurl1/Cargo.toml | 9 +- gen/acceleratedmobilepageurl1/README.md | 44 +-- gen/acceleratedmobilepageurl1/src/cmn.rs | 18 +- gen/acceleratedmobilepageurl1/src/lib.rs | 6 +- gen/accessapproval1_beta1-cli/Cargo.toml | 9 +- gen/accessapproval1_beta1-cli/README.md | 2 +- gen/accessapproval1_beta1-cli/mkdocs.yml | 2 +- gen/accessapproval1_beta1-cli/src/main.rs | 2 +- gen/accessapproval1_beta1/Cargo.toml | 9 +- gen/accessapproval1_beta1/README.md | 46 +-- gen/accessapproval1_beta1/src/cmn.rs | 18 +- gen/accessapproval1_beta1/src/lib.rs | 6 +- gen/accesscontextmanager1-cli/Cargo.toml | 9 +- gen/accesscontextmanager1-cli/README.md | 2 +- gen/accesscontextmanager1-cli/mkdocs.yml | 2 +- gen/accesscontextmanager1-cli/src/main.rs | 2 +- gen/accesscontextmanager1/Cargo.toml | 9 +- gen/accesscontextmanager1/README.md | 48 +-- gen/accesscontextmanager1/src/cmn.rs | 18 +- gen/accesscontextmanager1/src/lib.rs | 6 +- gen/accesscontextmanager1_beta-cli/Cargo.toml | 9 +- gen/accesscontextmanager1_beta-cli/README.md | 2 +- gen/accesscontextmanager1_beta-cli/mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/accesscontextmanager1_beta/Cargo.toml | 9 +- gen/accesscontextmanager1_beta/README.md | 48 +-- gen/accesscontextmanager1_beta/src/cmn.rs | 18 +- gen/accesscontextmanager1_beta/src/lib.rs | 6 +- gen/adexchangebuyer1d3-cli/Cargo.toml | 9 +- gen/adexchangebuyer1d3-cli/README.md | 2 +- gen/adexchangebuyer1d3-cli/mkdocs.yml | 2 +- gen/adexchangebuyer1d3-cli/src/main.rs | 2 +- gen/adexchangebuyer1d3/Cargo.toml | 9 +- gen/adexchangebuyer1d3/README.md | 68 ++--- gen/adexchangebuyer1d3/src/cmn.rs | 18 +- gen/adexchangebuyer1d3/src/lib.rs | 6 +- gen/adexchangebuyer1d4-cli/Cargo.toml | 9 +- gen/adexchangebuyer1d4-cli/README.md | 2 +- gen/adexchangebuyer1d4-cli/mkdocs.yml | 2 +- gen/adexchangebuyer1d4-cli/src/main.rs | 2 +- gen/adexchangebuyer1d4/Cargo.toml | 9 +- gen/adexchangebuyer1d4/README.md | 80 ++--- gen/adexchangebuyer1d4/src/cmn.rs | 18 +- gen/adexchangebuyer1d4/src/lib.rs | 6 +- gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml | 9 +- gen/adexchangebuyer2_v2_beta1-cli/README.md | 2 +- gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml | 2 +- gen/adexchangebuyer2_v2_beta1-cli/src/main.rs | 2 +- gen/adexchangebuyer2_v2_beta1/Cargo.toml | 9 +- gen/adexchangebuyer2_v2_beta1/README.md | 44 +-- gen/adexchangebuyer2_v2_beta1/src/cmn.rs | 18 +- gen/adexchangebuyer2_v2_beta1/src/lib.rs | 6 +- gen/adexchangeseller2-cli/Cargo.toml | 9 +- gen/adexchangeseller2-cli/README.md | 2 +- gen/adexchangeseller2-cli/mkdocs.yml | 2 +- gen/adexchangeseller2-cli/src/main.rs | 2 +- gen/adexchangeseller2/Cargo.toml | 9 +- gen/adexchangeseller2/README.md | 46 +-- gen/adexchangeseller2/src/cmn.rs | 18 +- gen/adexchangeseller2/src/lib.rs | 6 +- gen/adexperiencereport1-cli/Cargo.toml | 9 +- gen/adexperiencereport1-cli/README.md | 2 +- gen/adexperiencereport1-cli/mkdocs.yml | 2 +- gen/adexperiencereport1-cli/src/main.rs | 2 +- gen/adexperiencereport1/Cargo.toml | 9 +- gen/adexperiencereport1/README.md | 44 +-- gen/adexperiencereport1/src/cmn.rs | 18 +- gen/adexperiencereport1/src/lib.rs | 6 +- gen/admin1_directory-cli/Cargo.toml | 9 +- gen/admin1_directory-cli/README.md | 2 +- gen/admin1_directory-cli/mkdocs.yml | 2 +- gen/admin1_directory-cli/src/main.rs | 2 +- gen/admin1_directory/Cargo.toml | 9 +- gen/admin1_directory/README.md | 116 +++---- gen/admin1_directory/src/cmn.rs | 18 +- gen/admin1_directory/src/lib.rs | 6 +- gen/admin1_reports-cli/Cargo.toml | 9 +- gen/admin1_reports-cli/README.md | 2 +- gen/admin1_reports-cli/mkdocs.yml | 2 +- gen/admin1_reports-cli/src/main.rs | 2 +- gen/admin1_reports/Cargo.toml | 9 +- gen/admin1_reports/README.md | 58 ++-- gen/admin1_reports/src/cmn.rs | 18 +- gen/admin1_reports/src/lib.rs | 6 +- gen/adsense1d4-cli/Cargo.toml | 9 +- gen/adsense1d4-cli/README.md | 2 +- gen/adsense1d4-cli/mkdocs.yml | 2 +- gen/adsense1d4-cli/src/main.rs | 2 +- gen/adsense1d4/Cargo.toml | 9 +- gen/adsense1d4/README.md | 72 ++--- gen/adsense1d4/src/cmn.rs | 18 +- gen/adsense1d4/src/lib.rs | 6 +- gen/adsensehost4d1-cli/Cargo.toml | 9 +- gen/adsensehost4d1-cli/README.md | 2 +- gen/adsensehost4d1-cli/mkdocs.yml | 2 +- gen/adsensehost4d1-cli/src/main.rs | 2 +- gen/adsensehost4d1/Cargo.toml | 9 +- gen/adsensehost4d1/README.md | 56 ++-- gen/adsensehost4d1/src/cmn.rs | 18 +- gen/adsensehost4d1/src/lib.rs | 6 +- gen/alertcenter1_beta1-cli/Cargo.toml | 9 +- gen/alertcenter1_beta1-cli/README.md | 2 +- gen/alertcenter1_beta1-cli/mkdocs.yml | 2 +- gen/alertcenter1_beta1-cli/src/main.rs | 2 +- gen/alertcenter1_beta1/Cargo.toml | 9 +- gen/alertcenter1_beta1/README.md | 48 +-- gen/alertcenter1_beta1/src/cmn.rs | 18 +- gen/alertcenter1_beta1/src/lib.rs | 6 +- gen/analytics3-cli/Cargo.toml | 9 +- gen/analytics3-cli/README.md | 2 +- gen/analytics3-cli/mkdocs.yml | 2 +- gen/analytics3-cli/src/main.rs | 2 +- gen/analytics3/Cargo.toml | 9 +- gen/analytics3/README.md | 52 ++-- gen/analytics3/src/cmn.rs | 18 +- gen/analytics3/src/lib.rs | 6 +- gen/analyticsreporting4-cli/Cargo.toml | 9 +- gen/analyticsreporting4-cli/README.md | 2 +- gen/analyticsreporting4-cli/mkdocs.yml | 2 +- gen/analyticsreporting4-cli/src/main.rs | 2 +- gen/analyticsreporting4/Cargo.toml | 9 +- gen/analyticsreporting4/README.md | 46 +-- gen/analyticsreporting4/src/cmn.rs | 18 +- gen/analyticsreporting4/src/lib.rs | 6 +- gen/androiddeviceprovisioning1-cli/Cargo.toml | 9 +- gen/androiddeviceprovisioning1-cli/README.md | 2 +- gen/androiddeviceprovisioning1-cli/mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/androiddeviceprovisioning1/Cargo.toml | 9 +- gen/androiddeviceprovisioning1/README.md | 48 +-- gen/androiddeviceprovisioning1/src/cmn.rs | 18 +- gen/androiddeviceprovisioning1/src/lib.rs | 6 +- gen/androidenterprise1-cli/Cargo.toml | 9 +- gen/androidenterprise1-cli/README.md | 2 +- gen/androidenterprise1-cli/mkdocs.yml | 2 +- gen/androidenterprise1-cli/src/main.rs | 2 +- gen/androidenterprise1/Cargo.toml | 9 +- gen/androidenterprise1/README.md | 86 +++--- gen/androidenterprise1/src/cmn.rs | 18 +- gen/androidenterprise1/src/lib.rs | 6 +- gen/androidmanagement1-cli/Cargo.toml | 9 +- gen/androidmanagement1-cli/README.md | 2 +- gen/androidmanagement1-cli/mkdocs.yml | 2 +- gen/androidmanagement1-cli/src/main.rs | 2 +- gen/androidmanagement1/Cargo.toml | 9 +- gen/androidmanagement1/README.md | 48 +-- gen/androidmanagement1/src/cmn.rs | 18 +- gen/androidmanagement1/src/lib.rs | 6 +- gen/androidpublisher2-cli/Cargo.toml | 9 +- gen/androidpublisher2-cli/README.md | 2 +- gen/androidpublisher2-cli/mkdocs.yml | 2 +- gen/androidpublisher2-cli/src/main.rs | 2 +- gen/androidpublisher2/Cargo.toml | 9 +- gen/androidpublisher2/README.md | 62 ++-- gen/androidpublisher2/src/cmn.rs | 18 +- gen/androidpublisher2/src/lib.rs | 6 +- gen/androidpublisher3-cli/Cargo.toml | 9 +- gen/androidpublisher3-cli/README.md | 2 +- gen/androidpublisher3-cli/mkdocs.yml | 2 +- gen/androidpublisher3-cli/src/main.rs | 2 +- gen/androidpublisher3/Cargo.toml | 9 +- gen/androidpublisher3/README.md | 68 ++--- gen/androidpublisher3/src/cmn.rs | 18 +- gen/androidpublisher3/src/lib.rs | 6 +- gen/appengine1-cli/Cargo.toml | 9 +- gen/appengine1-cli/README.md | 2 +- gen/appengine1-cli/mkdocs.yml | 2 +- gen/appengine1-cli/src/main.rs | 2 +- gen/appengine1/Cargo.toml | 9 +- gen/appengine1/README.md | 42 +-- gen/appengine1/src/cmn.rs | 18 +- gen/appengine1/src/lib.rs | 6 +- gen/appengine1_beta4-cli/Cargo.toml | 9 +- gen/appengine1_beta4-cli/README.md | 2 +- gen/appengine1_beta4-cli/mkdocs.yml | 2 +- gen/appengine1_beta4-cli/src/main.rs | 2 +- gen/appengine1_beta4/Cargo.toml | 9 +- gen/appengine1_beta4/README.md | 42 +-- gen/appengine1_beta4/src/cmn.rs | 18 +- gen/appengine1_beta4/src/lib.rs | 6 +- gen/appengine1_beta5-cli/Cargo.toml | 9 +- gen/appengine1_beta5-cli/README.md | 2 +- gen/appengine1_beta5-cli/mkdocs.yml | 2 +- gen/appengine1_beta5-cli/src/main.rs | 2 +- gen/appengine1_beta5/Cargo.toml | 9 +- gen/appengine1_beta5/README.md | 42 +-- gen/appengine1_beta5/src/cmn.rs | 18 +- gen/appengine1_beta5/src/lib.rs | 6 +- gen/appsactivity1-cli/Cargo.toml | 9 +- gen/appsactivity1-cli/README.md | 2 +- gen/appsactivity1-cli/mkdocs.yml | 2 +- gen/appsactivity1-cli/src/main.rs | 2 +- gen/appsactivity1/Cargo.toml | 9 +- gen/appsactivity1/README.md | 44 +-- gen/appsactivity1/src/cmn.rs | 18 +- gen/appsactivity1/src/lib.rs | 6 +- gen/appstate1-cli/Cargo.toml | 9 +- gen/appstate1-cli/README.md | 2 +- gen/appstate1-cli/mkdocs.yml | 2 +- gen/appstate1-cli/src/main.rs | 2 +- gen/appstate1/Cargo.toml | 9 +- gen/appstate1/README.md | 42 +-- gen/appstate1/src/cmn.rs | 18 +- gen/appstate1/src/lib.rs | 6 +- gen/autoscaler1_beta2-cli/Cargo.toml | 9 +- gen/autoscaler1_beta2-cli/README.md | 2 +- gen/autoscaler1_beta2-cli/mkdocs.yml | 2 +- gen/autoscaler1_beta2-cli/src/main.rs | 2 +- gen/autoscaler1_beta2/Cargo.toml | 9 +- gen/autoscaler1_beta2/README.md | 50 +-- gen/autoscaler1_beta2/src/cmn.rs | 18 +- gen/autoscaler1_beta2/src/lib.rs | 6 +- gen/bigquery2-cli/Cargo.toml | 9 +- gen/bigquery2-cli/README.md | 2 +- gen/bigquery2-cli/mkdocs.yml | 2 +- gen/bigquery2-cli/src/main.rs | 2 +- gen/bigquery2/Cargo.toml | 9 +- gen/bigquery2/README.md | 66 ++-- gen/bigquery2/src/cmn.rs | 18 +- gen/bigquery2/src/lib.rs | 6 +- gen/bigquerydatatransfer1-cli/Cargo.toml | 9 +- gen/bigquerydatatransfer1-cli/README.md | 2 +- gen/bigquerydatatransfer1-cli/mkdocs.yml | 2 +- gen/bigquerydatatransfer1-cli/src/main.rs | 2 +- gen/bigquerydatatransfer1/Cargo.toml | 9 +- gen/bigquerydatatransfer1/README.md | 42 +-- gen/bigquerydatatransfer1/src/cmn.rs | 18 +- gen/bigquerydatatransfer1/src/lib.rs | 6 +- gen/bigtableadmin2-cli/Cargo.toml | 9 +- gen/bigtableadmin2-cli/README.md | 2 +- gen/bigtableadmin2-cli/mkdocs.yml | 2 +- gen/bigtableadmin2-cli/src/main.rs | 2 +- gen/bigtableadmin2/Cargo.toml | 9 +- gen/bigtableadmin2/README.md | 46 +-- gen/bigtableadmin2/src/cmn.rs | 18 +- gen/bigtableadmin2/src/lib.rs | 6 +- gen/binaryauthorization1_beta1-cli/Cargo.toml | 9 +- gen/binaryauthorization1_beta1-cli/README.md | 2 +- gen/binaryauthorization1_beta1-cli/mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/binaryauthorization1_beta1/Cargo.toml | 9 +- gen/binaryauthorization1_beta1/README.md | 42 +-- gen/binaryauthorization1_beta1/src/cmn.rs | 18 +- gen/binaryauthorization1_beta1/src/lib.rs | 6 +- gen/blogger3-cli/Cargo.toml | 9 +- gen/blogger3-cli/README.md | 2 +- gen/blogger3-cli/mkdocs.yml | 2 +- gen/blogger3-cli/src/main.rs | 2 +- gen/blogger3/Cargo.toml | 9 +- gen/blogger3/README.md | 70 ++--- gen/blogger3/src/cmn.rs | 18 +- gen/blogger3/src/lib.rs | 6 +- gen/books1-cli/Cargo.toml | 9 +- gen/books1-cli/README.md | 2 +- gen/books1-cli/mkdocs.yml | 2 +- gen/books1-cli/src/main.rs | 2 +- gen/books1/Cargo.toml | 9 +- gen/books1/README.md | 70 ++--- gen/books1/src/cmn.rs | 18 +- gen/books1/src/lib.rs | 6 +- gen/calendar3-cli/Cargo.toml | 9 +- gen/calendar3-cli/README.md | 2 +- gen/calendar3-cli/mkdocs.yml | 2 +- gen/calendar3-cli/src/main.rs | 2 +- gen/calendar3/Cargo.toml | 9 +- gen/calendar3/README.md | 86 +++--- gen/calendar3/src/cmn.rs | 18 +- gen/calendar3/src/lib.rs | 6 +- gen/chat1-cli/Cargo.toml | 9 +- gen/chat1-cli/README.md | 2 +- gen/chat1-cli/mkdocs.yml | 2 +- gen/chat1-cli/src/main.rs | 2 +- gen/chat1/Cargo.toml | 9 +- gen/chat1/README.md | 44 +-- gen/chat1/src/cmn.rs | 18 +- gen/chat1/src/lib.rs | 6 +- gen/classroom1-cli/Cargo.toml | 9 +- gen/classroom1-cli/README.md | 2 +- gen/classroom1-cli/mkdocs.yml | 2 +- gen/classroom1-cli/src/main.rs | 2 +- gen/classroom1/Cargo.toml | 9 +- gen/classroom1/README.md | 56 ++-- gen/classroom1/src/cmn.rs | 18 +- gen/classroom1/src/lib.rs | 6 +- gen/cloudasset1-cli/Cargo.toml | 9 +- gen/cloudasset1-cli/README.md | 2 +- gen/cloudasset1-cli/mkdocs.yml | 2 +- gen/cloudasset1-cli/src/main.rs | 2 +- gen/cloudasset1/Cargo.toml | 9 +- gen/cloudasset1/README.md | 48 +-- gen/cloudasset1/src/cmn.rs | 18 +- gen/cloudasset1/src/lib.rs | 6 +- gen/cloudasset1_beta1-cli/Cargo.toml | 9 +- gen/cloudasset1_beta1-cli/README.md | 2 +- gen/cloudasset1_beta1-cli/mkdocs.yml | 2 +- gen/cloudasset1_beta1-cli/src/main.rs | 2 +- gen/cloudasset1_beta1/Cargo.toml | 9 +- gen/cloudasset1_beta1/README.md | 46 +-- gen/cloudasset1_beta1/src/cmn.rs | 18 +- gen/cloudasset1_beta1/src/lib.rs | 6 +- gen/cloudbilling1-cli/Cargo.toml | 9 +- gen/cloudbilling1-cli/README.md | 2 +- gen/cloudbilling1-cli/mkdocs.yml | 2 +- gen/cloudbilling1-cli/src/main.rs | 2 +- gen/cloudbilling1/Cargo.toml | 9 +- gen/cloudbilling1/README.md | 50 +-- gen/cloudbilling1/src/cmn.rs | 18 +- gen/cloudbilling1/src/lib.rs | 6 +- gen/cloudbuild1-cli/Cargo.toml | 9 +- gen/cloudbuild1-cli/README.md | 2 +- gen/cloudbuild1-cli/mkdocs.yml | 2 +- gen/cloudbuild1-cli/src/main.rs | 2 +- gen/cloudbuild1/Cargo.toml | 9 +- gen/cloudbuild1/README.md | 46 +-- gen/cloudbuild1/src/cmn.rs | 18 +- gen/cloudbuild1/src/lib.rs | 6 +- gen/clouddebugger2-cli/Cargo.toml | 9 +- gen/clouddebugger2-cli/README.md | 2 +- gen/clouddebugger2-cli/mkdocs.yml | 2 +- gen/clouddebugger2-cli/src/main.rs | 2 +- gen/clouddebugger2/Cargo.toml | 9 +- gen/clouddebugger2/README.md | 44 +-- gen/clouddebugger2/src/cmn.rs | 18 +- gen/clouddebugger2/src/lib.rs | 6 +- gen/clouderrorreporting1_beta1-cli/Cargo.toml | 9 +- gen/clouderrorreporting1_beta1-cli/README.md | 2 +- gen/clouderrorreporting1_beta1-cli/mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/clouderrorreporting1_beta1/Cargo.toml | 9 +- gen/clouderrorreporting1_beta1/README.md | 42 +-- gen/clouderrorreporting1_beta1/src/cmn.rs | 18 +- gen/clouderrorreporting1_beta1/src/lib.rs | 6 +- gen/cloudfunctions1-cli/Cargo.toml | 9 +- gen/cloudfunctions1-cli/README.md | 2 +- gen/cloudfunctions1-cli/mkdocs.yml | 2 +- gen/cloudfunctions1-cli/src/main.rs | 2 +- gen/cloudfunctions1/Cargo.toml | 9 +- gen/cloudfunctions1/README.md | 46 +-- gen/cloudfunctions1/src/cmn.rs | 18 +- gen/cloudfunctions1/src/lib.rs | 6 +- gen/cloudidentity1-cli/Cargo.toml | 9 +- gen/cloudidentity1-cli/README.md | 2 +- gen/cloudidentity1-cli/mkdocs.yml | 2 +- gen/cloudidentity1-cli/src/main.rs | 2 +- gen/cloudidentity1/Cargo.toml | 9 +- gen/cloudidentity1/README.md | 44 +-- gen/cloudidentity1/src/cmn.rs | 18 +- gen/cloudidentity1/src/lib.rs | 6 +- gen/cloudiot1-cli/Cargo.toml | 9 +- gen/cloudiot1-cli/README.md | 2 +- gen/cloudiot1-cli/mkdocs.yml | 2 +- gen/cloudiot1-cli/src/main.rs | 2 +- gen/cloudiot1/Cargo.toml | 9 +- gen/cloudiot1/README.md | 42 +-- gen/cloudiot1/src/cmn.rs | 18 +- gen/cloudiot1/src/lib.rs | 6 +- gen/cloudkms1-cli/Cargo.toml | 9 +- gen/cloudkms1-cli/README.md | 2 +- gen/cloudkms1-cli/mkdocs.yml | 2 +- gen/cloudkms1-cli/src/main.rs | 2 +- gen/cloudkms1/Cargo.toml | 9 +- gen/cloudkms1/README.md | 42 +-- gen/cloudkms1/src/cmn.rs | 18 +- gen/cloudkms1/src/lib.rs | 6 +- gen/cloudkms1_beta1-cli/Cargo.toml | 9 +- gen/cloudkms1_beta1-cli/README.md | 2 +- gen/cloudkms1_beta1-cli/mkdocs.yml | 2 +- gen/cloudkms1_beta1-cli/src/main.rs | 2 +- gen/cloudkms1_beta1/Cargo.toml | 9 +- gen/cloudkms1_beta1/README.md | 42 +-- gen/cloudkms1_beta1/src/cmn.rs | 18 +- gen/cloudkms1_beta1/src/lib.rs | 6 +- gen/cloudlatencytest2-cli/Cargo.toml | 9 +- gen/cloudlatencytest2-cli/README.md | 2 +- gen/cloudlatencytest2-cli/mkdocs.yml | 2 +- gen/cloudlatencytest2-cli/src/main.rs | 2 +- gen/cloudlatencytest2/Cargo.toml | 9 +- gen/cloudlatencytest2/README.md | 42 +-- gen/cloudlatencytest2/src/cmn.rs | 18 +- gen/cloudlatencytest2/src/lib.rs | 6 +- gen/cloudmonitoring2_beta2-cli/Cargo.toml | 9 +- gen/cloudmonitoring2_beta2-cli/README.md | 2 +- gen/cloudmonitoring2_beta2-cli/mkdocs.yml | 2 +- gen/cloudmonitoring2_beta2-cli/src/main.rs | 2 +- gen/cloudmonitoring2_beta2/Cargo.toml | 9 +- gen/cloudmonitoring2_beta2/README.md | 50 +-- gen/cloudmonitoring2_beta2/src/cmn.rs | 18 +- gen/cloudmonitoring2_beta2/src/lib.rs | 6 +- gen/cloudprivatecatalog1_beta1-cli/Cargo.toml | 9 +- gen/cloudprivatecatalog1_beta1-cli/README.md | 2 +- gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/cloudprivatecatalog1_beta1/Cargo.toml | 9 +- gen/cloudprivatecatalog1_beta1/README.md | 46 +-- gen/cloudprivatecatalog1_beta1/src/cmn.rs | 18 +- gen/cloudprivatecatalog1_beta1/src/lib.rs | 6 +- .../Cargo.toml | 9 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 2 +- .../Cargo.toml | 9 +- .../README.md | 44 +-- .../src/cmn.rs | 18 +- .../src/lib.rs | 6 +- gen/cloudprofiler2-cli/Cargo.toml | 9 +- gen/cloudprofiler2-cli/README.md | 2 +- gen/cloudprofiler2-cli/mkdocs.yml | 2 +- gen/cloudprofiler2-cli/src/main.rs | 2 +- gen/cloudprofiler2/Cargo.toml | 9 +- gen/cloudprofiler2/README.md | 42 +-- gen/cloudprofiler2/src/cmn.rs | 18 +- gen/cloudprofiler2/src/lib.rs | 6 +- gen/cloudresourcemanager1-cli/Cargo.toml | 9 +- gen/cloudresourcemanager1-cli/README.md | 2 +- gen/cloudresourcemanager1-cli/mkdocs.yml | 2 +- gen/cloudresourcemanager1-cli/src/main.rs | 2 +- gen/cloudresourcemanager1/Cargo.toml | 9 +- gen/cloudresourcemanager1/README.md | 58 ++-- gen/cloudresourcemanager1/src/cmn.rs | 18 +- gen/cloudresourcemanager1/src/lib.rs | 6 +- .../Cargo.toml | 9 +- gen/cloudresourcemanager1_beta1-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/cloudresourcemanager1_beta1/Cargo.toml | 9 +- gen/cloudresourcemanager1_beta1/README.md | 48 +-- gen/cloudresourcemanager1_beta1/src/cmn.rs | 18 +- gen/cloudresourcemanager1_beta1/src/lib.rs | 6 +- gen/cloudresourcemanager2-cli/Cargo.toml | 9 +- gen/cloudresourcemanager2-cli/README.md | 2 +- gen/cloudresourcemanager2-cli/mkdocs.yml | 2 +- gen/cloudresourcemanager2-cli/src/main.rs | 2 +- gen/cloudresourcemanager2/Cargo.toml | 9 +- gen/cloudresourcemanager2/README.md | 48 +-- gen/cloudresourcemanager2/src/cmn.rs | 18 +- gen/cloudresourcemanager2/src/lib.rs | 6 +- gen/cloudscheduler1-cli/Cargo.toml | 9 +- gen/cloudscheduler1-cli/README.md | 2 +- gen/cloudscheduler1-cli/mkdocs.yml | 2 +- gen/cloudscheduler1-cli/src/main.rs | 2 +- gen/cloudscheduler1/Cargo.toml | 9 +- gen/cloudscheduler1/README.md | 42 +-- gen/cloudscheduler1/src/cmn.rs | 18 +- gen/cloudscheduler1/src/lib.rs | 6 +- gen/cloudscheduler1_beta1-cli/Cargo.toml | 9 +- gen/cloudscheduler1_beta1-cli/README.md | 2 +- gen/cloudscheduler1_beta1-cli/mkdocs.yml | 2 +- gen/cloudscheduler1_beta1-cli/src/main.rs | 2 +- gen/cloudscheduler1_beta1/Cargo.toml | 9 +- gen/cloudscheduler1_beta1/README.md | 42 +-- gen/cloudscheduler1_beta1/src/cmn.rs | 18 +- gen/cloudscheduler1_beta1/src/lib.rs | 6 +- gen/cloudshell1-cli/Cargo.toml | 9 +- gen/cloudshell1-cli/README.md | 2 +- gen/cloudshell1-cli/mkdocs.yml | 2 +- gen/cloudshell1-cli/src/main.rs | 2 +- gen/cloudshell1/Cargo.toml | 9 +- gen/cloudshell1/README.md | 44 +-- gen/cloudshell1/src/cmn.rs | 18 +- gen/cloudshell1/src/lib.rs | 6 +- gen/cloudtasks2-cli/Cargo.toml | 9 +- gen/cloudtasks2-cli/README.md | 2 +- gen/cloudtasks2-cli/mkdocs.yml | 2 +- gen/cloudtasks2-cli/src/main.rs | 2 +- gen/cloudtasks2/Cargo.toml | 9 +- gen/cloudtasks2/README.md | 42 +-- gen/cloudtasks2/src/cmn.rs | 18 +- gen/cloudtasks2/src/lib.rs | 6 +- gen/cloudtasks2_beta2-cli/Cargo.toml | 9 +- gen/cloudtasks2_beta2-cli/README.md | 2 +- gen/cloudtasks2_beta2-cli/mkdocs.yml | 2 +- gen/cloudtasks2_beta2-cli/src/main.rs | 2 +- gen/cloudtasks2_beta2/Cargo.toml | 9 +- gen/cloudtasks2_beta2/README.md | 42 +-- gen/cloudtasks2_beta2/src/cmn.rs | 18 +- gen/cloudtasks2_beta2/src/lib.rs | 6 +- gen/cloudtasks2_beta3-cli/Cargo.toml | 9 +- gen/cloudtasks2_beta3-cli/README.md | 2 +- gen/cloudtasks2_beta3-cli/mkdocs.yml | 2 +- gen/cloudtasks2_beta3-cli/src/main.rs | 2 +- gen/cloudtasks2_beta3/Cargo.toml | 9 +- gen/cloudtasks2_beta3/README.md | 42 +-- gen/cloudtasks2_beta3/src/cmn.rs | 18 +- gen/cloudtasks2_beta3/src/lib.rs | 6 +- gen/cloudtrace1-cli/Cargo.toml | 9 +- gen/cloudtrace1-cli/README.md | 2 +- gen/cloudtrace1-cli/mkdocs.yml | 2 +- gen/cloudtrace1-cli/src/main.rs | 2 +- gen/cloudtrace1/Cargo.toml | 9 +- gen/cloudtrace1/README.md | 42 +-- gen/cloudtrace1/src/cmn.rs | 18 +- gen/cloudtrace1/src/lib.rs | 6 +- gen/cloudtrace2-cli/Cargo.toml | 9 +- gen/cloudtrace2-cli/README.md | 2 +- gen/cloudtrace2-cli/mkdocs.yml | 2 +- gen/cloudtrace2-cli/src/main.rs | 2 +- gen/cloudtrace2/Cargo.toml | 9 +- gen/cloudtrace2/README.md | 42 +-- gen/cloudtrace2/src/cmn.rs | 18 +- gen/cloudtrace2/src/lib.rs | 6 +- gen/clouduseraccountsvm_beta-cli/Cargo.toml | 9 +- gen/clouduseraccountsvm_beta-cli/README.md | 2 +- gen/clouduseraccountsvm_beta-cli/mkdocs.yml | 2 +- gen/clouduseraccountsvm_beta-cli/src/main.rs | 2 +- gen/clouduseraccountsvm_beta/Cargo.toml | 9 +- gen/clouduseraccountsvm_beta/README.md | 52 ++-- gen/clouduseraccountsvm_beta/src/cmn.rs | 18 +- gen/clouduseraccountsvm_beta/src/lib.rs | 6 +- gen/commentanalyzer1_alpha1-cli/Cargo.toml | 9 +- gen/commentanalyzer1_alpha1-cli/README.md | 2 +- gen/commentanalyzer1_alpha1-cli/mkdocs.yml | 2 +- gen/commentanalyzer1_alpha1-cli/src/main.rs | 2 +- gen/commentanalyzer1_alpha1/Cargo.toml | 9 +- gen/commentanalyzer1_alpha1/README.md | 42 +-- gen/commentanalyzer1_alpha1/src/cmn.rs | 18 +- gen/commentanalyzer1_alpha1/src/lib.rs | 6 +- gen/composer1-cli/Cargo.toml | 9 +- gen/composer1-cli/README.md | 2 +- gen/composer1-cli/mkdocs.yml | 2 +- gen/composer1-cli/src/main.rs | 2 +- gen/composer1/Cargo.toml | 9 +- gen/composer1/README.md | 42 +-- gen/composer1/src/cmn.rs | 18 +- gen/composer1/src/lib.rs | 6 +- gen/compute1-cli/Cargo.toml | 9 +- gen/compute1-cli/README.md | 2 +- gen/compute1-cli/mkdocs.yml | 2 +- gen/compute1-cli/src/main.rs | 2 +- gen/compute1/Cargo.toml | 9 +- gen/compute1/README.md | 258 ++++++++-------- gen/compute1/src/cmn.rs | 18 +- gen/compute1/src/lib.rs | 6 +- gen/consumersurveys2-cli/Cargo.toml | 9 +- gen/consumersurveys2-cli/README.md | 2 +- gen/consumersurveys2-cli/mkdocs.yml | 2 +- gen/consumersurveys2-cli/src/main.rs | 2 +- gen/consumersurveys2/Cargo.toml | 9 +- gen/consumersurveys2/README.md | 50 +-- gen/consumersurveys2/src/cmn.rs | 18 +- gen/consumersurveys2/src/lib.rs | 6 +- gen/container1-cli/Cargo.toml | 9 +- gen/container1-cli/README.md | 2 +- gen/container1-cli/mkdocs.yml | 2 +- gen/container1-cli/src/main.rs | 2 +- gen/container1/Cargo.toml | 9 +- gen/container1/README.md | 42 +-- gen/container1/src/cmn.rs | 18 +- gen/container1/src/lib.rs | 6 +- gen/containeranalysis1_beta1-cli/Cargo.toml | 9 +- gen/containeranalysis1_beta1-cli/README.md | 2 +- gen/containeranalysis1_beta1-cli/mkdocs.yml | 2 +- gen/containeranalysis1_beta1-cli/src/main.rs | 2 +- gen/containeranalysis1_beta1/Cargo.toml | 9 +- gen/containeranalysis1_beta1/README.md | 42 +-- gen/containeranalysis1_beta1/src/cmn.rs | 18 +- gen/containeranalysis1_beta1/src/lib.rs | 6 +- gen/content2-cli/Cargo.toml | 9 +- gen/content2-cli/README.md | 2 +- gen/content2-cli/mkdocs.yml | 2 +- gen/content2-cli/src/main.rs | 2 +- gen/content2/Cargo.toml | 9 +- gen/content2/README.md | 82 ++--- gen/content2/src/cmn.rs | 18 +- gen/content2/src/lib.rs | 6 +- gen/content2_sandbox-cli/Cargo.toml | 9 +- gen/content2_sandbox-cli/README.md | 2 +- gen/content2_sandbox-cli/mkdocs.yml | 2 +- gen/content2_sandbox-cli/src/main.rs | 2 +- gen/content2_sandbox/Cargo.toml | 9 +- gen/content2_sandbox/README.md | 50 +-- gen/content2_sandbox/src/cmn.rs | 18 +- gen/content2_sandbox/src/lib.rs | 6 +- gen/coordinate1-cli/Cargo.toml | 9 +- gen/coordinate1-cli/README.md | 2 +- gen/coordinate1-cli/mkdocs.yml | 2 +- gen/coordinate1-cli/src/main.rs | 2 +- gen/coordinate1/Cargo.toml | 9 +- gen/coordinate1/README.md | 64 ++-- gen/coordinate1/src/cmn.rs | 18 +- gen/coordinate1/src/lib.rs | 6 +- gen/customsearch1-cli/Cargo.toml | 9 +- gen/customsearch1-cli/README.md | 2 +- gen/customsearch1-cli/mkdocs.yml | 2 +- gen/customsearch1-cli/src/main.rs | 2 +- gen/customsearch1/Cargo.toml | 9 +- gen/customsearch1/README.md | 42 +-- gen/customsearch1/src/cmn.rs | 18 +- gen/customsearch1/src/lib.rs | 6 +- gen/datafusion1_beta1-cli/Cargo.toml | 9 +- gen/datafusion1_beta1-cli/README.md | 2 +- gen/datafusion1_beta1-cli/mkdocs.yml | 2 +- gen/datafusion1_beta1-cli/src/main.rs | 2 +- gen/datafusion1_beta1/Cargo.toml | 9 +- gen/datafusion1_beta1/README.md | 42 +-- gen/datafusion1_beta1/src/cmn.rs | 18 +- gen/datafusion1_beta1/src/lib.rs | 6 +- gen/dataproc1-cli/Cargo.toml | 9 +- gen/dataproc1-cli/README.md | 2 +- gen/dataproc1-cli/mkdocs.yml | 2 +- gen/dataproc1-cli/src/main.rs | 2 +- gen/dataproc1/Cargo.toml | 9 +- gen/dataproc1/README.md | 42 +-- gen/dataproc1/src/cmn.rs | 18 +- gen/dataproc1/src/lib.rs | 6 +- gen/datastore1-cli/Cargo.toml | 9 +- gen/datastore1-cli/README.md | 2 +- gen/datastore1-cli/mkdocs.yml | 2 +- gen/datastore1-cli/src/main.rs | 2 +- gen/datastore1/Cargo.toml | 9 +- gen/datastore1/README.md | 42 +-- gen/datastore1/src/cmn.rs | 18 +- gen/datastore1/src/lib.rs | 6 +- gen/datastore1_beta3-cli/Cargo.toml | 9 +- gen/datastore1_beta3-cli/README.md | 2 +- gen/datastore1_beta3-cli/mkdocs.yml | 2 +- gen/datastore1_beta3-cli/src/main.rs | 2 +- gen/datastore1_beta3/Cargo.toml | 9 +- gen/datastore1_beta3/README.md | 42 +-- gen/datastore1_beta3/src/cmn.rs | 18 +- gen/datastore1_beta3/src/lib.rs | 6 +- gen/deploymentmanager2-cli/Cargo.toml | 9 +- gen/deploymentmanager2-cli/README.md | 2 +- gen/deploymentmanager2-cli/mkdocs.yml | 2 +- gen/deploymentmanager2-cli/src/main.rs | 2 +- gen/deploymentmanager2/Cargo.toml | 9 +- gen/deploymentmanager2/README.md | 60 ++-- gen/deploymentmanager2/src/cmn.rs | 18 +- gen/deploymentmanager2/src/lib.rs | 6 +- gen/deploymentmanager2_beta2-cli/Cargo.toml | 9 +- gen/deploymentmanager2_beta2-cli/README.md | 2 +- gen/deploymentmanager2_beta2-cli/mkdocs.yml | 2 +- gen/deploymentmanager2_beta2-cli/src/main.rs | 2 +- gen/deploymentmanager2_beta2/Cargo.toml | 9 +- gen/deploymentmanager2_beta2/README.md | 60 ++-- gen/deploymentmanager2_beta2/src/cmn.rs | 18 +- gen/deploymentmanager2_beta2/src/lib.rs | 6 +- gen/dfareporting2d8-cli/Cargo.toml | 9 +- gen/dfareporting2d8-cli/README.md | 2 +- gen/dfareporting2d8-cli/mkdocs.yml | 2 +- gen/dfareporting2d8-cli/src/main.rs | 2 +- gen/dfareporting2d8/Cargo.toml | 9 +- gen/dfareporting2d8/README.md | 286 ++++++++--------- gen/dfareporting2d8/src/cmn.rs | 18 +- gen/dfareporting2d8/src/lib.rs | 6 +- gen/dfareporting3-cli/Cargo.toml | 9 +- gen/dfareporting3-cli/README.md | 2 +- gen/dfareporting3-cli/mkdocs.yml | 2 +- gen/dfareporting3-cli/src/main.rs | 2 +- gen/dfareporting3/Cargo.toml | 9 +- gen/dfareporting3/README.md | 284 ++++++++--------- gen/dfareporting3/src/cmn.rs | 18 +- gen/dfareporting3/src/lib.rs | 6 +- gen/dfareporting3d2-cli/Cargo.toml | 9 +- gen/dfareporting3d2-cli/README.md | 2 +- gen/dfareporting3d2-cli/mkdocs.yml | 2 +- gen/dfareporting3d2-cli/src/main.rs | 2 +- gen/dfareporting3d2/Cargo.toml | 9 +- gen/dfareporting3d2/README.md | 288 +++++++++--------- gen/dfareporting3d2/src/cmn.rs | 18 +- gen/dfareporting3d2/src/lib.rs | 6 +- gen/dfareporting3d3-cli/Cargo.toml | 9 +- gen/dfareporting3d3-cli/README.md | 2 +- gen/dfareporting3d3-cli/mkdocs.yml | 2 +- gen/dfareporting3d3-cli/src/main.rs | 2 +- gen/dfareporting3d3/Cargo.toml | 9 +- gen/dfareporting3d3/README.md | 284 ++++++++--------- gen/dfareporting3d3/src/cmn.rs | 18 +- gen/dfareporting3d3/src/lib.rs | 6 +- gen/dialogflow2-cli/Cargo.toml | 9 +- gen/dialogflow2-cli/README.md | 2 +- gen/dialogflow2-cli/mkdocs.yml | 2 +- gen/dialogflow2-cli/src/main.rs | 2 +- gen/dialogflow2/Cargo.toml | 9 +- gen/dialogflow2/README.md | 42 +-- gen/dialogflow2/src/cmn.rs | 18 +- gen/dialogflow2/src/lib.rs | 6 +- gen/dialogflow2_beta1-cli/Cargo.toml | 9 +- gen/dialogflow2_beta1-cli/README.md | 2 +- gen/dialogflow2_beta1-cli/mkdocs.yml | 2 +- gen/dialogflow2_beta1-cli/src/main.rs | 2 +- gen/dialogflow2_beta1/Cargo.toml | 9 +- gen/dialogflow2_beta1/README.md | 42 +-- gen/dialogflow2_beta1/src/cmn.rs | 18 +- gen/dialogflow2_beta1/src/lib.rs | 6 +- gen/digitalassetlinks1-cli/Cargo.toml | 9 +- gen/digitalassetlinks1-cli/README.md | 2 +- gen/digitalassetlinks1-cli/mkdocs.yml | 2 +- gen/digitalassetlinks1-cli/src/main.rs | 2 +- gen/digitalassetlinks1/Cargo.toml | 9 +- gen/digitalassetlinks1/README.md | 46 +-- gen/digitalassetlinks1/src/cmn.rs | 18 +- gen/digitalassetlinks1/src/lib.rs | 6 +- gen/discovery1-cli/Cargo.toml | 9 +- gen/discovery1-cli/README.md | 2 +- gen/discovery1-cli/mkdocs.yml | 2 +- gen/discovery1-cli/src/main.rs | 2 +- gen/discovery1/Cargo.toml | 9 +- gen/discovery1/README.md | 42 +-- gen/discovery1/src/cmn.rs | 18 +- gen/discovery1/src/lib.rs | 6 +- gen/dlp2-cli/Cargo.toml | 9 +- gen/dlp2-cli/README.md | 2 +- gen/dlp2-cli/mkdocs.yml | 2 +- gen/dlp2-cli/src/main.rs | 2 +- gen/dlp2/Cargo.toml | 9 +- gen/dlp2/README.md | 46 +-- gen/dlp2/src/cmn.rs | 18 +- gen/dlp2/src/lib.rs | 6 +- gen/dlp2_beta1-cli/Cargo.toml | 9 +- gen/dlp2_beta1-cli/README.md | 2 +- gen/dlp2_beta1-cli/mkdocs.yml | 2 +- gen/dlp2_beta1-cli/src/main.rs | 2 +- gen/dlp2_beta1/Cargo.toml | 9 +- gen/dlp2_beta1/README.md | 50 +-- gen/dlp2_beta1/src/cmn.rs | 18 +- gen/dlp2_beta1/src/lib.rs | 6 +- gen/dns1-cli/Cargo.toml | 9 +- gen/dns1-cli/README.md | 2 +- gen/dns1-cli/mkdocs.yml | 2 +- gen/dns1-cli/src/main.rs | 2 +- gen/dns1/Cargo.toml | 9 +- gen/dns1/README.md | 62 ++-- gen/dns1/src/cmn.rs | 18 +- gen/dns1/src/lib.rs | 6 +- gen/doubleclickbidmanager1-cli/Cargo.toml | 9 +- gen/doubleclickbidmanager1-cli/README.md | 2 +- gen/doubleclickbidmanager1-cli/mkdocs.yml | 2 +- gen/doubleclickbidmanager1-cli/src/main.rs | 2 +- gen/doubleclickbidmanager1/Cargo.toml | 9 +- gen/doubleclickbidmanager1/README.md | 52 ++-- gen/doubleclickbidmanager1/src/cmn.rs | 18 +- gen/doubleclickbidmanager1/src/lib.rs | 6 +- gen/doubleclicksearch2-cli/Cargo.toml | 9 +- gen/doubleclicksearch2-cli/README.md | 2 +- gen/doubleclicksearch2-cli/mkdocs.yml | 2 +- gen/doubleclicksearch2-cli/src/main.rs | 2 +- gen/doubleclicksearch2/Cargo.toml | 9 +- gen/doubleclicksearch2/README.md | 54 ++-- gen/doubleclicksearch2/src/cmn.rs | 18 +- gen/doubleclicksearch2/src/lib.rs | 6 +- gen/drive2-cli/Cargo.toml | 9 +- gen/drive2-cli/README.md | 2 +- gen/drive2-cli/mkdocs.yml | 2 +- gen/drive2-cli/src/main.rs | 2 +- gen/drive2/Cargo.toml | 9 +- gen/drive2/README.md | 114 +++---- gen/drive2/src/cmn.rs | 18 +- gen/drive2/src/lib.rs | 6 +- gen/drive3-cli/Cargo.toml | 9 +- gen/drive3-cli/README.md | 2 +- gen/drive3-cli/mkdocs.yml | 2 +- gen/drive3-cli/src/main.rs | 2 +- gen/drive3/Cargo.toml | 9 +- gen/drive3/README.md | 100 +++--- gen/drive3/src/cmn.rs | 18 +- gen/drive3/src/lib.rs | 6 +- gen/driveactivity2-cli/Cargo.toml | 9 +- gen/driveactivity2-cli/README.md | 2 +- gen/driveactivity2-cli/mkdocs.yml | 2 +- gen/driveactivity2-cli/src/main.rs | 2 +- gen/driveactivity2/Cargo.toml | 9 +- gen/driveactivity2/README.md | 42 +-- gen/driveactivity2/src/cmn.rs | 18 +- gen/driveactivity2/src/lib.rs | 6 +- gen/factchecktools1_alpha1-cli/Cargo.toml | 9 +- gen/factchecktools1_alpha1-cli/README.md | 2 +- gen/factchecktools1_alpha1-cli/mkdocs.yml | 2 +- gen/factchecktools1_alpha1-cli/src/main.rs | 2 +- gen/factchecktools1_alpha1/Cargo.toml | 9 +- gen/factchecktools1_alpha1/README.md | 44 +-- gen/factchecktools1_alpha1/src/cmn.rs | 18 +- gen/factchecktools1_alpha1/src/lib.rs | 6 +- gen/fcm1-cli/Cargo.toml | 9 +- gen/fcm1-cli/README.md | 2 +- gen/fcm1-cli/mkdocs.yml | 2 +- gen/fcm1-cli/src/main.rs | 2 +- gen/fcm1/Cargo.toml | 9 +- gen/fcm1/README.md | 42 +-- gen/fcm1/src/cmn.rs | 18 +- gen/fcm1/src/lib.rs | 6 +- gen/file1-cli/Cargo.toml | 9 +- gen/file1-cli/README.md | 2 +- gen/file1-cli/mkdocs.yml | 2 +- gen/file1-cli/src/main.rs | 2 +- gen/file1/Cargo.toml | 9 +- gen/file1/README.md | 42 +-- gen/file1/src/cmn.rs | 18 +- gen/file1/src/lib.rs | 6 +- gen/file1_beta1-cli/Cargo.toml | 9 +- gen/file1_beta1-cli/README.md | 2 +- gen/file1_beta1-cli/mkdocs.yml | 2 +- gen/file1_beta1-cli/src/main.rs | 2 +- gen/file1_beta1/Cargo.toml | 9 +- gen/file1_beta1/README.md | 42 +-- gen/file1_beta1/src/cmn.rs | 18 +- gen/file1_beta1/src/lib.rs | 6 +- gen/firebase1_beta1-cli/Cargo.toml | 9 +- gen/firebase1_beta1-cli/README.md | 2 +- gen/firebase1_beta1-cli/mkdocs.yml | 2 +- gen/firebase1_beta1-cli/src/main.rs | 2 +- gen/firebase1_beta1/Cargo.toml | 9 +- gen/firebase1_beta1/README.md | 48 +-- gen/firebase1_beta1/src/cmn.rs | 18 +- gen/firebase1_beta1/src/lib.rs | 6 +- gen/firebasedynamiclinks1-cli/Cargo.toml | 9 +- gen/firebasedynamiclinks1-cli/README.md | 2 +- gen/firebasedynamiclinks1-cli/mkdocs.yml | 2 +- gen/firebasedynamiclinks1-cli/src/main.rs | 2 +- gen/firebasedynamiclinks1/Cargo.toml | 9 +- gen/firebasedynamiclinks1/README.md | 52 ++-- gen/firebasedynamiclinks1/src/cmn.rs | 18 +- gen/firebasedynamiclinks1/src/lib.rs | 6 +- gen/firebasehosting1_beta1-cli/Cargo.toml | 9 +- gen/firebasehosting1_beta1-cli/README.md | 2 +- gen/firebasehosting1_beta1-cli/mkdocs.yml | 2 +- gen/firebasehosting1_beta1-cli/src/main.rs | 2 +- gen/firebasehosting1_beta1/Cargo.toml | 9 +- gen/firebasehosting1_beta1/README.md | 42 +-- gen/firebasehosting1_beta1/src/cmn.rs | 18 +- gen/firebasehosting1_beta1/src/lib.rs | 6 +- gen/firebaseremoteconfig1-cli/Cargo.toml | 9 +- gen/firebaseremoteconfig1-cli/README.md | 2 +- gen/firebaseremoteconfig1-cli/mkdocs.yml | 2 +- gen/firebaseremoteconfig1-cli/src/main.rs | 2 +- gen/firebaseremoteconfig1/Cargo.toml | 9 +- gen/firebaseremoteconfig1/README.md | 42 +-- gen/firebaseremoteconfig1/src/cmn.rs | 18 +- gen/firebaseremoteconfig1/src/lib.rs | 6 +- gen/firestore1-cli/Cargo.toml | 9 +- gen/firestore1-cli/README.md | 2 +- gen/firestore1-cli/mkdocs.yml | 2 +- gen/firestore1-cli/src/main.rs | 2 +- gen/firestore1/Cargo.toml | 9 +- gen/firestore1/README.md | 42 +-- gen/firestore1/src/cmn.rs | 18 +- gen/firestore1/src/lib.rs | 6 +- gen/firestore1_beta1-cli/Cargo.toml | 9 +- gen/firestore1_beta1-cli/README.md | 2 +- gen/firestore1_beta1-cli/mkdocs.yml | 2 +- gen/firestore1_beta1-cli/src/main.rs | 2 +- gen/firestore1_beta1/Cargo.toml | 9 +- gen/firestore1_beta1/README.md | 42 +-- gen/firestore1_beta1/src/cmn.rs | 18 +- gen/firestore1_beta1/src/lib.rs | 6 +- gen/fitness1-cli/Cargo.toml | 9 +- gen/fitness1-cli/README.md | 2 +- gen/fitness1-cli/mkdocs.yml | 2 +- gen/fitness1-cli/src/main.rs | 2 +- gen/fitness1/Cargo.toml | 9 +- gen/fitness1/README.md | 42 +-- gen/fitness1/src/cmn.rs | 18 +- gen/fitness1/src/lib.rs | 6 +- gen/fusiontables2-cli/Cargo.toml | 9 +- gen/fusiontables2-cli/README.md | 2 +- gen/fusiontables2-cli/mkdocs.yml | 2 +- gen/fusiontables2-cli/src/main.rs | 2 +- gen/fusiontables2/Cargo.toml | 9 +- gen/fusiontables2/README.md | 70 ++--- gen/fusiontables2/src/cmn.rs | 18 +- gen/fusiontables2/src/lib.rs | 6 +- gen/games1-cli/Cargo.toml | 9 +- gen/games1-cli/README.md | 2 +- gen/games1-cli/mkdocs.yml | 2 +- gen/games1-cli/src/main.rs | 2 +- gen/games1/Cargo.toml | 9 +- gen/games1/README.md | 86 +++--- gen/games1/src/cmn.rs | 18 +- gen/games1/src/lib.rs | 6 +- .../Cargo.toml | 9 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 2 +- .../Cargo.toml | 9 +- .../README.md | 54 ++-- .../src/cmn.rs | 18 +- .../src/lib.rs | 6 +- .../Cargo.toml | 9 +- gen/gamesmanagement1_management-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 2 +- gen/gamesmanagement1_management/Cargo.toml | 9 +- gen/gamesmanagement1_management/README.md | 58 ++-- gen/gamesmanagement1_management/src/cmn.rs | 18 +- gen/gamesmanagement1_management/src/lib.rs | 6 +- gen/gan1_beta1-cli/Cargo.toml | 9 +- gen/gan1_beta1-cli/README.md | 2 +- gen/gan1_beta1-cli/mkdocs.yml | 2 +- gen/gan1_beta1-cli/src/main.rs | 2 +- gen/gan1_beta1/Cargo.toml | 9 +- gen/gan1_beta1/README.md | 64 ++-- gen/gan1_beta1/src/cmn.rs | 18 +- gen/gan1_beta1/src/lib.rs | 6 +- gen/genomics1-cli/Cargo.toml | 9 +- gen/genomics1-cli/README.md | 2 +- gen/genomics1-cli/mkdocs.yml | 2 +- gen/genomics1-cli/src/main.rs | 2 +- gen/genomics1/Cargo.toml | 9 +- gen/genomics1/README.md | 44 +-- gen/genomics1/src/cmn.rs | 18 +- gen/genomics1/src/lib.rs | 6 +- gen/groupsmigration1-cli/Cargo.toml | 9 +- gen/groupsmigration1-cli/README.md | 2 +- gen/groupsmigration1-cli/mkdocs.yml | 2 +- gen/groupsmigration1-cli/src/main.rs | 2 +- gen/groupsmigration1/Cargo.toml | 9 +- gen/groupsmigration1/README.md | 44 +-- gen/groupsmigration1/src/cmn.rs | 18 +- gen/groupsmigration1/src/lib.rs | 6 +- gen/groupssettings1-cli/Cargo.toml | 9 +- gen/groupssettings1-cli/README.md | 2 +- gen/groupssettings1-cli/mkdocs.yml | 2 +- gen/groupssettings1-cli/src/main.rs | 2 +- gen/groupssettings1/Cargo.toml | 9 +- gen/groupssettings1/README.md | 42 +-- gen/groupssettings1/src/cmn.rs | 18 +- gen/groupssettings1/src/lib.rs | 6 +- gen/healthcare1_beta1-cli/Cargo.toml | 9 +- gen/healthcare1_beta1-cli/README.md | 2 +- gen/healthcare1_beta1-cli/mkdocs.yml | 2 +- gen/healthcare1_beta1-cli/src/main.rs | 2 +- gen/healthcare1_beta1/Cargo.toml | 9 +- gen/healthcare1_beta1/README.md | 42 +-- gen/healthcare1_beta1/src/cmn.rs | 18 +- gen/healthcare1_beta1/src/lib.rs | 6 +- gen/iam1-cli/Cargo.toml | 9 +- gen/iam1-cli/README.md | 2 +- gen/iam1-cli/mkdocs.yml | 2 +- gen/iam1-cli/src/main.rs | 2 +- gen/iam1/Cargo.toml | 9 +- gen/iam1/README.md | 54 ++-- gen/iam1/src/cmn.rs | 18 +- gen/iam1/src/lib.rs | 6 +- gen/iamcredentials1-cli/Cargo.toml | 9 +- gen/iamcredentials1-cli/README.md | 2 +- gen/iamcredentials1-cli/mkdocs.yml | 2 +- gen/iamcredentials1-cli/src/main.rs | 2 +- gen/iamcredentials1/Cargo.toml | 9 +- gen/iamcredentials1/README.md | 42 +-- gen/iamcredentials1/src/cmn.rs | 18 +- gen/iamcredentials1/src/lib.rs | 6 +- gen/iap1-cli/Cargo.toml | 9 +- gen/iap1-cli/README.md | 2 +- gen/iap1-cli/mkdocs.yml | 2 +- gen/iap1-cli/src/main.rs | 2 +- gen/iap1/Cargo.toml | 9 +- gen/iap1/README.md | 46 +-- gen/iap1/src/cmn.rs | 18 +- gen/iap1/src/lib.rs | 6 +- gen/iap1_beta1-cli/Cargo.toml | 9 +- gen/iap1_beta1-cli/README.md | 2 +- gen/iap1_beta1-cli/mkdocs.yml | 2 +- gen/iap1_beta1-cli/src/main.rs | 2 +- gen/iap1_beta1/Cargo.toml | 9 +- gen/iap1_beta1/README.md | 46 +-- gen/iap1_beta1/src/cmn.rs | 18 +- gen/iap1_beta1/src/lib.rs | 6 +- gen/identitytoolkit3-cli/Cargo.toml | 9 +- gen/identitytoolkit3-cli/README.md | 2 +- gen/identitytoolkit3-cli/mkdocs.yml | 2 +- gen/identitytoolkit3-cli/src/main.rs | 2 +- gen/identitytoolkit3/Cargo.toml | 9 +- gen/identitytoolkit3/README.md | 44 +-- gen/identitytoolkit3/src/cmn.rs | 18 +- gen/identitytoolkit3/src/lib.rs | 6 +- gen/indexing3-cli/Cargo.toml | 9 +- gen/indexing3-cli/README.md | 2 +- gen/indexing3-cli/mkdocs.yml | 2 +- gen/indexing3-cli/src/main.rs | 2 +- gen/indexing3/Cargo.toml | 9 +- gen/indexing3/README.md | 44 +-- gen/indexing3/src/cmn.rs | 18 +- gen/indexing3/src/lib.rs | 6 +- gen/jobs3-cli/Cargo.toml | 9 +- gen/jobs3-cli/README.md | 2 +- gen/jobs3-cli/mkdocs.yml | 2 +- gen/jobs3-cli/src/main.rs | 2 +- gen/jobs3/Cargo.toml | 9 +- gen/jobs3/README.md | 42 +-- gen/jobs3/src/cmn.rs | 18 +- gen/jobs3/src/lib.rs | 6 +- gen/language1-cli/Cargo.toml | 9 +- gen/language1-cli/README.md | 2 +- gen/language1-cli/mkdocs.yml | 2 +- gen/language1-cli/src/main.rs | 2 +- gen/language1/Cargo.toml | 9 +- gen/language1/README.md | 44 +-- gen/language1/src/cmn.rs | 18 +- gen/language1/src/lib.rs | 6 +- gen/language1_beta1-cli/Cargo.toml | 9 +- gen/language1_beta1-cli/README.md | 2 +- gen/language1_beta1-cli/mkdocs.yml | 2 +- gen/language1_beta1-cli/src/main.rs | 2 +- gen/language1_beta1/Cargo.toml | 9 +- gen/language1_beta1/README.md | 44 +-- gen/language1_beta1/src/cmn.rs | 18 +- gen/language1_beta1/src/lib.rs | 6 +- gen/libraryagent1-cli/Cargo.toml | 9 +- gen/libraryagent1-cli/README.md | 2 +- gen/libraryagent1-cli/mkdocs.yml | 2 +- gen/libraryagent1-cli/src/main.rs | 2 +- gen/libraryagent1/Cargo.toml | 9 +- gen/libraryagent1/README.md | 42 +-- gen/libraryagent1/src/cmn.rs | 18 +- gen/libraryagent1/src/lib.rs | 6 +- gen/licensing1-cli/Cargo.toml | 9 +- gen/licensing1-cli/README.md | 2 +- gen/licensing1-cli/mkdocs.yml | 2 +- gen/licensing1-cli/src/main.rs | 2 +- gen/licensing1/Cargo.toml | 9 +- gen/licensing1/README.md | 44 +-- gen/licensing1/src/cmn.rs | 18 +- gen/licensing1/src/lib.rs | 6 +- gen/logging2-cli/Cargo.toml | 9 +- gen/logging2-cli/README.md | 2 +- gen/logging2-cli/mkdocs.yml | 2 +- gen/logging2-cli/src/main.rs | 2 +- gen/logging2/Cargo.toml | 9 +- gen/logging2/README.md | 60 ++-- gen/logging2/src/cmn.rs | 18 +- gen/logging2/src/lib.rs | 6 +- gen/logging2_beta1-cli/Cargo.toml | 9 +- gen/logging2_beta1-cli/README.md | 2 +- gen/logging2_beta1-cli/mkdocs.yml | 2 +- gen/logging2_beta1-cli/src/main.rs | 2 +- gen/logging2_beta1/Cargo.toml | 9 +- gen/logging2_beta1/README.md | 48 +-- gen/logging2_beta1/src/cmn.rs | 18 +- gen/logging2_beta1/src/lib.rs | 6 +- gen/manager1_beta2-cli/Cargo.toml | 9 +- gen/manager1_beta2-cli/README.md | 2 +- gen/manager1_beta2-cli/mkdocs.yml | 2 +- gen/manager1_beta2-cli/src/main.rs | 2 +- gen/manager1_beta2/Cargo.toml | 9 +- gen/manager1_beta2/README.md | 48 +-- gen/manager1_beta2/src/cmn.rs | 18 +- gen/manager1_beta2/src/lib.rs | 6 +- gen/manufacturers1-cli/Cargo.toml | 9 +- gen/manufacturers1-cli/README.md | 2 +- gen/manufacturers1-cli/mkdocs.yml | 2 +- gen/manufacturers1-cli/src/main.rs | 2 +- gen/manufacturers1/Cargo.toml | 9 +- gen/manufacturers1/README.md | 42 +-- gen/manufacturers1/src/cmn.rs | 18 +- gen/manufacturers1/src/lib.rs | 6 +- gen/mirror1-cli/Cargo.toml | 9 +- gen/mirror1-cli/README.md | 2 +- gen/mirror1-cli/mkdocs.yml | 2 +- gen/mirror1-cli/src/main.rs | 2 +- gen/mirror1/Cargo.toml | 9 +- gen/mirror1/README.md | 70 ++--- gen/mirror1/src/cmn.rs | 18 +- gen/mirror1/src/lib.rs | 6 +- gen/ml1-cli/Cargo.toml | 9 +- gen/ml1-cli/README.md | 2 +- gen/ml1-cli/mkdocs.yml | 2 +- gen/ml1-cli/src/main.rs | 2 +- gen/ml1/Cargo.toml | 9 +- gen/ml1/README.md | 42 +-- gen/ml1/src/cmn.rs | 18 +- gen/ml1/src/lib.rs | 6 +- gen/monitoring3-cli/Cargo.toml | 9 +- gen/monitoring3-cli/README.md | 2 +- gen/monitoring3-cli/mkdocs.yml | 2 +- gen/monitoring3-cli/src/main.rs | 2 +- gen/monitoring3/Cargo.toml | 9 +- gen/monitoring3/README.md | 46 +-- gen/monitoring3/src/cmn.rs | 18 +- gen/monitoring3/src/lib.rs | 6 +- gen/oslogin1-cli/Cargo.toml | 9 +- gen/oslogin1-cli/README.md | 2 +- gen/oslogin1-cli/mkdocs.yml | 2 +- gen/oslogin1-cli/src/main.rs | 2 +- gen/oslogin1/Cargo.toml | 9 +- gen/oslogin1/README.md | 42 +-- gen/oslogin1/src/cmn.rs | 18 +- gen/oslogin1/src/lib.rs | 6 +- gen/oslogin1_beta-cli/Cargo.toml | 9 +- gen/oslogin1_beta-cli/README.md | 2 +- gen/oslogin1_beta-cli/mkdocs.yml | 2 +- gen/oslogin1_beta-cli/src/main.rs | 2 +- gen/oslogin1_beta/Cargo.toml | 9 +- gen/oslogin1_beta/README.md | 42 +-- gen/oslogin1_beta/src/cmn.rs | 18 +- gen/oslogin1_beta/src/lib.rs | 6 +- gen/pagespeedonline2-cli/Cargo.toml | 9 +- gen/pagespeedonline2-cli/README.md | 2 +- gen/pagespeedonline2-cli/mkdocs.yml | 2 +- gen/pagespeedonline2-cli/src/main.rs | 2 +- gen/pagespeedonline2/Cargo.toml | 9 +- gen/pagespeedonline2/README.md | 42 +-- gen/pagespeedonline2/src/cmn.rs | 18 +- gen/pagespeedonline2/src/lib.rs | 6 +- gen/pagespeedonline4-cli/Cargo.toml | 9 +- gen/pagespeedonline4-cli/README.md | 2 +- gen/pagespeedonline4-cli/mkdocs.yml | 2 +- gen/pagespeedonline4-cli/src/main.rs | 2 +- gen/pagespeedonline4/Cargo.toml | 9 +- gen/pagespeedonline4/README.md | 42 +-- gen/pagespeedonline4/src/cmn.rs | 18 +- gen/pagespeedonline4/src/lib.rs | 6 +- gen/pagespeedonline5-cli/Cargo.toml | 9 +- gen/pagespeedonline5-cli/README.md | 2 +- gen/pagespeedonline5-cli/mkdocs.yml | 2 +- gen/pagespeedonline5-cli/src/main.rs | 2 +- gen/pagespeedonline5/Cargo.toml | 9 +- gen/pagespeedonline5/README.md | 42 +-- gen/pagespeedonline5/src/cmn.rs | 18 +- gen/pagespeedonline5/src/lib.rs | 6 +- gen/partners2-cli/Cargo.toml | 9 +- gen/partners2-cli/README.md | 2 +- gen/partners2-cli/mkdocs.yml | 2 +- gen/partners2-cli/src/main.rs | 2 +- gen/partners2/Cargo.toml | 9 +- gen/partners2/README.md | 68 ++--- gen/partners2/src/cmn.rs | 18 +- gen/partners2/src/lib.rs | 6 +- gen/people1-cli/Cargo.toml | 9 +- gen/people1-cli/README.md | 2 +- gen/people1-cli/mkdocs.yml | 2 +- gen/people1-cli/src/main.rs | 2 +- gen/people1/Cargo.toml | 9 +- gen/people1/README.md | 46 +-- gen/people1/src/cmn.rs | 18 +- gen/people1/src/lib.rs | 6 +- gen/photoslibrary1-cli/Cargo.toml | 9 +- gen/photoslibrary1-cli/README.md | 2 +- gen/photoslibrary1-cli/mkdocs.yml | 2 +- gen/photoslibrary1-cli/src/main.rs | 2 +- gen/photoslibrary1/Cargo.toml | 9 +- gen/photoslibrary1/README.md | 50 +-- gen/photoslibrary1/src/cmn.rs | 18 +- gen/photoslibrary1/src/lib.rs | 6 +- gen/playcustomapp1-cli/Cargo.toml | 9 +- gen/playcustomapp1-cli/README.md | 2 +- gen/playcustomapp1-cli/mkdocs.yml | 2 +- gen/playcustomapp1-cli/src/main.rs | 2 +- gen/playcustomapp1/Cargo.toml | 9 +- gen/playcustomapp1/README.md | 44 +-- gen/playcustomapp1/src/cmn.rs | 18 +- gen/playcustomapp1/src/lib.rs | 6 +- gen/playmoviespartner1-cli/Cargo.toml | 9 +- gen/playmoviespartner1-cli/README.md | 2 +- gen/playmoviespartner1-cli/mkdocs.yml | 2 +- gen/playmoviespartner1-cli/src/main.rs | 2 +- gen/playmoviespartner1/Cargo.toml | 9 +- gen/playmoviespartner1/README.md | 42 +-- gen/playmoviespartner1/src/cmn.rs | 18 +- gen/playmoviespartner1/src/lib.rs | 6 +- gen/plus1-cli/Cargo.toml | 9 +- gen/plus1-cli/README.md | 2 +- gen/plus1-cli/mkdocs.yml | 2 +- gen/plus1-cli/src/main.rs | 2 +- gen/plus1/Cargo.toml | 9 +- gen/plus1/README.md | 50 +-- gen/plus1/src/cmn.rs | 18 +- gen/plus1/src/lib.rs | 6 +- gen/plusdomains1-cli/Cargo.toml | 9 +- gen/plusdomains1-cli/README.md | 2 +- gen/plusdomains1-cli/mkdocs.yml | 2 +- gen/plusdomains1-cli/src/main.rs | 2 +- gen/plusdomains1/Cargo.toml | 9 +- gen/plusdomains1/README.md | 64 ++-- gen/plusdomains1/src/cmn.rs | 18 +- gen/plusdomains1/src/lib.rs | 6 +- gen/prediction1d6-cli/Cargo.toml | 9 +- gen/prediction1d6-cli/README.md | 2 +- gen/prediction1d6-cli/mkdocs.yml | 2 +- gen/prediction1d6-cli/src/main.rs | 2 +- gen/prediction1d6/Cargo.toml | 9 +- gen/prediction1d6/README.md | 44 +-- gen/prediction1d6/src/cmn.rs | 18 +- gen/prediction1d6/src/lib.rs | 6 +- gen/proximitybeacon1_beta1-cli/Cargo.toml | 9 +- gen/proximitybeacon1_beta1-cli/README.md | 2 +- gen/proximitybeacon1_beta1-cli/mkdocs.yml | 2 +- gen/proximitybeacon1_beta1-cli/src/main.rs | 2 +- gen/proximitybeacon1_beta1/Cargo.toml | 9 +- gen/proximitybeacon1_beta1/README.md | 52 ++-- gen/proximitybeacon1_beta1/src/cmn.rs | 18 +- gen/proximitybeacon1_beta1/src/lib.rs | 6 +- gen/pubsub1-cli/Cargo.toml | 9 +- gen/pubsub1-cli/README.md | 2 +- gen/pubsub1-cli/mkdocs.yml | 2 +- gen/pubsub1-cli/src/main.rs | 2 +- gen/pubsub1/Cargo.toml | 9 +- gen/pubsub1/README.md | 42 +-- gen/pubsub1/src/cmn.rs | 18 +- gen/pubsub1/src/lib.rs | 6 +- gen/pubsub1_beta2-cli/Cargo.toml | 9 +- gen/pubsub1_beta2-cli/README.md | 2 +- gen/pubsub1_beta2-cli/mkdocs.yml | 2 +- gen/pubsub1_beta2-cli/src/main.rs | 2 +- gen/pubsub1_beta2/Cargo.toml | 9 +- gen/pubsub1_beta2/README.md | 42 +-- gen/pubsub1_beta2/src/cmn.rs | 18 +- gen/pubsub1_beta2/src/lib.rs | 6 +- gen/qpxexpress1-cli/Cargo.toml | 9 +- gen/qpxexpress1-cli/README.md | 2 +- gen/qpxexpress1-cli/mkdocs.yml | 2 +- gen/qpxexpress1-cli/src/main.rs | 2 +- gen/qpxexpress1/Cargo.toml | 9 +- gen/qpxexpress1/README.md | 42 +-- gen/qpxexpress1/src/cmn.rs | 18 +- gen/qpxexpress1/src/lib.rs | 6 +- gen/redis1-cli/Cargo.toml | 9 +- gen/redis1-cli/README.md | 2 +- gen/redis1-cli/mkdocs.yml | 2 +- gen/redis1-cli/src/main.rs | 2 +- gen/redis1/Cargo.toml | 9 +- gen/redis1/README.md | 42 +-- gen/redis1/src/cmn.rs | 18 +- gen/redis1/src/lib.rs | 6 +- gen/remotebuildexecution2-cli/Cargo.toml | 9 +- gen/remotebuildexecution2-cli/README.md | 2 +- gen/remotebuildexecution2-cli/mkdocs.yml | 2 +- gen/remotebuildexecution2-cli/src/main.rs | 2 +- gen/remotebuildexecution2/Cargo.toml | 9 +- gen/remotebuildexecution2/README.md | 50 +-- gen/remotebuildexecution2/src/cmn.rs | 18 +- gen/remotebuildexecution2/src/lib.rs | 6 +- gen/replicapool1_beta2-cli/Cargo.toml | 9 +- gen/replicapool1_beta2-cli/README.md | 2 +- gen/replicapool1_beta2-cli/mkdocs.yml | 2 +- gen/replicapool1_beta2-cli/src/main.rs | 2 +- gen/replicapool1_beta2/Cargo.toml | 9 +- gen/replicapool1_beta2/README.md | 46 +-- gen/replicapool1_beta2/src/cmn.rs | 18 +- gen/replicapool1_beta2/src/lib.rs | 6 +- gen/replicapoolupdater1_beta1-cli/Cargo.toml | 9 +- gen/replicapoolupdater1_beta1-cli/README.md | 2 +- gen/replicapoolupdater1_beta1-cli/mkdocs.yml | 2 +- gen/replicapoolupdater1_beta1-cli/src/main.rs | 2 +- gen/replicapoolupdater1_beta1/Cargo.toml | 9 +- gen/replicapoolupdater1_beta1/README.md | 46 +-- gen/replicapoolupdater1_beta1/src/cmn.rs | 18 +- gen/replicapoolupdater1_beta1/src/lib.rs | 6 +- gen/reseller1_sandbox-cli/Cargo.toml | 9 +- gen/reseller1_sandbox-cli/README.md | 2 +- gen/reseller1_sandbox-cli/mkdocs.yml | 2 +- gen/reseller1_sandbox-cli/src/main.rs | 2 +- gen/reseller1_sandbox/Cargo.toml | 9 +- gen/reseller1_sandbox/README.md | 48 +-- gen/reseller1_sandbox/src/cmn.rs | 18 +- gen/reseller1_sandbox/src/lib.rs | 6 +- gen/resourceviews1_beta2-cli/Cargo.toml | 9 +- gen/resourceviews1_beta2-cli/README.md | 2 +- gen/resourceviews1_beta2-cli/mkdocs.yml | 2 +- gen/resourceviews1_beta2-cli/src/main.rs | 2 +- gen/resourceviews1_beta2/Cargo.toml | 9 +- gen/resourceviews1_beta2/README.md | 44 +-- gen/resourceviews1_beta2/src/cmn.rs | 18 +- gen/resourceviews1_beta2/src/lib.rs | 6 +- gen/run1-cli/Cargo.toml | 9 +- gen/run1-cli/README.md | 2 +- gen/run1-cli/mkdocs.yml | 2 +- gen/run1-cli/src/main.rs | 2 +- gen/run1/Cargo.toml | 9 +- gen/run1/README.md | 42 +-- gen/run1/src/cmn.rs | 18 +- gen/run1/src/lib.rs | 6 +- gen/runtimeconfig1-cli/Cargo.toml | 9 +- gen/runtimeconfig1-cli/README.md | 2 +- gen/runtimeconfig1-cli/mkdocs.yml | 2 +- gen/runtimeconfig1-cli/src/main.rs | 2 +- gen/runtimeconfig1/Cargo.toml | 9 +- gen/runtimeconfig1/README.md | 44 +-- gen/runtimeconfig1/src/cmn.rs | 18 +- gen/runtimeconfig1/src/lib.rs | 6 +- gen/runtimeconfig1_beta1-cli/Cargo.toml | 9 +- gen/runtimeconfig1_beta1-cli/README.md | 2 +- gen/runtimeconfig1_beta1-cli/mkdocs.yml | 2 +- gen/runtimeconfig1_beta1-cli/src/main.rs | 2 +- gen/runtimeconfig1_beta1/Cargo.toml | 9 +- gen/runtimeconfig1_beta1/README.md | 42 +-- gen/runtimeconfig1_beta1/src/cmn.rs | 18 +- gen/runtimeconfig1_beta1/src/lib.rs | 6 +- gen/safebrowsing4-cli/Cargo.toml | 9 +- gen/safebrowsing4-cli/README.md | 2 +- gen/safebrowsing4-cli/mkdocs.yml | 2 +- gen/safebrowsing4-cli/src/main.rs | 2 +- gen/safebrowsing4/Cargo.toml | 9 +- gen/safebrowsing4/README.md | 56 ++-- gen/safebrowsing4/src/cmn.rs | 18 +- gen/safebrowsing4/src/lib.rs | 6 +- gen/searchconsole1-cli/Cargo.toml | 9 +- gen/searchconsole1-cli/README.md | 2 +- gen/searchconsole1-cli/mkdocs.yml | 2 +- gen/searchconsole1-cli/src/main.rs | 2 +- gen/searchconsole1/Cargo.toml | 9 +- gen/searchconsole1/README.md | 42 +-- gen/searchconsole1/src/cmn.rs | 18 +- gen/searchconsole1/src/lib.rs | 6 +- gen/securitycenter1-cli/Cargo.toml | 9 +- gen/securitycenter1-cli/README.md | 2 +- gen/securitycenter1-cli/mkdocs.yml | 2 +- gen/securitycenter1-cli/src/main.rs | 2 +- gen/securitycenter1/Cargo.toml | 9 +- gen/securitycenter1/README.md | 42 +-- gen/securitycenter1/src/cmn.rs | 18 +- gen/securitycenter1/src/lib.rs | 6 +- gen/servicebroker1-cli/Cargo.toml | 9 +- gen/servicebroker1-cli/README.md | 2 +- gen/servicebroker1-cli/mkdocs.yml | 2 +- gen/servicebroker1-cli/src/main.rs | 2 +- gen/servicebroker1/Cargo.toml | 9 +- gen/servicebroker1/README.md | 46 +-- gen/servicebroker1/src/cmn.rs | 18 +- gen/servicebroker1/src/lib.rs | 6 +- gen/servicecontrol1-cli/Cargo.toml | 9 +- gen/servicecontrol1-cli/README.md | 2 +- gen/servicecontrol1-cli/mkdocs.yml | 2 +- gen/servicecontrol1-cli/src/main.rs | 2 +- gen/servicecontrol1/Cargo.toml | 9 +- gen/servicecontrol1/README.md | 42 +-- gen/servicecontrol1/src/cmn.rs | 18 +- gen/servicecontrol1/src/lib.rs | 6 +- gen/serviceregistryalpha-cli/Cargo.toml | 9 +- gen/serviceregistryalpha-cli/README.md | 2 +- gen/serviceregistryalpha-cli/mkdocs.yml | 2 +- gen/serviceregistryalpha-cli/src/main.rs | 2 +- gen/serviceregistryalpha/Cargo.toml | 9 +- gen/serviceregistryalpha/README.md | 48 +-- gen/serviceregistryalpha/src/cmn.rs | 18 +- gen/serviceregistryalpha/src/lib.rs | 6 +- gen/sheets4-cli/Cargo.toml | 9 +- gen/sheets4-cli/README.md | 2 +- gen/sheets4-cli/mkdocs.yml | 2 +- gen/sheets4-cli/src/main.rs | 2 +- gen/sheets4/Cargo.toml | 9 +- gen/sheets4/README.md | 44 +-- gen/sheets4/src/cmn.rs | 18 +- gen/sheets4/src/lib.rs | 6 +- gen/siteverification1-cli/Cargo.toml | 9 +- gen/siteverification1-cli/README.md | 2 +- gen/siteverification1-cli/mkdocs.yml | 2 +- gen/siteverification1-cli/src/main.rs | 2 +- gen/siteverification1/Cargo.toml | 9 +- gen/siteverification1/README.md | 42 +-- gen/siteverification1/src/cmn.rs | 18 +- gen/siteverification1/src/lib.rs | 6 +- gen/sourcerepo1-cli/Cargo.toml | 9 +- gen/sourcerepo1-cli/README.md | 2 +- gen/sourcerepo1-cli/mkdocs.yml | 2 +- gen/sourcerepo1-cli/src/main.rs | 2 +- gen/sourcerepo1/Cargo.toml | 9 +- gen/sourcerepo1/README.md | 42 +-- gen/sourcerepo1/src/cmn.rs | 18 +- gen/sourcerepo1/src/lib.rs | 6 +- gen/spanner1-cli/Cargo.toml | 9 +- gen/spanner1-cli/README.md | 2 +- gen/spanner1-cli/mkdocs.yml | 2 +- gen/spanner1-cli/src/main.rs | 2 +- gen/spanner1/Cargo.toml | 9 +- gen/spanner1/README.md | 42 +-- gen/spanner1/src/cmn.rs | 18 +- gen/spanner1/src/lib.rs | 6 +- gen/spectrum1_explorer-cli/Cargo.toml | 9 +- gen/spectrum1_explorer-cli/README.md | 2 +- gen/spectrum1_explorer-cli/mkdocs.yml | 2 +- gen/spectrum1_explorer-cli/src/main.rs | 2 +- gen/spectrum1_explorer/Cargo.toml | 9 +- gen/spectrum1_explorer/README.md | 42 +-- gen/spectrum1_explorer/src/cmn.rs | 18 +- gen/spectrum1_explorer/src/lib.rs | 6 +- gen/speech1-cli/Cargo.toml | 9 +- gen/speech1-cli/README.md | 2 +- gen/speech1-cli/mkdocs.yml | 2 +- gen/speech1-cli/src/main.rs | 2 +- gen/speech1/Cargo.toml | 9 +- gen/speech1/README.md | 48 +-- gen/speech1/src/cmn.rs | 18 +- gen/speech1/src/lib.rs | 6 +- gen/speech1_beta1-cli/Cargo.toml | 9 +- gen/speech1_beta1-cli/README.md | 2 +- gen/speech1_beta1-cli/mkdocs.yml | 2 +- gen/speech1_beta1-cli/src/main.rs | 2 +- gen/speech1_beta1/Cargo.toml | 9 +- gen/speech1_beta1/README.md | 46 +-- gen/speech1_beta1/src/cmn.rs | 18 +- gen/speech1_beta1/src/lib.rs | 6 +- gen/sqladmin1_beta4-cli/Cargo.toml | 9 +- gen/sqladmin1_beta4-cli/README.md | 2 +- gen/sqladmin1_beta4-cli/mkdocs.yml | 2 +- gen/sqladmin1_beta4-cli/src/main.rs | 2 +- gen/sqladmin1_beta4/Cargo.toml | 9 +- gen/sqladmin1_beta4/README.md | 70 ++--- gen/sqladmin1_beta4/src/cmn.rs | 18 +- gen/sqladmin1_beta4/src/lib.rs | 6 +- gen/storage1-cli/Cargo.toml | 9 +- gen/storage1-cli/README.md | 2 +- gen/storage1-cli/mkdocs.yml | 2 +- gen/storage1-cli/src/main.rs | 2 +- gen/storage1/src/cmn.rs | 18 +- gen/storagetransfer1-cli/Cargo.toml | 9 +- gen/storagetransfer1-cli/README.md | 2 +- gen/storagetransfer1-cli/mkdocs.yml | 2 +- gen/storagetransfer1-cli/src/main.rs | 2 +- gen/storagetransfer1/Cargo.toml | 9 +- gen/storagetransfer1/README.md | 52 ++-- gen/storagetransfer1/src/cmn.rs | 18 +- gen/storagetransfer1/src/lib.rs | 6 +- gen/surveys2-cli/Cargo.toml | 9 +- gen/surveys2-cli/README.md | 2 +- gen/surveys2-cli/mkdocs.yml | 2 +- gen/surveys2-cli/src/main.rs | 2 +- gen/surveys2/Cargo.toml | 9 +- gen/surveys2/README.md | 48 +-- gen/surveys2/src/cmn.rs | 18 +- gen/surveys2/src/lib.rs | 6 +- gen/tagmanager1-cli/Cargo.toml | 9 +- gen/tagmanager1-cli/README.md | 2 +- gen/tagmanager1-cli/mkdocs.yml | 2 +- gen/tagmanager1-cli/src/main.rs | 2 +- gen/tagmanager1/Cargo.toml | 9 +- gen/tagmanager1/README.md | 44 +-- gen/tagmanager1/src/cmn.rs | 18 +- gen/tagmanager1/src/lib.rs | 6 +- gen/tagmanager2-cli/Cargo.toml | 9 +- gen/tagmanager2-cli/README.md | 2 +- gen/tagmanager2-cli/mkdocs.yml | 2 +- gen/tagmanager2-cli/src/main.rs | 2 +- gen/tagmanager2/Cargo.toml | 9 +- gen/tagmanager2/README.md | 44 +-- gen/tagmanager2/src/cmn.rs | 18 +- gen/tagmanager2/src/lib.rs | 6 +- gen/taskqueue1_beta2-cli/Cargo.toml | 9 +- gen/taskqueue1_beta2-cli/README.md | 2 +- gen/taskqueue1_beta2-cli/mkdocs.yml | 2 +- gen/taskqueue1_beta2-cli/src/main.rs | 2 +- gen/taskqueue1_beta2/Cargo.toml | 9 +- gen/taskqueue1_beta2/README.md | 46 +-- gen/taskqueue1_beta2/src/cmn.rs | 18 +- gen/taskqueue1_beta2/src/lib.rs | 6 +- gen/tasks1-cli/Cargo.toml | 9 +- gen/tasks1-cli/README.md | 2 +- gen/tasks1-cli/mkdocs.yml | 2 +- gen/tasks1-cli/src/main.rs | 2 +- gen/tasks1/Cargo.toml | 9 +- gen/tasks1/README.md | 46 +-- gen/tasks1/src/cmn.rs | 18 +- gen/tasks1/src/lib.rs | 6 +- gen/testing1-cli/Cargo.toml | 9 +- gen/testing1-cli/README.md | 2 +- gen/testing1-cli/mkdocs.yml | 2 +- gen/testing1-cli/src/main.rs | 2 +- gen/testing1/Cargo.toml | 9 +- gen/testing1/README.md | 48 +-- gen/testing1/src/cmn.rs | 18 +- gen/testing1/src/lib.rs | 6 +- gen/texttospeech1-cli/Cargo.toml | 9 +- gen/texttospeech1-cli/README.md | 2 +- gen/texttospeech1-cli/mkdocs.yml | 2 +- gen/texttospeech1-cli/src/main.rs | 2 +- gen/texttospeech1/Cargo.toml | 9 +- gen/texttospeech1/README.md | 46 +-- gen/texttospeech1/src/cmn.rs | 18 +- gen/texttospeech1/src/lib.rs | 6 +- gen/tpu1-cli/Cargo.toml | 9 +- gen/tpu1-cli/README.md | 2 +- gen/tpu1-cli/mkdocs.yml | 2 +- gen/tpu1-cli/src/main.rs | 2 +- gen/tpu1/Cargo.toml | 9 +- gen/tpu1/README.md | 42 +-- gen/tpu1/src/cmn.rs | 18 +- gen/tpu1/src/lib.rs | 6 +- gen/tpu1_alpha1-cli/Cargo.toml | 9 +- gen/tpu1_alpha1-cli/README.md | 2 +- gen/tpu1_alpha1-cli/mkdocs.yml | 2 +- gen/tpu1_alpha1-cli/src/main.rs | 2 +- gen/tpu1_alpha1/Cargo.toml | 9 +- gen/tpu1_alpha1/README.md | 42 +-- gen/tpu1_alpha1/src/cmn.rs | 18 +- gen/tpu1_alpha1/src/lib.rs | 6 +- gen/translate2-cli/Cargo.toml | 9 +- gen/translate2-cli/README.md | 2 +- gen/translate2-cli/mkdocs.yml | 2 +- gen/translate2-cli/src/main.rs | 2 +- gen/translate2/Cargo.toml | 9 +- gen/translate2/README.md | 46 +-- gen/translate2/src/cmn.rs | 18 +- gen/translate2/src/lib.rs | 6 +- gen/urlshortener1-cli/Cargo.toml | 9 +- gen/urlshortener1-cli/README.md | 2 +- gen/urlshortener1-cli/mkdocs.yml | 2 +- gen/urlshortener1-cli/src/main.rs | 2 +- gen/urlshortener1/Cargo.toml | 9 +- gen/urlshortener1/README.md | 44 +-- gen/urlshortener1/src/cmn.rs | 18 +- gen/urlshortener1/src/lib.rs | 6 +- gen/vault1-cli/Cargo.toml | 9 +- gen/vault1-cli/README.md | 2 +- gen/vault1-cli/mkdocs.yml | 2 +- gen/vault1-cli/src/main.rs | 2 +- gen/vault1/Cargo.toml | 9 +- gen/vault1/README.md | 44 +-- gen/vault1/src/cmn.rs | 18 +- gen/vault1/src/lib.rs | 6 +- gen/videointelligence1-cli/Cargo.toml | 9 +- gen/videointelligence1-cli/README.md | 2 +- gen/videointelligence1-cli/mkdocs.yml | 2 +- gen/videointelligence1-cli/src/main.rs | 2 +- gen/videointelligence1/Cargo.toml | 9 +- gen/videointelligence1/README.md | 46 +-- gen/videointelligence1/src/cmn.rs | 18 +- gen/videointelligence1/src/lib.rs | 6 +- gen/videointelligence1_beta1-cli/Cargo.toml | 9 +- gen/videointelligence1_beta1-cli/README.md | 2 +- gen/videointelligence1_beta1-cli/mkdocs.yml | 2 +- gen/videointelligence1_beta1-cli/src/main.rs | 2 +- gen/videointelligence1_beta1/Cargo.toml | 9 +- gen/videointelligence1_beta1/README.md | 42 +-- gen/videointelligence1_beta1/src/cmn.rs | 18 +- gen/videointelligence1_beta1/src/lib.rs | 6 +- gen/vision1-cli/Cargo.toml | 9 +- gen/vision1-cli/README.md | 2 +- gen/vision1-cli/mkdocs.yml | 2 +- gen/vision1-cli/src/main.rs | 2 +- gen/vision1/Cargo.toml | 9 +- gen/vision1/README.md | 54 ++-- gen/vision1/src/cmn.rs | 18 +- gen/vision1/src/lib.rs | 6 +- gen/webfonts1-cli/Cargo.toml | 9 +- gen/webfonts1-cli/README.md | 2 +- gen/webfonts1-cli/mkdocs.yml | 2 +- gen/webfonts1-cli/src/main.rs | 2 +- gen/webfonts1/Cargo.toml | 9 +- gen/webfonts1/README.md | 44 +-- gen/webfonts1/src/cmn.rs | 18 +- gen/webfonts1/src/lib.rs | 6 +- gen/webmasters3-cli/Cargo.toml | 9 +- gen/webmasters3-cli/README.md | 2 +- gen/webmasters3-cli/mkdocs.yml | 2 +- gen/webmasters3-cli/src/main.rs | 2 +- gen/webmasters3/Cargo.toml | 9 +- gen/webmasters3/README.md | 46 +-- gen/webmasters3/src/cmn.rs | 18 +- gen/webmasters3/src/lib.rs | 6 +- gen/youtube3-cli/Cargo.toml | 9 +- gen/youtube3-cli/README.md | 2 +- gen/youtube3-cli/mkdocs.yml | 2 +- gen/youtube3-cli/src/main.rs | 2 +- gen/youtube3/Cargo.toml | 9 +- gen/youtube3/README.md | 154 +++++----- gen/youtube3/src/cmn.rs | 18 +- gen/youtube3/src/lib.rs | 6 +- gen/youtubereporting1-cli/Cargo.toml | 9 +- gen/youtubereporting1-cli/README.md | 2 +- gen/youtubereporting1-cli/mkdocs.yml | 2 +- gen/youtubereporting1-cli/src/main.rs | 2 +- gen/youtubereporting1/Cargo.toml | 9 +- gen/youtubereporting1/README.md | 52 ++-- gen/youtubereporting1/src/cmn.rs | 18 +- gen/youtubereporting1/src/lib.rs | 6 +- 1565 files changed, 10716 insertions(+), 9543 deletions(-) diff --git a/gen/abusiveexperiencereport1-cli/Cargo.toml b/gen/abusiveexperiencereport1-cli/Cargo.toml index e44a20ced9..c833adc06b 100644 --- a/gen/abusiveexperiencereport1-cli/Cargo.toml +++ b/gen/abusiveexperiencereport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-abusiveexperiencereport1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Abusive Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/abusiveexperiencereport1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-abusiveexperiencereport1] path = "../abusiveexperiencereport1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/abusiveexperiencereport1-cli/README.md b/gen/abusiveexperiencereport1-cli/README.md index 95afa1cea8..50527dd89e 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Abusive Experience Report* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash abusiveexperiencereport1 [options] diff --git a/gen/abusiveexperiencereport1-cli/mkdocs.yml b/gen/abusiveexperiencereport1-cli/mkdocs.yml index 153bc91925..8fb82358ce 100644 --- a/gen/abusiveexperiencereport1-cli/mkdocs.yml +++ b/gen/abusiveexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Abusive Experience Report v1.0.10+20190624 +site_name: Abusive Experience Report v1.0.11+20190624 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 b4822decd9..08817eceaa 100644 --- a/gen/abusiveexperiencereport1-cli/src/main.rs +++ b/gen/abusiveexperiencereport1-cli/src/main.rs @@ -317,7 +317,7 @@ fn main() { let mut app = App::new("abusiveexperiencereport1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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("url") diff --git a/gen/abusiveexperiencereport1/Cargo.toml b/gen/abusiveexperiencereport1/Cargo.toml index 0cb1a68290..c8e198f24c 100644 --- a/gen/abusiveexperiencereport1/Cargo.toml +++ b/gen/abusiveexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-abusiveexperiencereport1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Abusive Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/abusiveexperiencereport1" homepage = "https://developers.google.com/abusive-experience-report/" -documentation = "https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624" +documentation = "https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624" license = "MIT" keywords = ["abusiveexperiencerep", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/abusiveexperiencereport1/README.md b/gen/abusiveexperiencereport1/README.md index 389d8980f7..543076cb57 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Abusive Experience Report* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_abusiveexperiencereport1/struct.AbusiveExperienceReport.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/struct.AbusiveExperienceReport.html) ... * sites - * [*get*](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/struct.SiteGetCall.html) + * [*get*](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/struct.SiteGetCall.html) * violating sites - * [*list*](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/struct.ViolatingSiteListCall.html) + * [*list*](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/struct.ViolatingSiteListCall.html) @@ -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/1.0.10+20190624/google_abusiveexperiencereport1/struct.AbusiveExperienceReport.html)** +* **[Hub](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/struct.AbusiveExperienceReport.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.Part.html)** + * **[Parts](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_abusiveexperiencereport1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html) 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/1.0.11+20190624/google_abusiveexperiencereport1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_abusiveexperiencereport1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-abusiveexperiencereport1/1.0.10+20190624/google_abusiveexperiencereport1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.ResponseResult.html) 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/1.0.10+20190624/google_abusiveexperiencereport1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_abusiveexperiencereport1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-abusiveexperiencereport1/1.0.11+20190624/google_abusiveexperiencereport1/trait.RequestValue.html) are 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/cmn.rs b/gen/abusiveexperiencereport1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/abusiveexperiencereport1/src/cmn.rs +++ b/gen/abusiveexperiencereport1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/abusiveexperiencereport1/src/lib.rs b/gen/abusiveexperiencereport1/src/lib.rs index 77f85c86ea..063ea61682 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Abusive Experience Report* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Abusive Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/abusive-experience-report/). @@ -319,7 +319,7 @@ impl<'a, C, A> AbusiveExperienceReport AbusiveExperienceReport { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://abusiveexperiencereport.googleapis.com/".to_string(), _root_url: "https://abusiveexperiencereport.googleapis.com/".to_string(), } @@ -333,7 +333,7 @@ impl<'a, C, A> AbusiveExperienceReport } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/acceleratedmobilepageurl1-cli/Cargo.toml b/gen/acceleratedmobilepageurl1-cli/Cargo.toml index fbc35a8cb8..0008a6b9d8 100644 --- a/gen/acceleratedmobilepageurl1-cli/Cargo.toml +++ b/gen/acceleratedmobilepageurl1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-acceleratedmobilepageurl1-cli" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with acceleratedmobilepageurl (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/acceleratedmobilepageurl1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-acceleratedmobilepageurl1] path = "../acceleratedmobilepageurl1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" diff --git a/gen/acceleratedmobilepageurl1-cli/README.md b/gen/acceleratedmobilepageurl1-cli/README.md index cb5dcceff0..278b7c45dc 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 *20190619*. The CLI is at version *1.0.10*. +This documentation was generated from the *acceleratedmobilepageurl* API at revision *20190619*. The CLI is at version *1.0.11*. ```bash acceleratedmobilepageurl1 [options] diff --git a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml index ed49f4606b..8353992aff 100644 --- a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml +++ b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: acceleratedmobilepageurl v1.0.10+20190619 +site_name: acceleratedmobilepageurl v1.0.11+20190619 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 a1f603979e..aba0a83457 100644 --- a/gen/acceleratedmobilepageurl1-cli/src/main.rs +++ b/gen/acceleratedmobilepageurl1-cli/src/main.rs @@ -260,7 +260,7 @@ fn main() { let mut app = App::new("acceleratedmobilepageurl1") .author("Sebastian Thiel ") - .version("1.0.10+20190619") + .version("1.0.11+20190619") .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") diff --git a/gen/acceleratedmobilepageurl1/Cargo.toml b/gen/acceleratedmobilepageurl1/Cargo.toml index c529b5963c..0b48c2875b 100644 --- a/gen/acceleratedmobilepageurl1/Cargo.toml +++ b/gen/acceleratedmobilepageurl1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-acceleratedmobilepageurl1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with acceleratedmobilepageurl (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/acceleratedmobilepageurl1" homepage = "https://developers.google.com/amp/cache/" -documentation = "https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619" +documentation = "https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619" license = "MIT" keywords = ["acceleratedmobilepag", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/acceleratedmobilepageurl1/README.md b/gen/acceleratedmobilepageurl1/README.md index 5043da67f0..4a7db9ce59 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *acceleratedmobilepageurl* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190619/google_acceleratedmobilepageurl1/struct.Acceleratedmobilepageurl.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/struct.Acceleratedmobilepageurl.html) ... -* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/struct.AmpUrl.html) - * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/struct.AmpUrlBatchGetCall.html) +* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/struct.AmpUrl.html) + * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/struct.AmpUrlBatchGetCall.html) @@ -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/1.0.10+20190619/google_acceleratedmobilepageurl1/struct.Acceleratedmobilepageurl.html)** +* **[Hub](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/struct.Acceleratedmobilepageurl.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.Part.html)** + * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190619/google_acceleratedmobilepageurl1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html) 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/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-acceleratedmobilepageurl1/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.ResponseResult.html) 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/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190619/google_acceleratedmobilepageurl1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-acceleratedmobilepageurl1/1.0.11+20190619/google_acceleratedmobilepageurl1/trait.RequestValue.html) are 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/cmn.rs b/gen/acceleratedmobilepageurl1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/acceleratedmobilepageurl1/src/cmn.rs +++ b/gen/acceleratedmobilepageurl1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/acceleratedmobilepageurl1/src/lib.rs b/gen/acceleratedmobilepageurl1/src/lib.rs index 6db71c8a10..2b63c9d20f 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *acceleratedmobilepageurl* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *acceleratedmobilepageurl* *v1* API can be found at the //! [official documentation site](https://developers.google.com/amp/cache/). @@ -307,7 +307,7 @@ impl<'a, C, A> Acceleratedmobilepageurl Acceleratedmobilepageurl { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://acceleratedmobilepageurl.googleapis.com/".to_string(), _root_url: "https://acceleratedmobilepageurl.googleapis.com/".to_string(), } @@ -318,7 +318,7 @@ impl<'a, C, A> Acceleratedmobilepageurl } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accessapproval1_beta1-cli/Cargo.toml b/gen/accessapproval1_beta1-cli/Cargo.toml index 9e49961848..9ccfb30fa2 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 = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/accessapproval1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-accessapproval1_beta1] path = "../accessapproval1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/accessapproval1_beta1-cli/README.md b/gen/accessapproval1_beta1-cli/README.md index 88b71247bc..7909519366 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Access Approval* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash accessapproval1-beta1 [options] diff --git a/gen/accessapproval1_beta1-cli/mkdocs.yml b/gen/accessapproval1_beta1-cli/mkdocs.yml index a350d7b970..3d209573d9 100644 --- a/gen/accessapproval1_beta1-cli/mkdocs.yml +++ b/gen/accessapproval1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Approval v1.0.10+20190628 +site_name: Access Approval v1.0.11+20190628 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 6c26e1fc0e..779a1c5293 100644 --- a/gen/accessapproval1_beta1-cli/src/main.rs +++ b/gen/accessapproval1_beta1-cli/src/main.rs @@ -2003,7 +2003,7 @@ fn main() { let mut app = App::new("accessapproval1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 8ad51e435e..d781bf0c93 100644 --- a/gen/accessapproval1_beta1/Cargo.toml +++ b/gen/accessapproval1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accessapproval1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/accessapproval1_beta1" homepage = "https://cloud.google.com/access-approval/docs" -documentation = "https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628" +documentation = "https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628" license = "MIT" keywords = ["accessapproval", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/accessapproval1_beta1/README.md b/gen/accessapproval1_beta1/README.md index c861f0aa12..924ca96b7d 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Access Approval* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_accessapproval1_beta1/struct.AccessApproval.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.AccessApproval.html) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestApproveCall.html), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestDismisCall.html), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestGetCall.html), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestListCall.html), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.FolderGetAccessApprovalSettingCall.html) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.FolderUpdateAccessApprovalSettingCall.html) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestApproveCall.html), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestDismisCall.html), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestGetCall.html), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.FolderApprovalRequestListCall.html), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.FolderGetAccessApprovalSettingCall.html) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.FolderUpdateAccessApprovalSettingCall.html) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestApproveCall.html), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestDismisCall.html), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestGetCall.html), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestListCall.html), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.OrganizationGetAccessApprovalSettingCall.html) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.OrganizationUpdateAccessApprovalSettingCall.html) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestApproveCall.html), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestDismisCall.html), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestGetCall.html), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.OrganizationApprovalRequestListCall.html), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.OrganizationGetAccessApprovalSettingCall.html) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.OrganizationUpdateAccessApprovalSettingCall.html) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestApproveCall.html), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestDismisCall.html), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestGetCall.html), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestListCall.html), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.ProjectGetAccessApprovalSettingCall.html) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/struct.ProjectUpdateAccessApprovalSettingCall.html) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestApproveCall.html), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestDismisCall.html), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestGetCall.html), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.ProjectApprovalRequestListCall.html), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.ProjectGetAccessApprovalSettingCall.html) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.ProjectUpdateAccessApprovalSettingCall.html) @@ -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/1.0.10+20190628/google_accessapproval1_beta1/struct.AccessApproval.html)** +* **[Hub](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/struct.AccessApproval.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/enum.Result.html) 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/1.0.10+20190628/google_accessapproval1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_accessapproval1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.CallBuilder.html) 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/1.0.11+20190628/google_accessapproval1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_accessapproval1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-accessapproval1_beta1/1.0.10+20190628/google_accessapproval1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.ResponseResult.html) 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/1.0.10+20190628/google_accessapproval1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_accessapproval1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_accessapproval1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-accessapproval1_beta1/1.0.11+20190628/google_accessapproval1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/accessapproval1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/accessapproval1_beta1/src/cmn.rs +++ b/gen/accessapproval1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/accessapproval1_beta1/src/lib.rs b/gen/accessapproval1_beta1/src/lib.rs index 0655f2dfb4..ee06157f4e 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Access Approval* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Access Approval* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/access-approval/docs). @@ -341,7 +341,7 @@ impl<'a, C, A> AccessApproval AccessApproval { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://accessapproval.googleapis.com/".to_string(), _root_url: "https://accessapproval.googleapis.com/".to_string(), } @@ -358,7 +358,7 @@ impl<'a, C, A> AccessApproval } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accesscontextmanager1-cli/Cargo.toml b/gen/accesscontextmanager1-cli/Cargo.toml index c9c5e875fc..ba94c76e97 100644 --- a/gen/accesscontextmanager1-cli/Cargo.toml +++ b/gen/accesscontextmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accesscontextmanager1-cli" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/accesscontextmanager1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-accesscontextmanager1] path = "../accesscontextmanager1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" diff --git a/gen/accesscontextmanager1-cli/README.md b/gen/accesscontextmanager1-cli/README.md index 7ba2817b84..6463691d5e 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 *20190626*. The CLI is at version *1.0.10*. +This documentation was generated from the *Access Context Manager* API at revision *20190626*. The CLI is at version *1.0.11*. ```bash accesscontextmanager1 [options] diff --git a/gen/accesscontextmanager1-cli/mkdocs.yml b/gen/accesscontextmanager1-cli/mkdocs.yml index d9d4772668..c4299287fb 100644 --- a/gen/accesscontextmanager1-cli/mkdocs.yml +++ b/gen/accesscontextmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v1.0.10+20190626 +site_name: Access Context Manager v1.0.11+20190626 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 4b6c631b29..33a99746ff 100644 --- a/gen/accesscontextmanager1-cli/src/main.rs +++ b/gen/accesscontextmanager1-cli/src/main.rs @@ -2066,7 +2066,7 @@ fn main() { let mut app = App::new("accesscontextmanager1") .author("Sebastian Thiel ") - .version("1.0.10+20190626") + .version("1.0.11+20190626") .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 5853f59489..744fa22c6c 100644 --- a/gen/accesscontextmanager1/Cargo.toml +++ b/gen/accesscontextmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/accesscontextmanager1" homepage = "https://cloud.google.com/access-context-manager/docs/reference/rest/" -documentation = "https://docs.rs/google-accesscontextmanager1/1.0.10+20190626" +documentation = "https://docs.rs/google-accesscontextmanager1/1.0.11+20190626" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/accesscontextmanager1/README.md b/gen/accesscontextmanager1/README.md index 812f409160..5bae259dbc 100644 --- a/gen/accesscontextmanager1/README.md +++ b/gen/accesscontextmanager1/README.md @@ -5,18 +5,18 @@ 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Access Context Manager* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190626/google_accesscontextmanager1/struct.AccessContextManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessContextManager.html) ... -* [access policies](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicy.html) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelCreateCall.html), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelDeleteCall.html), [*access levels get*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelGetCall.html), [*access levels list*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelListCall.html), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelPatchCall.html), [*create*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyCreateCall.html), [*delete*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyDeleteCall.html), [*get*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyGetCall.html), [*list*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyListCall.html), [*patch*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyPatchCall.html), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterCreateCall.html), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterDeleteCall.html), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterGetCall.html), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterListCall.html) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterPatchCall.html) -* [operations](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/struct.OperationListCall.html) +* [access policies](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicy.html) + * [*access levels create*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelCreateCall.html), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelDeleteCall.html), [*access levels get*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelGetCall.html), [*access levels list*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelListCall.html), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyAccessLevelPatchCall.html), [*create*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyCreateCall.html), [*delete*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyDeleteCall.html), [*get*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyGetCall.html), [*list*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyListCall.html), [*patch*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyPatchCall.html), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterCreateCall.html), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterDeleteCall.html), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterGetCall.html), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterListCall.html) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessPolicyServicePerimeterPatchCall.html) +* [operations](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.OperationListCall.html) @@ -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/1.0.10+20190626/google_accesscontextmanager1/struct.AccessContextManager.html)** +* **[Hub](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/struct.AccessContextManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190626/google_accesscontextmanager1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.CallBuilder.html) 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/1.0.11+20190626/google_accesscontextmanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190626/google_accesscontextmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-accesscontextmanager1/1.0.10+20190626/google_accesscontextmanager1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.ResponseResult.html) 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/1.0.10+20190626/google_accesscontextmanager1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190626/google_accesscontextmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190626/google_accesscontextmanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-accesscontextmanager1/1.0.11+20190626/google_accesscontextmanager1/trait.RequestValue.html) are 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/cmn.rs b/gen/accesscontextmanager1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/accesscontextmanager1/src/cmn.rs +++ b/gen/accesscontextmanager1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/accesscontextmanager1/src/lib.rs b/gen/accesscontextmanager1/src/lib.rs index 7af3ff6ba7..ca870a4d73 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Access Context Manager* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -337,7 +337,7 @@ impl<'a, C, A> AccessContextManager AccessContextManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://accesscontextmanager.googleapis.com/".to_string(), _root_url: "https://accesscontextmanager.googleapis.com/".to_string(), } @@ -351,7 +351,7 @@ impl<'a, C, A> AccessContextManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accesscontextmanager1_beta-cli/Cargo.toml b/gen/accesscontextmanager1_beta-cli/Cargo.toml index 2babb601ea..7b7183f705 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 = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/accesscontextmanager1_beta-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-accesscontextmanager1_beta] path = "../accesscontextmanager1_beta" -version = "1.0.10+20190626" +version = "1.0.11+20190626" diff --git a/gen/accesscontextmanager1_beta-cli/README.md b/gen/accesscontextmanager1_beta-cli/README.md index 7510050693..93b4c7c408 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 *20190626*. The CLI is at version *1.0.10*. +This documentation was generated from the *Access Context Manager* API at revision *20190626*. The CLI is at version *1.0.11*. ```bash accesscontextmanager1-beta [options] diff --git a/gen/accesscontextmanager1_beta-cli/mkdocs.yml b/gen/accesscontextmanager1_beta-cli/mkdocs.yml index a0169e6b18..f31519f3e6 100644 --- a/gen/accesscontextmanager1_beta-cli/mkdocs.yml +++ b/gen/accesscontextmanager1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v1.0.10+20190626 +site_name: Access Context Manager v1.0.11+20190626 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 4f599f8793..adf0969d1c 100644 --- a/gen/accesscontextmanager1_beta-cli/src/main.rs +++ b/gen/accesscontextmanager1_beta-cli/src/main.rs @@ -1780,7 +1780,7 @@ fn main() { let mut app = App::new("accesscontextmanager1-beta") .author("Sebastian Thiel ") - .version("1.0.10+20190626") + .version("1.0.11+20190626") .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 39bbc3deb6..7788ab0bc9 100644 --- a/gen/accesscontextmanager1_beta/Cargo.toml +++ b/gen/accesscontextmanager1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1_beta" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/accesscontextmanager1_beta" homepage = "https://cloud.google.com/access-context-manager/docs/reference/rest/" -documentation = "https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626" +documentation = "https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/accesscontextmanager1_beta/README.md b/gen/accesscontextmanager1_beta/README.md index 6368dbbbd4..f72f8460a2 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Access Context Manager* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessContextManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessContextManager.html) ... -* [access policies](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicy.html) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelCreateCall.html), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelDeleteCall.html), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelGetCall.html), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelListCall.html), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelPatchCall.html), [*create*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyCreateCall.html), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyDeleteCall.html), [*get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyGetCall.html), [*list*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyListCall.html), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyPatchCall.html), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterCreateCall.html), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterDeleteCall.html), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterGetCall.html), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterListCall.html) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterPatchCall.html) -* [operations](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.Operation.html) - * [*get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/struct.OperationGetCall.html) +* [access policies](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicy.html) + * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelCreateCall.html), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelDeleteCall.html), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelGetCall.html), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelListCall.html), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyAccessLevelPatchCall.html), [*create*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyCreateCall.html), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyDeleteCall.html), [*get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyGetCall.html), [*list*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyListCall.html), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyPatchCall.html), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterCreateCall.html), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterDeleteCall.html), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterGetCall.html), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterListCall.html) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessPolicyServicePerimeterPatchCall.html) +* [operations](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.Operation.html) + * [*get*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.OperationGetCall.html) @@ -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/1.0.10+20190626/google_accesscontextmanager1_beta/struct.AccessContextManager.html)** +* **[Hub](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/struct.AccessContextManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.Part.html)** + * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/enum.Result.html) 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/1.0.10+20190626/google_accesscontextmanager1_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190626/google_accesscontextmanager1_beta/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html) 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/1.0.11+20190626/google_accesscontextmanager1_beta/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190626/google_accesscontextmanager1_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.RequestValue.html) and -[decodable](https://docs.rs/google-accesscontextmanager1_beta/1.0.10+20190626/google_accesscontextmanager1_beta/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.RequestValue.html) and +[decodable](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.ResponseResult.html) 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/1.0.10+20190626/google_accesscontextmanager1_beta/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190626/google_accesscontextmanager1_beta/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-accesscontextmanager1_beta/1.0.11+20190626/google_accesscontextmanager1_beta/trait.RequestValue.html) are 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/cmn.rs b/gen/accesscontextmanager1_beta/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/accesscontextmanager1_beta/src/cmn.rs +++ b/gen/accesscontextmanager1_beta/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/accesscontextmanager1_beta/src/lib.rs b/gen/accesscontextmanager1_beta/src/lib.rs index 818ca72f14..b6d9b13060 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Access Context Manager* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -342,7 +342,7 @@ impl<'a, C, A> AccessContextManager AccessContextManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://accesscontextmanager.googleapis.com/".to_string(), _root_url: "https://accesscontextmanager.googleapis.com/".to_string(), } @@ -356,7 +356,7 @@ impl<'a, C, A> AccessContextManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer1d3-cli/Cargo.toml b/gen/adexchangebuyer1d3-cli/Cargo.toml index 8a782be9f4..387b05afc0 100644 --- a/gen/adexchangebuyer1d3-cli/Cargo.toml +++ b/gen/adexchangebuyer1d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d3-cli" -version = "1.0.10+20190614" +version = "1.0.11+20190614" 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/master/gen/adexchangebuyer1d3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adexchangebuyer1d3] path = "../adexchangebuyer1d3" -version = "1.0.10+20190614" +version = "1.0.11+20190614" diff --git a/gen/adexchangebuyer1d3-cli/README.md b/gen/adexchangebuyer1d3-cli/README.md index 890dc53f92..8ffbe1c735 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 *20190614*. The CLI is at version *1.0.10*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20190614*. The CLI is at version *1.0.11*. ```bash adexchangebuyer1d3 [options] diff --git a/gen/adexchangebuyer1d3-cli/mkdocs.yml b/gen/adexchangebuyer1d3-cli/mkdocs.yml index d8639e014f..ea1680f051 100644 --- a/gen/adexchangebuyer1d3-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v1.0.10+20190614 +site_name: Ad Exchange Buyer v1.0.11+20190614 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 0546bc0e50..ef4d58298c 100644 --- a/gen/adexchangebuyer1d3-cli/src/main.rs +++ b/gen/adexchangebuyer1d3-cli/src/main.rs @@ -2305,7 +2305,7 @@ fn main() { let mut app = App::new("adexchangebuyer1d3") .author("Sebastian Thiel ") - .version("1.0.10+20190614") + .version("1.0.11+20190614") .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 fb46ff4d61..a78d5061d2 100644 --- a/gen/adexchangebuyer1d3/Cargo.toml +++ b/gen/adexchangebuyer1d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d3" -version = "1.0.10+20190614" +version = "1.0.11+20190614" 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/master/gen/adexchangebuyer1d3" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614" +documentation = "https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adexchangebuyer1d3/README.md b/gen/adexchangebuyer1d3/README.md index d1403969d0..2781a320f1 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Ad Exchange Buyer* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190614/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.Account.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.AccountUpdateCall.html) -* [billing info](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.BillingInfo.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.BillingInfoListCall.html) -* [budget](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.Budget.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.BudgetUpdateCall.html) -* [creatives](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.Creative.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.CreativeInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.CreativeListCall.html) -* [direct deals](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.DirectDeal.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.DirectDealGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.DirectDealListCall.html) -* [performance report](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PerformanceReport.html) - * [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PerformanceReportListCall.html) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfig.html) - * [*delete*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigUpdateCall.html) +* [accounts](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.Account.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.AccountUpdateCall.html) +* [billing info](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.BillingInfo.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.BillingInfoListCall.html) +* [budget](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.Budget.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.BudgetUpdateCall.html) +* [creatives](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.Creative.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.CreativeInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.CreativeListCall.html) +* [direct deals](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.DirectDeal.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.DirectDealGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.DirectDealListCall.html) +* [performance report](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PerformanceReport.html) + * [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PerformanceReportListCall.html) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfig.html) + * [*delete*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.PretargetingConfigUpdateCall.html) @@ -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/1.0.10+20190614/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190614/google_adexchangebuyer1d3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html) 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/1.0.11+20190614/google_adexchangebuyer1d3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190614/google_adexchangebuyer1d3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangebuyer1d3/1.0.10+20190614/google_adexchangebuyer1d3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.ResponseResult.html) 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/1.0.10+20190614/google_adexchangebuyer1d3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190614/google_adexchangebuyer1d3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d3/1.0.11+20190614/google_adexchangebuyer1d3/trait.RequestValue.html) are 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/cmn.rs b/gen/adexchangebuyer1d3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adexchangebuyer1d3/src/cmn.rs +++ b/gen/adexchangebuyer1d3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs index 8a1555bb28..c354bee935 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -344,7 +344,7 @@ impl<'a, C, A> AdExchangeBuyer AdExchangeBuyer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/adexchangebuyer/v1.3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -373,7 +373,7 @@ impl<'a, C, A> AdExchangeBuyer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer1d4-cli/Cargo.toml b/gen/adexchangebuyer1d4-cli/Cargo.toml index 6cc2f0eaba..c9a0cbf6d3 100644 --- a/gen/adexchangebuyer1d4-cli/Cargo.toml +++ b/gen/adexchangebuyer1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d4-cli" -version = "1.0.10+20190614" +version = "1.0.11+20190614" 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/master/gen/adexchangebuyer1d4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adexchangebuyer1d4] path = "../adexchangebuyer1d4" -version = "1.0.10+20190614" +version = "1.0.11+20190614" diff --git a/gen/adexchangebuyer1d4-cli/README.md b/gen/adexchangebuyer1d4-cli/README.md index 443809ad97..6d08927b10 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 *20190614*. The CLI is at version *1.0.10*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20190614*. The CLI is at version *1.0.11*. ```bash adexchangebuyer1d4 [options] diff --git a/gen/adexchangebuyer1d4-cli/mkdocs.yml b/gen/adexchangebuyer1d4-cli/mkdocs.yml index 6f1ef101bf..6d8aa64599 100644 --- a/gen/adexchangebuyer1d4-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v1.0.10+20190614 +site_name: Ad Exchange Buyer v1.0.11+20190614 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 2d150bdcbe..8af9cfb951 100644 --- a/gen/adexchangebuyer1d4-cli/src/main.rs +++ b/gen/adexchangebuyer1d4-cli/src/main.rs @@ -4091,7 +4091,7 @@ fn main() { let mut app = App::new("adexchangebuyer1d4") .author("Sebastian Thiel ") - .version("1.0.10+20190614") + .version("1.0.11+20190614") .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 fe1ef5a0ba..f06ec74350 100644 --- a/gen/adexchangebuyer1d4/Cargo.toml +++ b/gen/adexchangebuyer1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d4" -version = "1.0.10+20190614" +version = "1.0.11+20190614" 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/master/gen/adexchangebuyer1d4" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614" +documentation = "https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adexchangebuyer1d4/README.md b/gen/adexchangebuyer1d4/README.md index 79b3e983db..b0a1c0f64e 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Ad Exchange Buyer* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190614/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.Account.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.AccountUpdateCall.html) -* [billing info](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.BillingInfo.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.BillingInfoListCall.html) -* [budget](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.Budget.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.BudgetUpdateCall.html) -* [creatives](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.Creative.html) - * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.CreativeAddDealCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.CreativeListCall.html), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.CreativeListDealCall.html) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.CreativeRemoveDealCall.html) +* [accounts](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.Account.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.AccountUpdateCall.html) +* [billing info](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.BillingInfo.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.BillingInfoListCall.html) +* [budget](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.Budget.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.BudgetUpdateCall.html) +* [creatives](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.Creative.html) + * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.CreativeAddDealCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.CreativeListCall.html), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.CreativeListDealCall.html) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.CreativeRemoveDealCall.html) * marketplacedeals - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplacedealDeleteCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplacedealInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplacedealListCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplacedealUpdateCall.html) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplacedealDeleteCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplacedealInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplacedealListCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplacedealUpdateCall.html) * marketplacenotes - * [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplacenoteInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplacenoteListCall.html) + * [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplacenoteInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplacenoteListCall.html) * marketplaceprivateauction - * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.MarketplaceprivateauctionUpdateproposalCall.html) -* [performance report](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PerformanceReport.html) - * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PerformanceReportListCall.html) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfig.html) - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigUpdateCall.html) -* [products](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.Product.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProductGetCall.html) and [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProductSearchCall.html) -* [proposals](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.Proposal.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProposalGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProposalInsertCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProposalPatchCall.html), [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProposalSearchCall.html), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProposalSetupcompleteCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.ProposalUpdateCall.html) + * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.MarketplaceprivateauctionUpdateproposalCall.html) +* [performance report](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PerformanceReport.html) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PerformanceReportListCall.html) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfig.html) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PretargetingConfigUpdateCall.html) +* [products](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.Product.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProductGetCall.html) and [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProductSearchCall.html) +* [proposals](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.Proposal.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProposalGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProposalInsertCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProposalPatchCall.html), [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProposalSearchCall.html), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProposalSetupcompleteCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.ProposalUpdateCall.html) * pubprofiles - * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/struct.PubprofileListCall.html) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.PubprofileListCall.html) @@ -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/1.0.10+20190614/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -157,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190614/google_adexchangebuyer1d4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -177,29 +177,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190614/google_adexchangebuyer1d4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html) 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/1.0.11+20190614/google_adexchangebuyer1d4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190614/google_adexchangebuyer1d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangebuyer1d4/1.0.10+20190614/google_adexchangebuyer1d4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.ResponseResult.html) 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/1.0.10+20190614/google_adexchangebuyer1d4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190614/google_adexchangebuyer1d4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d4/1.0.11+20190614/google_adexchangebuyer1d4/trait.RequestValue.html) are 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/cmn.rs b/gen/adexchangebuyer1d4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adexchangebuyer1d4/src/cmn.rs +++ b/gen/adexchangebuyer1d4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs index 747eac8f30..a3b8e7250b 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -356,7 +356,7 @@ impl<'a, C, A> AdExchangeBuyer AdExchangeBuyer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/adexchangebuyer/v1.4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -400,7 +400,7 @@ impl<'a, C, A> AdExchangeBuyer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml b/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml index eb355df5cb..f2fc40456d 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 = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdExchangeBuyerII (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangebuyer2_v2_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adexchangebuyer2_v2_beta1] path = "../adexchangebuyer2_v2_beta1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/adexchangebuyer2_v2_beta1-cli/README.md b/gen/adexchangebuyer2_v2_beta1-cli/README.md index f56ea5fe70..31f62225b7 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *AdExchangeBuyerII* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash adexchangebuyer2-v2-beta1 [options] diff --git a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml index 1a16771438..bca5c0a83c 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml +++ b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdExchangeBuyerII v1.0.10+20190701 +site_name: AdExchangeBuyerII v1.0.11+20190701 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 9aa54d95cb..c7ed2e762d 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs +++ b/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs @@ -6743,7 +6743,7 @@ fn main() { let mut app = App::new("adexchangebuyer2-v2-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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 9cdbce86b3..cd03da02ea 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 = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdExchangeBuyerII (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangebuyer2_v2_beta1" homepage = "https://developers.google.com/authorized-buyers/apis/reference/rest/" -documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701" +documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701" license = "MIT" keywords = ["adexchangebuyer2", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adexchangebuyer2_v2_beta1/README.md b/gen/adexchangebuyer2_v2_beta1/README.md index 35f608f81b..d302468852 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *AdExchangeBuyerII* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AdExchangeBuyerII.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AdExchangeBuyerII.html) ... * accounts - * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientCreateCall.html), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientGetCall.html), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientInvitationCreateCall.html), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientInvitationGetCall.html), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientInvitationListCall.html), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientListCall.html), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUpdateCall.html), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUserGetCall.html), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUserListCall.html), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUserUpdateCall.html), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeCreateCall.html), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeDealAssociationAddCall.html), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeDealAssociationListCall.html), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeDealAssociationRemoveCall.html), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeGetCall.html), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeListCall.html), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeStopWatchingCall.html), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeUpdateCall.html), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeWatchCall.html), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountFinalizedProposalListCall.html), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProductGetCall.html), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProductListCall.html), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalAcceptCall.html), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalAddNoteCall.html), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalCancelNegotiationCall.html), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalCompleteSetupCall.html), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalCreateCall.html), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalGetCall.html), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalListCall.html), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalPauseCall.html), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalResumeCall.html), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalUpdateCall.html), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountPublisherProfileGetCall.html) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountPublisherProfileListCall.html) + * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientCreateCall.html), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientGetCall.html), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientInvitationCreateCall.html), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientInvitationGetCall.html), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientInvitationListCall.html), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientListCall.html), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUpdateCall.html), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUserGetCall.html), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUserListCall.html), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountClientUserUpdateCall.html), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeCreateCall.html), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeDealAssociationAddCall.html), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeDealAssociationListCall.html), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeDealAssociationRemoveCall.html), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeGetCall.html), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeListCall.html), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeStopWatchingCall.html), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeUpdateCall.html), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountCreativeWatchCall.html), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountFinalizedProposalListCall.html), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProductGetCall.html), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProductListCall.html), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalAcceptCall.html), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalAddNoteCall.html), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalCancelNegotiationCall.html), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalCompleteSetupCall.html), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalCreateCall.html), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalGetCall.html), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalListCall.html), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalPauseCall.html), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalResumeCall.html), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountProposalUpdateCall.html), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountPublisherProfileGetCall.html) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AccountPublisherProfileListCall.html) * bidders - * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetBidMetricListCall.html), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetBidResponseErrorListCall.html), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetBidResponsesWithoutBidListCall.html), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetCreateCall.html), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetDeleteCall.html), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidRequestListCall.html), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidCreativeListCall.html), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidDetailListCall.html), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidListCall.html), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetGetCall.html), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetImpressionMetricListCall.html), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetListCall.html), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetLosingBidListCall.html), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetNonBillableWinningBidListCall.html), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetBidMetricListCall.html), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetBidResponseErrorListCall.html), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetBidResponsesWithoutBidListCall.html), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetCreateCall.html), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetDeleteCall.html), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidRequestListCall.html), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidCreativeListCall.html), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidDetailListCall.html), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidListCall.html), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetGetCall.html), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetImpressionMetricListCall.html), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetListCall.html), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetLosingBidListCall.html) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetNonBillableWinningBidListCall.html) + * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetBidMetricListCall.html), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetBidResponseErrorListCall.html), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetBidResponsesWithoutBidListCall.html), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetCreateCall.html), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetDeleteCall.html), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidRequestListCall.html), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidCreativeListCall.html), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidDetailListCall.html), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetFilteredBidListCall.html), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetGetCall.html), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetImpressionMetricListCall.html), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetListCall.html), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetLosingBidListCall.html), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderAccountFilterSetNonBillableWinningBidListCall.html), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetBidMetricListCall.html), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetBidResponseErrorListCall.html), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetBidResponsesWithoutBidListCall.html), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetCreateCall.html), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetDeleteCall.html), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidRequestListCall.html), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidCreativeListCall.html), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidDetailListCall.html), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetFilteredBidListCall.html), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetGetCall.html), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetImpressionMetricListCall.html), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetListCall.html), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetLosingBidListCall.html) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.BidderFilterSetNonBillableWinningBidListCall.html) @@ -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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/struct.AdExchangeBuyerII.html)** +* **[Hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/struct.AdExchangeBuyerII.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/enum.Result.html) 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/enum.Result.html), 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html) 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/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.ResponseResult.html) 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_adexchangebuyer2_v2_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangebuyer2_v2_beta1/1.0.11+20190701/google_adexchangebuyer2_v2_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/adexchangebuyer2_v2_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/cmn.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adexchangebuyer2_v2_beta1/src/lib.rs b/gen/adexchangebuyer2_v2_beta1/src/lib.rs index ddbc3d24a6..3703624cdb 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *AdExchangeBuyerII* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -338,7 +338,7 @@ impl<'a, C, A> AdExchangeBuyerII AdExchangeBuyerII { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://adexchangebuyer.googleapis.com/".to_string(), _root_url: "https://adexchangebuyer.googleapis.com/".to_string(), } @@ -352,7 +352,7 @@ impl<'a, C, A> AdExchangeBuyerII } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangeseller2-cli/Cargo.toml b/gen/adexchangeseller2-cli/Cargo.toml index bddac11ee6..2c5910ba27 100644 --- a/gen/adexchangeseller2-cli/Cargo.toml +++ b/gen/adexchangeseller2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangeseller2-cli" -version = "1.0.10+20171101" +version = "1.0.11+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/master/gen/adexchangeseller2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adexchangeseller2] path = "../adexchangeseller2" -version = "1.0.10+20171101" +version = "1.0.11+20171101" diff --git a/gen/adexchangeseller2-cli/README.md b/gen/adexchangeseller2-cli/README.md index a10583e11d..bb630c3e13 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 *1.0.10*. +This documentation was generated from the *Ad Exchange Seller* API at revision *20171101*. The CLI is at version *1.0.11*. ```bash adexchangeseller2 [options] diff --git a/gen/adexchangeseller2-cli/mkdocs.yml b/gen/adexchangeseller2-cli/mkdocs.yml index acf2822947..a69c52297a 100644 --- a/gen/adexchangeseller2-cli/mkdocs.yml +++ b/gen/adexchangeseller2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Seller v1.0.10+20171101 +site_name: Ad Exchange Seller v1.0.11+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 6549269b67..02f49087f3 100644 --- a/gen/adexchangeseller2-cli/src/main.rs +++ b/gen/adexchangeseller2-cli/src/main.rs @@ -1348,7 +1348,7 @@ fn main() { let mut app = App::new("adexchangeseller2") .author("Sebastian Thiel ") - .version("1.0.10+20171101") + .version("1.0.11+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 c304859c7d..cfa13ea37e 100644 --- a/gen/adexchangeseller2/Cargo.toml +++ b/gen/adexchangeseller2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangeseller2" -version = "1.0.10+20171101" +version = "1.0.11+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/master/gen/adexchangeseller2" homepage = "https://developers.google.com/ad-exchange/seller-rest/" -documentation = "https://docs.rs/google-adexchangeseller2/1.0.10+20171101" +documentation = "https://docs.rs/google-adexchangeseller2/1.0.11+20171101" license = "MIT" keywords = ["adexchangeseller", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adexchangeseller2/README.md b/gen/adexchangeseller2/README.md index 9104f045ab..fd82fdd487 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 *1.0.10+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Ad Exchange Seller* crate version *1.0.11+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20171101/google_adexchangeseller2/struct.AdExchangeSeller.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AdExchangeSeller.html) ... -* [accounts](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.Account.html) - * [*adclients list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountAdclientListCall.html), [*alerts list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountAlertListCall.html), [*customchannels get*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountListCall.html), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountMetadataDimensionListCall.html), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountMetadataMetricListCall.html), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountPreferreddealGetCall.html), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountPreferreddealListCall.html), [*reports generate*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountReportSavedListCall.html) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountUrlchannelListCall.html) +* [accounts](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.Account.html) + * [*adclients list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountAdclientListCall.html), [*alerts list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountAlertListCall.html), [*customchannels get*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountListCall.html), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountMetadataDimensionListCall.html), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountMetadataMetricListCall.html), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountPreferreddealGetCall.html), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountPreferreddealListCall.html), [*reports generate*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountReportSavedListCall.html) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountUrlchannelListCall.html) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AccountReportGenerateCall.html) +* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AccountReportGenerateCall.html) @@ -27,17 +27,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/struct.AdExchangeSeller.html)** +* **[Hub](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/struct.AdExchangeSeller.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20171101/google_adexchangeseller2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.CallBuilder.html) 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/1.0.11+20171101/google_adexchangeseller2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20171101/google_adexchangeseller2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangeseller2/1.0.10+20171101/google_adexchangeseller2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.ResponseResult.html) 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/1.0.10+20171101/google_adexchangeseller2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20171101/google_adexchangeseller2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20171101/google_adexchangeseller2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangeseller2/1.0.11+20171101/google_adexchangeseller2/trait.RequestValue.html) are 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/cmn.rs b/gen/adexchangeseller2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adexchangeseller2/src/cmn.rs +++ b/gen/adexchangeseller2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adexchangeseller2/src/lib.rs b/gen/adexchangeseller2/src/lib.rs index 903b4a6abb..e0283edb7c 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 *1.0.10+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Ad Exchange Seller* crate version *1.0.11+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -352,7 +352,7 @@ impl<'a, C, A> AdExchangeSeller AdExchangeSeller { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/adexchangeseller/v2.0/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -363,7 +363,7 @@ impl<'a, C, A> AdExchangeSeller } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexperiencereport1-cli/Cargo.toml b/gen/adexperiencereport1-cli/Cargo.toml index 12276db7bd..b2692521cd 100644 --- a/gen/adexperiencereport1-cli/Cargo.toml +++ b/gen/adexperiencereport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexperiencereport1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexperiencereport1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adexperiencereport1] path = "../adexperiencereport1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/adexperiencereport1-cli/README.md b/gen/adexperiencereport1-cli/README.md index f8e9d885d2..ed1c12eb2b 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Ad Experience Report* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash adexperiencereport1 [options] diff --git a/gen/adexperiencereport1-cli/mkdocs.yml b/gen/adexperiencereport1-cli/mkdocs.yml index 0b98c66d80..e7c44845a4 100644 --- a/gen/adexperiencereport1-cli/mkdocs.yml +++ b/gen/adexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Experience Report v1.0.10+20190624 +site_name: Ad Experience Report v1.0.11+20190624 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 0e8d576326..597a4f3e2b 100644 --- a/gen/adexperiencereport1-cli/src/main.rs +++ b/gen/adexperiencereport1-cli/src/main.rs @@ -316,7 +316,7 @@ fn main() { let mut app = App::new("adexperiencereport1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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("url") diff --git a/gen/adexperiencereport1/Cargo.toml b/gen/adexperiencereport1/Cargo.toml index 177d3adcea..f80b8d002e 100644 --- a/gen/adexperiencereport1/Cargo.toml +++ b/gen/adexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexperiencereport1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexperiencereport1" homepage = "https://developers.google.com/ad-experience-report/" -documentation = "https://docs.rs/google-adexperiencereport1/1.0.10+20190624" +documentation = "https://docs.rs/google-adexperiencereport1/1.0.11+20190624" license = "MIT" keywords = ["adexperiencereport", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adexperiencereport1/README.md b/gen/adexperiencereport1/README.md index a234d0576b..6b8faae26c 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Ad Experience Report* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_adexperiencereport1/struct.AdExperienceReport.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/struct.AdExperienceReport.html) ... * sites - * [*get*](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/struct.SiteGetCall.html) + * [*get*](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/struct.SiteGetCall.html) * violating sites - * [*list*](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/struct.ViolatingSiteListCall.html) + * [*list*](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/struct.ViolatingSiteListCall.html) @@ -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/1.0.10+20190624/google_adexperiencereport1/struct.AdExperienceReport.html)** +* **[Hub](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/struct.AdExperienceReport.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_adexperiencereport1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.CallBuilder.html) 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/1.0.11+20190624/google_adexperiencereport1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_adexperiencereport1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexperiencereport1/1.0.10+20190624/google_adexperiencereport1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.ResponseResult.html) 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/1.0.10+20190624/google_adexperiencereport1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_adexperiencereport1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_adexperiencereport1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexperiencereport1/1.0.11+20190624/google_adexperiencereport1/trait.RequestValue.html) are 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/cmn.rs b/gen/adexperiencereport1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adexperiencereport1/src/cmn.rs +++ b/gen/adexperiencereport1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adexperiencereport1/src/lib.rs b/gen/adexperiencereport1/src/lib.rs index 05985d668d..19407c0176 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Ad Experience Report* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Ad Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/ad-experience-report/). @@ -319,7 +319,7 @@ impl<'a, C, A> AdExperienceReport AdExperienceReport { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://adexperiencereport.googleapis.com/".to_string(), _root_url: "https://adexperiencereport.googleapis.com/".to_string(), } @@ -333,7 +333,7 @@ impl<'a, C, A> AdExperienceReport } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/admin1_directory-cli/Cargo.toml b/gen/admin1_directory-cli/Cargo.toml index 4c0f3ff572..530edf6281 100644 --- a/gen/admin1_directory-cli/Cargo.toml +++ b/gen/admin1_directory-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-admin1_directory-cli" -version = "1.0.10+20190214" +version = "1.0.11+20190214" authors = ["Sebastian Thiel "] description = "A complete library to interact with directory (protocol directory_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_directory-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-admin1_directory] path = "../admin1_directory" -version = "1.0.10+20190214" +version = "1.0.11+20190214" diff --git a/gen/admin1_directory-cli/README.md b/gen/admin1_directory-cli/README.md index 13e0223f6d..c8c8d80abe 100644 --- a/gen/admin1_directory-cli/README.md +++ b/gen/admin1_directory-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *directory* API at revision *20190214*. The CLI is at version *1.0.10*. +This documentation was generated from the *directory* API at revision *20190214*. The CLI is at version *1.0.11*. ```bash admin1-directory [options] diff --git a/gen/admin1_directory-cli/mkdocs.yml b/gen/admin1_directory-cli/mkdocs.yml index 0c3b5baa70..f001c14c5c 100644 --- a/gen/admin1_directory-cli/mkdocs.yml +++ b/gen/admin1_directory-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: directory v1.0.10+20190214 +site_name: directory v1.0.11+20190214 site_url: http://byron.github.io/google-apis-rs/google-admin1_directory-cli site_description: A complete library to interact with directory (protocol directory_v1) diff --git a/gen/admin1_directory-cli/src/main.rs b/gen/admin1_directory-cli/src/main.rs index 640851640b..c9cebef163 100644 --- a/gen/admin1_directory-cli/src/main.rs +++ b/gen/admin1_directory-cli/src/main.rs @@ -11566,7 +11566,7 @@ fn main() { let mut app = App::new("admin1-directory") .author("Sebastian Thiel ") - .version("1.0.10+20190214") + .version("1.0.11+20190214") .about("Manages enterprise resources such as users and groups, administrative notifications, security features, and more.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_admin1_directory_cli") .arg(Arg::with_name("url") diff --git a/gen/admin1_directory/Cargo.toml b/gen/admin1_directory/Cargo.toml index 3c2e49f467..92c159c2f9 100644 --- a/gen/admin1_directory/Cargo.toml +++ b/gen/admin1_directory/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-admin1_directory" -version = "1.0.10+20190214" +version = "1.0.11+20190214" authors = ["Sebastian Thiel "] description = "A complete library to interact with directory (protocol directory_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_directory" homepage = "https://developers.google.com/admin-sdk/directory/" -documentation = "https://docs.rs/google-admin1_directory/1.0.10+20190214" +documentation = "https://docs.rs/google-admin1_directory/1.0.11+20190214" license = "MIT" keywords = ["admin", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/admin1_directory/README.md b/gen/admin1_directory/README.md index 647871f84d..0635f66023 100644 --- a/gen/admin1_directory/README.md +++ b/gen/admin1_directory/README.md @@ -5,63 +5,63 @@ DO NOT EDIT ! --> The `google-admin1_directory` library allows access to all features of the *Google directory* service. -This documentation was generated from *directory* crate version *1.0.10+20190214*, where *20190214* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *directory* crate version *1.0.11+20190214*, where *20190214* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *directory* *v1_directory* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/directory/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Directory.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Directory.html) ... -* [asps](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Asp.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.AspDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.AspGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.AspListCall.html) -* [channels](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Channel.html) - * [*stop*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChannelStopCall.html) +* [asps](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Asp.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.AspDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.AspGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.AspListCall.html) +* [channels](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Channel.html) + * [*stop*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChannelStopCall.html) * chromeosdevices - * [*action*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChromeosdeviceActionCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChromeosdeviceGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChromeosdeviceListCall.html), [*move devices to ou*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChromeosdeviceMoveDevicesToOuCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChromeosdevicePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ChromeosdeviceUpdateCall.html) -* [customers](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Customer.html) - * [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.CustomerGetCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.CustomerUpdateCall.html) + * [*action*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChromeosdeviceActionCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChromeosdeviceGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChromeosdeviceListCall.html), [*move devices to ou*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChromeosdeviceMoveDevicesToOuCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChromeosdevicePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ChromeosdeviceUpdateCall.html) +* [customers](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Customer.html) + * [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.CustomerGetCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.CustomerUpdateCall.html) * domain aliases - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainAliaseDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainAliaseGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainAliaseInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainAliaseListCall.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainAliaseDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainAliaseGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainAliaseInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainAliaseListCall.html) * domains - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.DomainListCall.html) -* [groups](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Group.html) - * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupAliaseListCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupUpdateCall.html) -* [members](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Member.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberGetCall.html), [*has member*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberHasMemberCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MemberUpdateCall.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.DomainListCall.html) +* [groups](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Group.html) + * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupAliaseListCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupUpdateCall.html) +* [members](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Member.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberGetCall.html), [*has member*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberHasMemberCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MemberUpdateCall.html) * mobiledevices - * [*action*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MobiledeviceActionCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MobiledeviceDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MobiledeviceGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.MobiledeviceListCall.html) -* [notifications](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Notification.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.NotificationDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.NotificationGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.NotificationListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.NotificationPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.NotificationUpdateCall.html) + * [*action*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MobiledeviceActionCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MobiledeviceDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MobiledeviceGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.MobiledeviceListCall.html) +* [notifications](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Notification.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.NotificationDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.NotificationGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.NotificationListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.NotificationPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.NotificationUpdateCall.html) * orgunits - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.OrgunitDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.OrgunitGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.OrgunitInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.OrgunitListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.OrgunitPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.OrgunitUpdateCall.html) -* [privileges](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Privilege.html) - * [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.PrivilegeListCall.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.OrgunitDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.OrgunitGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.OrgunitInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.OrgunitListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.OrgunitPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.OrgunitUpdateCall.html) +* [privileges](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Privilege.html) + * [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.PrivilegeListCall.html) * resolved app access settings - * [*get settings*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResolvedAppAccessSettingGetSettingCall.html) and [*list trusted apps*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResolvedAppAccessSettingListTrustedAppCall.html) + * [*get settings*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResolvedAppAccessSettingGetSettingCall.html) and [*list trusted apps*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResolvedAppAccessSettingListTrustedAppCall.html) * resources - * [*buildings delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceBuildingDeleteCall.html), [*buildings get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceBuildingGetCall.html), [*buildings insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceBuildingInsertCall.html), [*buildings list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceBuildingListCall.html), [*buildings patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceBuildingPatchCall.html), [*buildings update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceBuildingUpdateCall.html), [*calendars delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceCalendarDeleteCall.html), [*calendars get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceCalendarGetCall.html), [*calendars insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceCalendarInsertCall.html), [*calendars list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceCalendarListCall.html), [*calendars patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceCalendarPatchCall.html), [*calendars update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceCalendarUpdateCall.html), [*features delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeatureDeleteCall.html), [*features get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeatureGetCall.html), [*features insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeatureInsertCall.html), [*features list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeatureListCall.html), [*features patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeaturePatchCall.html), [*features rename*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeatureRenameCall.html) and [*features update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.ResourceFeatureUpdateCall.html) -* [role assignments](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleAssignment.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleAssignmentDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleAssignmentGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleAssignmentInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleAssignmentListCall.html) -* [roles](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Role.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RolePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.RoleUpdateCall.html) -* [schemas](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Schema.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.SchemaDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.SchemaGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.SchemaInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.SchemaListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.SchemaPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.SchemaUpdateCall.html) -* [tokens](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Token.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.TokenDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.TokenGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.TokenListCall.html) -* [users](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.User.html) - * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserAliaseListCall.html), [*aliases watch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserAliaseWatchCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserListCall.html), [*make admin*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserMakeAdminCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserPatchCall.html), [*photos delete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserPhotoDeleteCall.html), [*photos get*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserPhotoGetCall.html), [*photos patch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserPhotoPatchCall.html), [*photos update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserPhotoUpdateCall.html), [*undelete*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserUndeleteCall.html), [*update*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserUpdateCall.html) and [*watch*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserWatchCall.html) -* [verification codes](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.VerificationCode.html) - * [*generate*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.VerificationCodeGenerateCall.html), [*invalidate*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.VerificationCodeInvalidateCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.VerificationCodeListCall.html) + * [*buildings delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceBuildingDeleteCall.html), [*buildings get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceBuildingGetCall.html), [*buildings insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceBuildingInsertCall.html), [*buildings list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceBuildingListCall.html), [*buildings patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceBuildingPatchCall.html), [*buildings update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceBuildingUpdateCall.html), [*calendars delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceCalendarDeleteCall.html), [*calendars get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceCalendarGetCall.html), [*calendars insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceCalendarInsertCall.html), [*calendars list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceCalendarListCall.html), [*calendars patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceCalendarPatchCall.html), [*calendars update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceCalendarUpdateCall.html), [*features delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeatureDeleteCall.html), [*features get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeatureGetCall.html), [*features insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeatureInsertCall.html), [*features list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeatureListCall.html), [*features patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeaturePatchCall.html), [*features rename*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeatureRenameCall.html) and [*features update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.ResourceFeatureUpdateCall.html) +* [role assignments](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleAssignment.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleAssignmentDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleAssignmentGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleAssignmentInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleAssignmentListCall.html) +* [roles](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Role.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RolePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.RoleUpdateCall.html) +* [schemas](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Schema.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.SchemaDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.SchemaGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.SchemaInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.SchemaListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.SchemaPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.SchemaUpdateCall.html) +* [tokens](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Token.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.TokenDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.TokenGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.TokenListCall.html) +* [users](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.User.html) + * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserAliaseListCall.html), [*aliases watch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserAliaseWatchCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserListCall.html), [*make admin*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserMakeAdminCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserPatchCall.html), [*photos delete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserPhotoDeleteCall.html), [*photos get*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserPhotoGetCall.html), [*photos patch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserPhotoPatchCall.html), [*photos update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserPhotoUpdateCall.html), [*undelete*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserUndeleteCall.html), [*update*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserUpdateCall.html) and [*watch*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserWatchCall.html) +* [verification codes](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.VerificationCode.html) + * [*generate*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.VerificationCodeGenerateCall.html), [*invalidate*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.VerificationCodeInvalidateCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.VerificationCodeListCall.html) Subscription supported by ... -* [*list users*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserListCall.html) -* [*aliases watch users*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserAliaseWatchCall.html) -* [*watch users*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserWatchCall.html) -* [*aliases list users*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.UserAliaseListCall.html) -* [*aliases list groups*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.GroupAliaseListCall.html) +* [*list users*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserListCall.html) +* [*aliases watch users*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserAliaseWatchCall.html) +* [*watch users*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserWatchCall.html) +* [*aliases list users*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.UserAliaseListCall.html) +* [*aliases list groups*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.GroupAliaseListCall.html) @@ -69,17 +69,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/struct.Directory.html)** +* **[Hub](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/struct.Directory.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.Part.html)** + * **[Parts](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -204,17 +204,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -224,29 +224,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.RequestValue.html) and -[decodable](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.RequestValue.html) and +[decodable](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-admin1_directory/1.0.10+20190214/google_admin1_directory/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-admin1_directory/1.0.11+20190214/google_admin1_directory/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/admin1_directory/src/cmn.rs b/gen/admin1_directory/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/admin1_directory/src/cmn.rs +++ b/gen/admin1_directory/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/admin1_directory/src/lib.rs b/gen/admin1_directory/src/lib.rs index 3ee63e0477..12466a9c3f 100644 --- a/gen/admin1_directory/src/lib.rs +++ b/gen/admin1_directory/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *directory* crate version *1.0.10+20190214*, where *20190214* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *directory* crate version *1.0.11+20190214*, where *20190214* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *directory* *v1_directory* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/directory/). @@ -519,7 +519,7 @@ impl<'a, C, A> Directory Directory { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/admin/directory/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -587,7 +587,7 @@ impl<'a, C, A> Directory } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/admin1_reports-cli/Cargo.toml b/gen/admin1_reports-cli/Cargo.toml index 7295b65df6..5f759c8dae 100644 --- a/gen/admin1_reports-cli/Cargo.toml +++ b/gen/admin1_reports-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-admin1_reports-cli" -version = "1.0.10+20190521" +version = "1.0.11+20190521" authors = ["Sebastian Thiel "] description = "A complete library to interact with reports (protocol reports_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_reports-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-admin1_reports] path = "../admin1_reports" -version = "1.0.10+20190521" +version = "1.0.11+20190521" diff --git a/gen/admin1_reports-cli/README.md b/gen/admin1_reports-cli/README.md index d76f0e212d..a40f1d443b 100644 --- a/gen/admin1_reports-cli/README.md +++ b/gen/admin1_reports-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *reports* API at revision *20190521*. The CLI is at version *1.0.10*. +This documentation was generated from the *reports* API at revision *20190521*. The CLI is at version *1.0.11*. ```bash admin1-reports [options] diff --git a/gen/admin1_reports-cli/mkdocs.yml b/gen/admin1_reports-cli/mkdocs.yml index 09e9d1bc93..ff3034b551 100644 --- a/gen/admin1_reports-cli/mkdocs.yml +++ b/gen/admin1_reports-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reports v1.0.10+20190521 +site_name: reports v1.0.11+20190521 site_url: http://byron.github.io/google-apis-rs/google-admin1_reports-cli site_description: A complete library to interact with reports (protocol reports_v1) diff --git a/gen/admin1_reports-cli/src/main.rs b/gen/admin1_reports-cli/src/main.rs index 495f1647bf..f4d1a6312f 100644 --- a/gen/admin1_reports-cli/src/main.rs +++ b/gen/admin1_reports-cli/src/main.rs @@ -861,7 +861,7 @@ fn main() { let mut app = App::new("admin1-reports") .author("Sebastian Thiel ") - .version("1.0.10+20190521") + .version("1.0.11+20190521") .about("Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_admin1_reports_cli") .arg(Arg::with_name("url") diff --git a/gen/admin1_reports/Cargo.toml b/gen/admin1_reports/Cargo.toml index 766b9270b7..27df6d5f86 100644 --- a/gen/admin1_reports/Cargo.toml +++ b/gen/admin1_reports/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-admin1_reports" -version = "1.0.10+20190521" +version = "1.0.11+20190521" authors = ["Sebastian Thiel "] description = "A complete library to interact with reports (protocol reports_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_reports" homepage = "https://developers.google.com/admin-sdk/reports/" -documentation = "https://docs.rs/google-admin1_reports/1.0.10+20190521" +documentation = "https://docs.rs/google-admin1_reports/1.0.11+20190521" license = "MIT" keywords = ["admin", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/admin1_reports/README.md b/gen/admin1_reports/README.md index 3901781829..ab80c4483b 100644 --- a/gen/admin1_reports/README.md +++ b/gen/admin1_reports/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-admin1_reports` library allows access to all features of the *Google reports* service. -This documentation was generated from *reports* crate version *1.0.10+20190521*, where *20190521* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *reports* crate version *1.0.11+20190521*, where *20190521* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *reports* *v1_reports* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/reports/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.Reports.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.Reports.html) ... -* [activities](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.Activity.html) - * [*list*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.ActivityListCall.html) and [*watch*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.ActivityWatchCall.html) -* [channels](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.Channel.html) - * [*stop*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.ChannelStopCall.html) +* [activities](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.Activity.html) + * [*list*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.ActivityListCall.html) and [*watch*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.ActivityWatchCall.html) +* [channels](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.Channel.html) + * [*stop*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.ChannelStopCall.html) * customer usage reports - * [*get*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.CustomerUsageReportGetCall.html) + * [*get*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.CustomerUsageReportGetCall.html) * entity usage reports - * [*get*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.EntityUsageReportGetCall.html) + * [*get*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.EntityUsageReportGetCall.html) * user usage report - * [*get*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.UserUsageReportGetCall.html) + * [*get*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.UserUsageReportGetCall.html) Subscription supported by ... -* [*list activities*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.ActivityListCall.html) -* [*watch activities*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.ActivityWatchCall.html) +* [*list activities*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.ActivityListCall.html) +* [*watch activities*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.ActivityWatchCall.html) @@ -36,17 +36,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/struct.Reports.html)** +* **[Hub](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/struct.Reports.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.Part.html)** + * **[Parts](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.RequestValue.html) and -[decodable](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.RequestValue.html) and +[decodable](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-admin1_reports/1.0.10+20190521/google_admin1_reports/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-admin1_reports/1.0.11+20190521/google_admin1_reports/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/admin1_reports/src/cmn.rs b/gen/admin1_reports/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/admin1_reports/src/cmn.rs +++ b/gen/admin1_reports/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/admin1_reports/src/lib.rs b/gen/admin1_reports/src/lib.rs index 7caca91b93..45df78f69c 100644 --- a/gen/admin1_reports/src/lib.rs +++ b/gen/admin1_reports/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *reports* crate version *1.0.10+20190521*, where *20190521* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *reports* crate version *1.0.11+20190521*, where *20190521* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *reports* *v1_reports* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/reports/). @@ -348,7 +348,7 @@ impl<'a, C, A> Reports Reports { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/admin/reports/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -371,7 +371,7 @@ impl<'a, C, A> Reports } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adsense1d4-cli/Cargo.toml b/gen/adsense1d4-cli/Cargo.toml index e6635ada43..c65cbd65c8 100644 --- a/gen/adsense1d4-cli/Cargo.toml +++ b/gen/adsense1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsense1d4-cli" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsense1d4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adsense1d4] path = "../adsense1d4" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/adsense1d4-cli/README.md b/gen/adsense1d4-cli/README.md index a86ee30869..8e8976123f 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *AdSense* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash adsense1d4 [options] diff --git a/gen/adsense1d4-cli/mkdocs.yml b/gen/adsense1d4-cli/mkdocs.yml index c22ae60db0..61ca163821 100644 --- a/gen/adsense1d4-cli/mkdocs.yml +++ b/gen/adsense1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense v1.0.10+20190703 +site_name: AdSense v1.0.11+20190703 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 31dfa0d124..134173132d 100644 --- a/gen/adsense1d4-cli/src/main.rs +++ b/gen/adsense1d4-cli/src/main.rs @@ -3564,7 +3564,7 @@ fn main() { let mut app = App::new("adsense1d4") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 a86ba4d6e9..818acc4c5a 100644 --- a/gen/adsense1d4/Cargo.toml +++ b/gen/adsense1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsense1d4" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsense1d4" homepage = "https://developers.google.com/adsense/management/" -documentation = "https://docs.rs/google-adsense1d4/1.0.10+20190703" +documentation = "https://docs.rs/google-adsense1d4/1.0.11+20190703" license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adsense1d4/README.md b/gen/adsense1d4/README.md index e18982bf2c..785aa3abc2 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *AdSense* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_adsense1d4/struct.AdSense.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdSense.html) ... -* [accounts](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.Account.html) - * [*adclients get ad code*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAdclientGetAdCodeCall.html), [*adclients list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAdclientListCall.html), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAdunitCustomchannelListCall.html), [*adunits get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAdunitGetAdCodeCall.html), [*adunits list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAdunitListCall.html), [*alerts delete*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAlertDeleteCall.html), [*alerts list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountAlertListCall.html), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountCustomchannelAdunitListCall.html), [*customchannels get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountListCall.html), [*payments list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountPaymentListCall.html), [*reports generate*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountReportSavedListCall.html), [*savedadstyles get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountSavedadstyleGetCall.html), [*savedadstyles list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountSavedadstyleListCall.html) and [*urlchannels list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountUrlchannelListCall.html) +* [accounts](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.Account.html) + * [*adclients get ad code*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAdclientGetAdCodeCall.html), [*adclients list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAdclientListCall.html), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAdunitCustomchannelListCall.html), [*adunits get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAdunitGetAdCodeCall.html), [*adunits list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAdunitListCall.html), [*alerts delete*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAlertDeleteCall.html), [*alerts list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountAlertListCall.html), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountCustomchannelAdunitListCall.html), [*customchannels get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountListCall.html), [*payments list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountPaymentListCall.html), [*reports generate*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountReportSavedListCall.html), [*savedadstyles get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountSavedadstyleGetCall.html), [*savedadstyles list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountSavedadstyleListCall.html) and [*urlchannels list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountUrlchannelListCall.html) * adclients - * [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AdclientListCall.html) + * [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdclientListCall.html) * adunits - * [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AdunitCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AdunitGetCall.html), [*get ad code*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AdunitGetAdCodeCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AdunitListCall.html) -* [alerts](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.Alert.html) - * [*delete*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AlertDeleteCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AlertListCall.html) + * [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdunitCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdunitGetCall.html), [*get ad code*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdunitGetAdCodeCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdunitListCall.html) +* [alerts](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.Alert.html) + * [*delete*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AlertDeleteCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AlertListCall.html) * customchannels - * [*adunits list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.CustomchannelAdunitListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.CustomchannelGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.CustomchannelListCall.html) -* [metadata](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.Metadata.html) - * [*dimensions list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.MetadataDimensionListCall.html) and [*metrics list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.MetadataMetricListCall.html) -* [payments](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.Payment.html) - * [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.PaymentListCall.html) + * [*adunits list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.CustomchannelAdunitListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.CustomchannelGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.CustomchannelListCall.html) +* [metadata](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.Metadata.html) + * [*dimensions list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.MetadataDimensionListCall.html) and [*metrics list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.MetadataMetricListCall.html) +* [payments](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.Payment.html) + * [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.PaymentListCall.html) * reports - * [*generate*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.ReportGenerateCall.html), [*saved generate*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.ReportSavedGenerateCall.html) and [*saved list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.ReportSavedListCall.html) + * [*generate*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.ReportGenerateCall.html), [*saved generate*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.ReportSavedGenerateCall.html) and [*saved list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.ReportSavedListCall.html) * savedadstyles - * [*get*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.SavedadstyleGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.SavedadstyleListCall.html) + * [*get*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.SavedadstyleGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.SavedadstyleListCall.html) * urlchannels - * [*list*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.UrlchannelListCall.html) + * [*list*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.UrlchannelListCall.html) Download supported by ... -* [*generate reports*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.ReportGenerateCall.html) -* [*reports generate accounts*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AccountReportGenerateCall.html) +* [*generate reports*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.ReportGenerateCall.html) +* [*reports generate accounts*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AccountReportGenerateCall.html) @@ -46,17 +46,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/struct.AdSense.html)** +* **[Hub](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/struct.AdSense.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.Part.html)** + * **[Parts](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_adsense1d4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.CallBuilder.html) 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/1.0.11+20190703/google_adsense1d4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_adsense1d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adsense1d4/1.0.10+20190703/google_adsense1d4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.ResponseResult.html) 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/1.0.10+20190703/google_adsense1d4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_adsense1d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_adsense1d4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adsense1d4/1.0.11+20190703/google_adsense1d4/trait.RequestValue.html) are 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/cmn.rs b/gen/adsense1d4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adsense1d4/src/cmn.rs +++ b/gen/adsense1d4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adsense1d4/src/lib.rs b/gen/adsense1d4/src/lib.rs index ffbcc6a7c0..8cabaddd4d 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *AdSense* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *AdSense* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/adsense/management/). @@ -381,7 +381,7 @@ impl<'a, C, A> AdSense AdSense { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/adsense/v1.4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -419,7 +419,7 @@ impl<'a, C, A> AdSense } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adsensehost4d1-cli/Cargo.toml b/gen/adsensehost4d1-cli/Cargo.toml index dff129fa2f..ac7739b3d6 100644 --- a/gen/adsensehost4d1-cli/Cargo.toml +++ b/gen/adsensehost4d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsensehost4d1-cli" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsensehost4d1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-adsensehost4d1] path = "../adsensehost4d1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/adsensehost4d1-cli/README.md b/gen/adsensehost4d1-cli/README.md index cf997ed999..feaf5b9452 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *AdSense Host* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash adsensehost4d1 [options] diff --git a/gen/adsensehost4d1-cli/mkdocs.yml b/gen/adsensehost4d1-cli/mkdocs.yml index c79b3cf213..654d777690 100644 --- a/gen/adsensehost4d1-cli/mkdocs.yml +++ b/gen/adsensehost4d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense Host v1.0.10+20190703 +site_name: AdSense Host v1.0.11+20190703 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 bb24f9b2f8..ab29d4b434 100644 --- a/gen/adsensehost4d1-cli/src/main.rs +++ b/gen/adsensehost4d1-cli/src/main.rs @@ -2762,7 +2762,7 @@ fn main() { let mut app = App::new("adsensehost4d1") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 d6c67e17bc..f9c021eb94 100644 --- a/gen/adsensehost4d1/Cargo.toml +++ b/gen/adsensehost4d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsensehost4d1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsensehost4d1" homepage = "https://developers.google.com/adsense/host/" -documentation = "https://docs.rs/google-adsensehost4d1/1.0.10+20190703" +documentation = "https://docs.rs/google-adsensehost4d1/1.0.11+20190703" license = "MIT" keywords = ["adsensehost", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/adsensehost4d1/README.md b/gen/adsensehost4d1/README.md index f2d46159f3..2c7e2beb53 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *AdSense Host* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_adsensehost4d1/struct.AdSenseHost.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AdSenseHost.html) ... -* [accounts](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.Account.html) - * [*adclients get*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdclientGetCall.html), [*adclients list*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdclientListCall.html), [*adunits delete*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitDeleteCall.html), [*adunits get*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitGetAdCodeCall.html), [*adunits insert*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitInsertCall.html), [*adunits list*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitListCall.html), [*adunits patch*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitPatchCall.html), [*adunits update*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountAdunitUpdateCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountListCall.html) and [*reports generate*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AccountReportGenerateCall.html) +* [accounts](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.Account.html) + * [*adclients get*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdclientGetCall.html), [*adclients list*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdclientListCall.html), [*adunits delete*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitDeleteCall.html), [*adunits get*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitGetAdCodeCall.html), [*adunits insert*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitInsertCall.html), [*adunits list*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitListCall.html), [*adunits patch*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitPatchCall.html), [*adunits update*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountAdunitUpdateCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountListCall.html) and [*reports generate*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AccountReportGenerateCall.html) * adclients - * [*get*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AdclientGetCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AdclientListCall.html) + * [*get*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AdclientGetCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AdclientListCall.html) * associationsessions - * [*start*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AssociationsessionStartCall.html) and [*verify*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.AssociationsessionVerifyCall.html) + * [*start*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AssociationsessionStartCall.html) and [*verify*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AssociationsessionVerifyCall.html) * customchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.CustomchannelDeleteCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.CustomchannelGetCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.CustomchannelInsertCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.CustomchannelListCall.html), [*patch*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.CustomchannelPatchCall.html) and [*update*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.CustomchannelUpdateCall.html) -* [reports](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.Report.html) - * [*generate*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.ReportGenerateCall.html) + * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.CustomchannelDeleteCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.CustomchannelGetCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.CustomchannelInsertCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.CustomchannelListCall.html), [*patch*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.CustomchannelPatchCall.html) and [*update*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.CustomchannelUpdateCall.html) +* [reports](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.Report.html) + * [*generate*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.ReportGenerateCall.html) * urlchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.UrlchannelDeleteCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.UrlchannelInsertCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/struct.UrlchannelListCall.html) + * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.UrlchannelDeleteCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.UrlchannelInsertCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.UrlchannelListCall.html) @@ -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/1.0.10+20190703/google_adsensehost4d1/struct.AdSenseHost.html)** +* **[Hub](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/struct.AdSenseHost.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.Part.html)** + * **[Parts](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_adsensehost4d1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.CallBuilder.html) 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/1.0.11+20190703/google_adsensehost4d1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_adsensehost4d1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adsensehost4d1/1.0.10+20190703/google_adsensehost4d1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.ResponseResult.html) 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/1.0.10+20190703/google_adsensehost4d1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_adsensehost4d1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_adsensehost4d1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adsensehost4d1/1.0.11+20190703/google_adsensehost4d1/trait.RequestValue.html) are 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/cmn.rs b/gen/adsensehost4d1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/adsensehost4d1/src/cmn.rs +++ b/gen/adsensehost4d1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/adsensehost4d1/src/lib.rs b/gen/adsensehost4d1/src/lib.rs index 74eb588fb2..2a2767f59b 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *AdSense Host* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *AdSense Host* *v4d1* API can be found at the //! [official documentation site](https://developers.google.com/adsense/host/). @@ -352,7 +352,7 @@ impl<'a, C, A> AdSenseHost AdSenseHost { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/adsensehost/v4.1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -378,7 +378,7 @@ impl<'a, C, A> AdSenseHost } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/alertcenter1_beta1-cli/Cargo.toml b/gen/alertcenter1_beta1-cli/Cargo.toml index 9bd27e5d8d..5255657bca 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 = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with AlertCenter (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/alertcenter1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-alertcenter1_beta1] path = "../alertcenter1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/alertcenter1_beta1-cli/README.md b/gen/alertcenter1_beta1-cli/README.md index 043d5d38b6..66dbbe1c1c 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *AlertCenter* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash alertcenter1-beta1 [options] diff --git a/gen/alertcenter1_beta1-cli/mkdocs.yml b/gen/alertcenter1_beta1-cli/mkdocs.yml index ecdc2cf915..a2b7d59edf 100644 --- a/gen/alertcenter1_beta1-cli/mkdocs.yml +++ b/gen/alertcenter1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AlertCenter v1.0.10+20190628 +site_name: AlertCenter v1.0.11+20190628 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 2abe7b2b34..28e182363f 100644 --- a/gen/alertcenter1_beta1-cli/src/main.rs +++ b/gen/alertcenter1_beta1-cli/src/main.rs @@ -936,7 +936,7 @@ fn main() { let mut app = App::new("alertcenter1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 8c82a78abc..e1278ab98d 100644 --- a/gen/alertcenter1_beta1/Cargo.toml +++ b/gen/alertcenter1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-alertcenter1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with AlertCenter (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/alertcenter1_beta1" homepage = "https://developers.google.com/admin-sdk/alertcenter/" -documentation = "https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628" +documentation = "https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628" license = "MIT" keywords = ["alertcenter", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/alertcenter1_beta1/README.md b/gen/alertcenter1_beta1/README.md index 5dc83c5da5..3c65c9dc12 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *AlertCenter* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertCenter.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertCenter.html) ... -* [alerts](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.Alert.html) - * [*delete*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertDeleteCall.html), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertFeedbackCreateCall.html), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertFeedbackListCall.html), [*get*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertGetCall.html), [*list*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertListCall.html) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertUndeleteCall.html) +* [alerts](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.Alert.html) + * [*delete*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertDeleteCall.html), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertFeedbackCreateCall.html), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertFeedbackListCall.html), [*get*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertGetCall.html), [*list*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertListCall.html) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertUndeleteCall.html) Other activities are ... -* [get settings](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.MethodGetSettingCall.html) -* [update settings](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.MethodUpdateSettingCall.html) +* [get settings](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.MethodGetSettingCall.html) +* [update settings](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.MethodUpdateSettingCall.html) @@ -27,17 +27,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/struct.AlertCenter.html)** +* **[Hub](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/struct.AlertCenter.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/enum.Result.html) 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/1.0.10+20190628/google_alertcenter1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_alertcenter1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.CallBuilder.html) 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/1.0.11+20190628/google_alertcenter1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_alertcenter1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-alertcenter1_beta1/1.0.10+20190628/google_alertcenter1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.ResponseResult.html) 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/1.0.10+20190628/google_alertcenter1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_alertcenter1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_alertcenter1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-alertcenter1_beta1/1.0.11+20190628/google_alertcenter1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/alertcenter1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/alertcenter1_beta1/src/cmn.rs +++ b/gen/alertcenter1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/alertcenter1_beta1/src/lib.rs b/gen/alertcenter1_beta1/src/lib.rs index d63c918cf2..ce2b135e8f 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *AlertCenter* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *AlertCenter* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/alertcenter/). @@ -336,7 +336,7 @@ impl<'a, C, A> AlertCenter AlertCenter { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://alertcenter.googleapis.com/".to_string(), _root_url: "https://alertcenter.googleapis.com/".to_string(), } @@ -350,7 +350,7 @@ impl<'a, C, A> AlertCenter } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/analytics3-cli/Cargo.toml b/gen/analytics3-cli/Cargo.toml index 72c799b76f..a8957524d3 100644 --- a/gen/analytics3-cli/Cargo.toml +++ b/gen/analytics3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analytics3-cli" -version = "1.0.10+20190604" +version = "1.0.11+20190604" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analytics3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-analytics3] path = "../analytics3" -version = "1.0.10+20190604" +version = "1.0.11+20190604" diff --git a/gen/analytics3-cli/README.md b/gen/analytics3-cli/README.md index 0959816a8e..f98104392d 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 *20190604*. The CLI is at version *1.0.10*. +This documentation was generated from the *analytics* API at revision *20190604*. The CLI is at version *1.0.11*. ```bash analytics3 [options] diff --git a/gen/analytics3-cli/mkdocs.yml b/gen/analytics3-cli/mkdocs.yml index 2c1ad62741..c129bb22e7 100644 --- a/gen/analytics3-cli/mkdocs.yml +++ b/gen/analytics3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: analytics v1.0.10+20190604 +site_name: analytics v1.0.11+20190604 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 aa62f2830a..4c257f48fd 100644 --- a/gen/analytics3-cli/src/main.rs +++ b/gen/analytics3-cli/src/main.rs @@ -10383,7 +10383,7 @@ fn main() { let mut app = App::new("analytics3") .author("Sebastian Thiel ") - .version("1.0.10+20190604") + .version("1.0.11+20190604") .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 bf44c70e1b..f7daf8fe6c 100644 --- a/gen/analytics3/Cargo.toml +++ b/gen/analytics3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analytics3" -version = "1.0.10+20190604" +version = "1.0.11+20190604" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analytics3" homepage = "https://developers.google.com/analytics/" -documentation = "https://docs.rs/google-analytics3/1.0.10+20190604" +documentation = "https://docs.rs/google-analytics3/1.0.11+20190604" license = "MIT" keywords = ["analytics", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/analytics3/README.md b/gen/analytics3/README.md index f48f085f1e..1c67491803 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 *1.0.10+20190604*, where *20190604* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *analytics* crate version *1.0.11+20190604*, where *20190604* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190604/google_analytics3/struct.Analytics.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.Analytics.html) ... * data - * [*ga get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.DataGaGetCall.html), [*mcf get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.DataMcfGetCall.html) and [*realtime get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.DataRealtimeGetCall.html) + * [*ga get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.DataGaGetCall.html), [*mcf get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.DataMcfGetCall.html) and [*realtime get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.DataRealtimeGetCall.html) * management - * [*account summaries list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementAccountSummaryListCall.html), [*account user links delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementAccountUserLinkDeleteCall.html), [*account user links insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementAccountUserLinkInsertCall.html), [*account user links list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementAccountUserLinkListCall.html), [*account user links update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementAccountUserLinkUpdateCall.html), [*accounts list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementAccountListCall.html), [*client id hash client id*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementClientIdHashClientIdCall.html), [*custom data sources list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomDataSourceListCall.html), [*custom dimensions get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomDimensionGetCall.html), [*custom dimensions insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomDimensionInsertCall.html), [*custom dimensions list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomDimensionListCall.html), [*custom dimensions patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomDimensionPatchCall.html), [*custom dimensions update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomDimensionUpdateCall.html), [*custom metrics get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomMetricGetCall.html), [*custom metrics insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomMetricInsertCall.html), [*custom metrics list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomMetricListCall.html), [*custom metrics patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomMetricPatchCall.html), [*custom metrics update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementCustomMetricUpdateCall.html), [*experiments delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementExperimentDeleteCall.html), [*experiments get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementExperimentGetCall.html), [*experiments insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementExperimentInsertCall.html), [*experiments list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementExperimentListCall.html), [*experiments patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementExperimentPatchCall.html), [*experiments update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementExperimentUpdateCall.html), [*filters delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementFilterDeleteCall.html), [*filters get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementFilterGetCall.html), [*filters insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementFilterInsertCall.html), [*filters list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementFilterListCall.html), [*filters patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementFilterPatchCall.html), [*filters update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementFilterUpdateCall.html), [*goals get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementGoalGetCall.html), [*goals insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementGoalInsertCall.html), [*goals list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementGoalListCall.html), [*goals patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementGoalPatchCall.html), [*goals update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementGoalUpdateCall.html), [*profile filter links delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileFilterLinkDeleteCall.html), [*profile filter links get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileFilterLinkGetCall.html), [*profile filter links insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileFilterLinkInsertCall.html), [*profile filter links list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileFilterLinkListCall.html), [*profile filter links patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileFilterLinkPatchCall.html), [*profile filter links update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileFilterLinkUpdateCall.html), [*profile user links delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileUserLinkDeleteCall.html), [*profile user links insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileUserLinkInsertCall.html), [*profile user links list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileUserLinkListCall.html), [*profile user links update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileUserLinkUpdateCall.html), [*profiles delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileDeleteCall.html), [*profiles get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileGetCall.html), [*profiles insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileInsertCall.html), [*profiles list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileListCall.html), [*profiles patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfilePatchCall.html), [*profiles update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementProfileUpdateCall.html), [*remarketing audience delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementRemarketingAudienceDeleteCall.html), [*remarketing audience get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementRemarketingAudienceGetCall.html), [*remarketing audience insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementRemarketingAudienceInsertCall.html), [*remarketing audience list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementRemarketingAudienceListCall.html), [*remarketing audience patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementRemarketingAudiencePatchCall.html), [*remarketing audience update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementRemarketingAudienceUpdateCall.html), [*segments list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementSegmentListCall.html), [*unsampled reports delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUnsampledReportDeleteCall.html), [*unsampled reports get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUnsampledReportGetCall.html), [*unsampled reports insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUnsampledReportInsertCall.html), [*unsampled reports list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUnsampledReportListCall.html), [*uploads delete upload data*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUploadDeleteUploadDataCall.html), [*uploads get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUploadGetCall.html), [*uploads list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUploadListCall.html), [*uploads upload data*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUploadUploadDataCall.html), [*web property ad words links delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkDeleteCall.html), [*web property ad words links get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkGetCall.html), [*web property ad words links insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkInsertCall.html), [*web property ad words links list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkListCall.html), [*web property ad words links patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkPatchCall.html), [*web property ad words links update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkUpdateCall.html), [*webproperties get*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyGetCall.html), [*webproperties insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyInsertCall.html), [*webproperties list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyListCall.html), [*webproperties patch*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyPatchCall.html), [*webproperties update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyUpdateCall.html), [*webproperty user links delete*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkDeleteCall.html), [*webproperty user links insert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkInsertCall.html), [*webproperty user links list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkListCall.html) and [*webproperty user links update*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkUpdateCall.html) + * [*account summaries list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementAccountSummaryListCall.html), [*account user links delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementAccountUserLinkDeleteCall.html), [*account user links insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementAccountUserLinkInsertCall.html), [*account user links list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementAccountUserLinkListCall.html), [*account user links update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementAccountUserLinkUpdateCall.html), [*accounts list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementAccountListCall.html), [*client id hash client id*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementClientIdHashClientIdCall.html), [*custom data sources list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomDataSourceListCall.html), [*custom dimensions get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomDimensionGetCall.html), [*custom dimensions insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomDimensionInsertCall.html), [*custom dimensions list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomDimensionListCall.html), [*custom dimensions patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomDimensionPatchCall.html), [*custom dimensions update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomDimensionUpdateCall.html), [*custom metrics get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomMetricGetCall.html), [*custom metrics insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomMetricInsertCall.html), [*custom metrics list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomMetricListCall.html), [*custom metrics patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomMetricPatchCall.html), [*custom metrics update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementCustomMetricUpdateCall.html), [*experiments delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementExperimentDeleteCall.html), [*experiments get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementExperimentGetCall.html), [*experiments insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementExperimentInsertCall.html), [*experiments list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementExperimentListCall.html), [*experiments patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementExperimentPatchCall.html), [*experiments update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementExperimentUpdateCall.html), [*filters delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementFilterDeleteCall.html), [*filters get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementFilterGetCall.html), [*filters insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementFilterInsertCall.html), [*filters list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementFilterListCall.html), [*filters patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementFilterPatchCall.html), [*filters update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementFilterUpdateCall.html), [*goals get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementGoalGetCall.html), [*goals insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementGoalInsertCall.html), [*goals list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementGoalListCall.html), [*goals patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementGoalPatchCall.html), [*goals update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementGoalUpdateCall.html), [*profile filter links delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileFilterLinkDeleteCall.html), [*profile filter links get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileFilterLinkGetCall.html), [*profile filter links insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileFilterLinkInsertCall.html), [*profile filter links list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileFilterLinkListCall.html), [*profile filter links patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileFilterLinkPatchCall.html), [*profile filter links update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileFilterLinkUpdateCall.html), [*profile user links delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileUserLinkDeleteCall.html), [*profile user links insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileUserLinkInsertCall.html), [*profile user links list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileUserLinkListCall.html), [*profile user links update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileUserLinkUpdateCall.html), [*profiles delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileDeleteCall.html), [*profiles get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileGetCall.html), [*profiles insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileInsertCall.html), [*profiles list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileListCall.html), [*profiles patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfilePatchCall.html), [*profiles update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementProfileUpdateCall.html), [*remarketing audience delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementRemarketingAudienceDeleteCall.html), [*remarketing audience get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementRemarketingAudienceGetCall.html), [*remarketing audience insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementRemarketingAudienceInsertCall.html), [*remarketing audience list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementRemarketingAudienceListCall.html), [*remarketing audience patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementRemarketingAudiencePatchCall.html), [*remarketing audience update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementRemarketingAudienceUpdateCall.html), [*segments list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementSegmentListCall.html), [*unsampled reports delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUnsampledReportDeleteCall.html), [*unsampled reports get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUnsampledReportGetCall.html), [*unsampled reports insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUnsampledReportInsertCall.html), [*unsampled reports list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUnsampledReportListCall.html), [*uploads delete upload data*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUploadDeleteUploadDataCall.html), [*uploads get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUploadGetCall.html), [*uploads list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUploadListCall.html), [*uploads upload data*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUploadUploadDataCall.html), [*web property ad words links delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkDeleteCall.html), [*web property ad words links get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkGetCall.html), [*web property ad words links insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkInsertCall.html), [*web property ad words links list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkListCall.html), [*web property ad words links patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkPatchCall.html), [*web property ad words links update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebPropertyAdWordsLinkUpdateCall.html), [*webproperties get*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyGetCall.html), [*webproperties insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyInsertCall.html), [*webproperties list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyListCall.html), [*webproperties patch*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyPatchCall.html), [*webproperties update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyUpdateCall.html), [*webproperty user links delete*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkDeleteCall.html), [*webproperty user links insert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkInsertCall.html), [*webproperty user links list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkListCall.html) and [*webproperty user links update*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementWebpropertyUserLinkUpdateCall.html) * metadata - * [*columns list*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.MetadataColumnListCall.html) + * [*columns list*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.MetadataColumnListCall.html) * provisioning - * [*create account ticket*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ProvisioningCreateAccountTicketCall.html) and [*create account tree*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ProvisioningCreateAccountTreeCall.html) + * [*create account ticket*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ProvisioningCreateAccountTicketCall.html) and [*create account tree*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ProvisioningCreateAccountTreeCall.html) * user deletion - * [*user deletion request upsert*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.UserDeletionUserDeletionRequestUpsertCall.html) + * [*user deletion request upsert*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.UserDeletionUserDeletionRequestUpsertCall.html) Upload supported by ... -* [*uploads upload data management*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.ManagementUploadUploadDataCall.html) +* [*uploads upload data management*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.ManagementUploadUploadDataCall.html) @@ -35,17 +35,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/struct.Analytics.html)** +* **[Hub](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/struct.Analytics.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.Part.html)** + * **[Parts](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190604/google_analytics3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-analytics3/1.0.10+20190604/google_analytics3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.CallBuilder.html) 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/1.0.11+20190604/google_analytics3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190604/google_analytics3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-analytics3/1.0.10+20190604/google_analytics3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.ResponseResult.html) 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/1.0.10+20190604/google_analytics3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190604/google_analytics3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190604/google_analytics3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-analytics3/1.0.11+20190604/google_analytics3/trait.RequestValue.html) are 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/cmn.rs b/gen/analytics3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/analytics3/src/cmn.rs +++ b/gen/analytics3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/analytics3/src/lib.rs b/gen/analytics3/src/lib.rs index d0e52cd411..c5f63b1334 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 *1.0.10+20190604*, where *20190604* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *analytics* crate version *1.0.11+20190604*, where *20190604* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *analytics* *v3* API can be found at the //! [official documentation site](https://developers.google.com/analytics/). @@ -370,7 +370,7 @@ impl<'a, C, A> Analytics Analytics { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/analytics/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -393,7 +393,7 @@ impl<'a, C, A> Analytics } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/analyticsreporting4-cli/Cargo.toml b/gen/analyticsreporting4-cli/Cargo.toml index 0be8f4c475..024a70c6dc 100644 --- a/gen/analyticsreporting4-cli/Cargo.toml +++ b/gen/analyticsreporting4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsreporting4-cli" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsReporting (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analyticsreporting4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-analyticsreporting4] path = "../analyticsreporting4" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/analyticsreporting4-cli/README.md b/gen/analyticsreporting4-cli/README.md index 323a42177a..54a832f10f 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *AnalyticsReporting* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash analyticsreporting4 [options] diff --git a/gen/analyticsreporting4-cli/mkdocs.yml b/gen/analyticsreporting4-cli/mkdocs.yml index 57649ba0ee..52967ae090 100644 --- a/gen/analyticsreporting4-cli/mkdocs.yml +++ b/gen/analyticsreporting4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsReporting v1.0.10+20190625 +site_name: AnalyticsReporting v1.0.11+20190625 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 2438fe8489..6dbaf45d26 100644 --- a/gen/analyticsreporting4-cli/src/main.rs +++ b/gen/analyticsreporting4-cli/src/main.rs @@ -389,7 +389,7 @@ fn main() { let mut app = App::new("analyticsreporting4") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .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 a68bfd524f..538b0a45ba 100644 --- a/gen/analyticsreporting4/Cargo.toml +++ b/gen/analyticsreporting4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsreporting4" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsReporting (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analyticsreporting4" homepage = "https://developers.google.com/analytics/devguides/reporting/core/v4/" -documentation = "https://docs.rs/google-analyticsreporting4/1.0.10+20190625" +documentation = "https://docs.rs/google-analyticsreporting4/1.0.11+20190625" license = "MIT" keywords = ["analyticsreporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/analyticsreporting4/README.md b/gen/analyticsreporting4/README.md index b467c2a084..e20ee49f33 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *AnalyticsReporting* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190625/google_analyticsreporting4/struct.AnalyticsReporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/struct.AnalyticsReporting.html) ... -* [reports](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/struct.Report.html) - * [*batch get*](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/struct.ReportBatchGetCall.html) +* [reports](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/struct.Report.html) + * [*batch get*](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/struct.ReportBatchGetCall.html) * user activity - * [*search*](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/struct.UserActivitySearchCall.html) + * [*search*](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/struct.UserActivitySearchCall.html) @@ -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/1.0.10+20190625/google_analyticsreporting4/struct.AnalyticsReporting.html)** +* **[Hub](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/struct.AnalyticsReporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.Part.html)** + * **[Parts](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_analyticsreporting4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.CallBuilder.html) 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/1.0.11+20190625/google_analyticsreporting4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_analyticsreporting4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-analyticsreporting4/1.0.10+20190625/google_analyticsreporting4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.ResponseResult.html) 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/1.0.10+20190625/google_analyticsreporting4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_analyticsreporting4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_analyticsreporting4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-analyticsreporting4/1.0.11+20190625/google_analyticsreporting4/trait.RequestValue.html) are 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/cmn.rs b/gen/analyticsreporting4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/analyticsreporting4/src/cmn.rs +++ b/gen/analyticsreporting4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/analyticsreporting4/src/lib.rs b/gen/analyticsreporting4/src/lib.rs index ded37dcb85..afa7b9309f 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *AnalyticsReporting* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *AnalyticsReporting* *v4* API can be found at the //! [official documentation site](https://developers.google.com/analytics/devguides/reporting/core/v4/). @@ -335,7 +335,7 @@ impl<'a, C, A> AnalyticsReporting AnalyticsReporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://analyticsreporting.googleapis.com/".to_string(), _root_url: "https://analyticsreporting.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> AnalyticsReporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androiddeviceprovisioning1-cli/Cargo.toml b/gen/androiddeviceprovisioning1-cli/Cargo.toml index 1394c5a7cf..05a59e143d 100644 --- a/gen/androiddeviceprovisioning1-cli/Cargo.toml +++ b/gen/androiddeviceprovisioning1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androiddeviceprovisioning1-cli" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Provisioning Partner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androiddeviceprovisioning1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-androiddeviceprovisioning1] path = "../androiddeviceprovisioning1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/androiddeviceprovisioning1-cli/README.md b/gen/androiddeviceprovisioning1-cli/README.md index cce545e763..55fa4c9c11 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 *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Android Provisioning Partner* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash androiddeviceprovisioning1 [options] diff --git a/gen/androiddeviceprovisioning1-cli/mkdocs.yml b/gen/androiddeviceprovisioning1-cli/mkdocs.yml index 6fe611114a..48c8419241 100644 --- a/gen/androiddeviceprovisioning1-cli/mkdocs.yml +++ b/gen/androiddeviceprovisioning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Provisioning Partner v1.0.10+20190622 +site_name: Android Provisioning Partner v1.0.11+20190622 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 91ad4d3b34..3a26cfceb7 100644 --- a/gen/androiddeviceprovisioning1-cli/src/main.rs +++ b/gen/androiddeviceprovisioning1-cli/src/main.rs @@ -2787,7 +2787,7 @@ fn main() { let mut app = App::new("androiddeviceprovisioning1") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .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 04c4e3a08b..81d66adc7b 100644 --- a/gen/androiddeviceprovisioning1/Cargo.toml +++ b/gen/androiddeviceprovisioning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androiddeviceprovisioning1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Provisioning Partner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androiddeviceprovisioning1" homepage = "https://developers.google.com/zero-touch/" -documentation = "https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622" +documentation = "https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622" license = "MIT" keywords = ["androiddeviceprovisi", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/androiddeviceprovisioning1/README.md b/gen/androiddeviceprovisioning1/README.md index 7c23494379..ea5f4e875e 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Android Provisioning Partner* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190622/google_androiddeviceprovisioning1/struct.AndroidProvisioningPartner.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.AndroidProvisioningPartner.html) ... * customers - * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationCreateCall.html), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationDeleteCall.html), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationGetCall.html), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationListCall.html), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationPatchCall.html), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceApplyConfigurationCall.html), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceGetCall.html), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceListCall.html), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceRemoveConfigurationCall.html), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceUnclaimCall.html), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerDpcListCall.html) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.CustomerListCall.html) -* [operations](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.Operation.html) - * [*get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.OperationGetCall.html) + * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationCreateCall.html), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationDeleteCall.html), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationGetCall.html), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationListCall.html), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerConfigurationPatchCall.html), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceApplyConfigurationCall.html), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceGetCall.html), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceListCall.html), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceRemoveConfigurationCall.html), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerDeviceUnclaimCall.html), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerDpcListCall.html) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.CustomerListCall.html) +* [operations](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.Operation.html) + * [*get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.OperationGetCall.html) * partners - * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerCustomerCreateCall.html), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerCustomerListCall.html), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceClaimCall.html), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceClaimAsyncCall.html), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceFindByIdentifierCall.html), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceFindByOwnerCall.html), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceGetCall.html), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceMetadataCall.html), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceUnclaimCall.html), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceUnclaimAsyncCall.html), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceUpdateMetadataAsyncCall.html), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerVendorCustomerListCall.html) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/struct.PartnerVendorListCall.html) + * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerCustomerCreateCall.html), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerCustomerListCall.html), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceClaimCall.html), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceClaimAsyncCall.html), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceFindByIdentifierCall.html), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceFindByOwnerCall.html), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceGetCall.html), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceMetadataCall.html), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceUnclaimCall.html), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceUnclaimAsyncCall.html), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerDeviceUpdateMetadataAsyncCall.html), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerVendorCustomerListCall.html) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.PartnerVendorListCall.html) @@ -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/1.0.10+20190622/google_androiddeviceprovisioning1/struct.AndroidProvisioningPartner.html)** +* **[Hub](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/struct.AndroidProvisioningPartner.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.Part.html)** + * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190622/google_androiddeviceprovisioning1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html) 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/1.0.11+20190622/google_androiddeviceprovisioning1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190622/google_androiddeviceprovisioning1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androiddeviceprovisioning1/1.0.10+20190622/google_androiddeviceprovisioning1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.ResponseResult.html) 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/1.0.10+20190622/google_androiddeviceprovisioning1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190622/google_androiddeviceprovisioning1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androiddeviceprovisioning1/1.0.11+20190622/google_androiddeviceprovisioning1/trait.RequestValue.html) are 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/cmn.rs b/gen/androiddeviceprovisioning1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/androiddeviceprovisioning1/src/cmn.rs +++ b/gen/androiddeviceprovisioning1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/androiddeviceprovisioning1/src/lib.rs b/gen/androiddeviceprovisioning1/src/lib.rs index 2475d1aa4f..309a2ac3a9 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Android Provisioning Partner* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Android Provisioning Partner* *v1* API can be found at the //! [official documentation site](https://developers.google.com/zero-touch/). @@ -315,7 +315,7 @@ impl<'a, C, A> AndroidProvisioningPartner AndroidProvisioningPartner { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://androiddeviceprovisioning.googleapis.com/".to_string(), _root_url: "https://androiddeviceprovisioning.googleapis.com/".to_string(), } @@ -332,7 +332,7 @@ impl<'a, C, A> AndroidProvisioningPartner } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidenterprise1-cli/Cargo.toml b/gen/androidenterprise1-cli/Cargo.toml index 4813f457db..5e813322f8 100644 --- a/gen/androidenterprise1-cli/Cargo.toml +++ b/gen/androidenterprise1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidenterprise1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidenterprise1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-androidenterprise1] path = "../androidenterprise1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/androidenterprise1-cli/README.md b/gen/androidenterprise1-cli/README.md index 2dd0a47796..75cf84242b 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Android Enterprise* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash androidenterprise1 [options] diff --git a/gen/androidenterprise1-cli/mkdocs.yml b/gen/androidenterprise1-cli/mkdocs.yml index 6c061c15ba..995f74f206 100644 --- a/gen/androidenterprise1-cli/mkdocs.yml +++ b/gen/androidenterprise1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Enterprise v1.0.10+20190624 +site_name: Android Enterprise v1.0.11+20190624 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 b9d20085c5..7ad1c5c42e 100644 --- a/gen/androidenterprise1-cli/src/main.rs +++ b/gen/androidenterprise1-cli/src/main.rs @@ -8656,7 +8656,7 @@ fn main() { let mut app = App::new("androidenterprise1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .about("Manages the deployment of apps to Android for Work users.") .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 27935964c1..3902307849 100644 --- a/gen/androidenterprise1/Cargo.toml +++ b/gen/androidenterprise1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidenterprise1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidenterprise1" homepage = "https://developers.google.com/android/work/play/emm-api" -documentation = "https://docs.rs/google-androidenterprise1/1.0.10+20190624" +documentation = "https://docs.rs/google-androidenterprise1/1.0.11+20190624" license = "MIT" keywords = ["androidenterprise", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/androidenterprise1/README.md b/gen/androidenterprise1/README.md index 6105e942c6..d6ad602a44 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Android Enterprise* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_androidenterprise1/struct.AndroidEnterprise.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.AndroidEnterprise.html) ... -* [devices](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.Device.html) - * [*force report upload*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DeviceForceReportUploadCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DeviceGetCall.html), [*get state*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DeviceGetStateCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DeviceListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DevicePatchCall.html), [*set state*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DeviceSetStateCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.DeviceUpdateCall.html) -* [enterprises](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.Enterprise.html) - * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseAcknowledgeNotificationSetCall.html), [*complete signup*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseCompleteSignupCall.html), [*create web token*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseCreateWebTokenCall.html), [*enroll*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseEnrollCall.html), [*generate signup url*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseGenerateSignupUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseGetCall.html), [*get service account*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseGetServiceAccountCall.html), [*get store layout*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseGetStoreLayoutCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseListCall.html), [*pull notification set*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterprisePullNotificationSetCall.html), [*send test push notification*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseSendTestPushNotificationCall.html), [*set account*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseSetAccountCall.html), [*set store layout*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseSetStoreLayoutCall.html) and [*unenroll*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EnterpriseUnenrollCall.html) -* [entitlements](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.Entitlement.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EntitlementDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EntitlementGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EntitlementListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EntitlementPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.EntitlementUpdateCall.html) +* [devices](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.Device.html) + * [*force report upload*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DeviceForceReportUploadCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DeviceGetCall.html), [*get state*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DeviceGetStateCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DeviceListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DevicePatchCall.html), [*set state*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DeviceSetStateCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.DeviceUpdateCall.html) +* [enterprises](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.Enterprise.html) + * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseAcknowledgeNotificationSetCall.html), [*complete signup*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseCompleteSignupCall.html), [*create web token*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseCreateWebTokenCall.html), [*enroll*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseEnrollCall.html), [*generate signup url*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseGenerateSignupUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseGetCall.html), [*get service account*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseGetServiceAccountCall.html), [*get store layout*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseGetStoreLayoutCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseListCall.html), [*pull notification set*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterprisePullNotificationSetCall.html), [*send test push notification*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseSendTestPushNotificationCall.html), [*set account*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseSetAccountCall.html), [*set store layout*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseSetStoreLayoutCall.html) and [*unenroll*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EnterpriseUnenrollCall.html) +* [entitlements](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.Entitlement.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EntitlementDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EntitlementGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EntitlementListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EntitlementPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.EntitlementUpdateCall.html) * grouplicenses - * [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.GrouplicenseGetCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.GrouplicenseListCall.html) + * [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.GrouplicenseGetCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.GrouplicenseListCall.html) * grouplicenseusers - * [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.GrouplicenseuserListCall.html) -* [installs](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.Install.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.InstallDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.InstallGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.InstallListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.InstallPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.InstallUpdateCall.html) + * [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.GrouplicenseuserListCall.html) +* [installs](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.Install.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.InstallDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.InstallGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.InstallListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.InstallPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.InstallUpdateCall.html) * managedconfigurationsfordevice - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordevicePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordevicePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsfordeviceUpdateCall.html) * managedconfigurationsforuser - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationsforuserUpdateCall.html) * managedconfigurationssettings - * [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ManagedconfigurationssettingListCall.html) -* [permissions](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.Permission.html) - * [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.PermissionGetCall.html) -* [products](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.Product.html) - * [*approve*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductApproveCall.html), [*generate approval url*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductGenerateApprovalUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductGetCall.html), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductGetAppRestrictionsSchemaCall.html), [*get permissions*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductGetPermissionCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductListCall.html) and [*unapprove*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ProductUnapproveCall.html) + * [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ManagedconfigurationssettingListCall.html) +* [permissions](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.Permission.html) + * [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.PermissionGetCall.html) +* [products](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.Product.html) + * [*approve*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductApproveCall.html), [*generate approval url*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductGenerateApprovalUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductGetCall.html), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductGetAppRestrictionsSchemaCall.html), [*get permissions*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductGetPermissionCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductListCall.html) and [*unapprove*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ProductUnapproveCall.html) * serviceaccountkeys - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ServiceaccountkeyDeleteCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ServiceaccountkeyInsertCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.ServiceaccountkeyListCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ServiceaccountkeyDeleteCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ServiceaccountkeyInsertCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.ServiceaccountkeyListCall.html) * storelayoutclusters - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutclusterDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutclusterGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutclusterInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutclusterListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutclusterPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutclusterUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutclusterDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutclusterGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutclusterInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutclusterListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutclusterPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutclusterUpdateCall.html) * storelayoutpages - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutpageDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutpageGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutpageInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutpageListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutpagePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.StorelayoutpageUpdateCall.html) -* [users](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.User.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserDeleteCall.html), [*generate authentication token*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserGenerateAuthenticationTokenCall.html), [*generate token*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserGenerateTokenCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserGetCall.html), [*get available product set*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserGetAvailableProductSetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserPatchCall.html), [*revoke device access*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserRevokeDeviceAccesCall.html), [*revoke token*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserRevokeTokenCall.html), [*set available product set*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserSetAvailableProductSetCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.UserUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutpageDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutpageGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutpageInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutpageListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutpagePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.StorelayoutpageUpdateCall.html) +* [users](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.User.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserDeleteCall.html), [*generate authentication token*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserGenerateAuthenticationTokenCall.html), [*generate token*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserGenerateTokenCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserGetCall.html), [*get available product set*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserGetAvailableProductSetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserPatchCall.html), [*revoke device access*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserRevokeDeviceAccesCall.html), [*revoke token*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserRevokeTokenCall.html), [*set available product set*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserSetAvailableProductSetCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.UserUpdateCall.html) * webapps - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.WebappDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.WebappGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.WebappInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.WebappListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.WebappPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/struct.WebappUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.WebappDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.WebappGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.WebappInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.WebappListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.WebappPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.WebappUpdateCall.html) @@ -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/1.0.10+20190624/google_androidenterprise1/struct.AndroidEnterprise.html)** +* **[Hub](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/struct.AndroidEnterprise.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.Part.html)** + * **[Parts](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -168,17 +168,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_androidenterprise1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -188,29 +188,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190624/google_androidenterprise1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.CallBuilder.html) 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/1.0.11+20190624/google_androidenterprise1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_androidenterprise1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androidenterprise1/1.0.10+20190624/google_androidenterprise1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.ResponseResult.html) 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/1.0.10+20190624/google_androidenterprise1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_androidenterprise1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_androidenterprise1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androidenterprise1/1.0.11+20190624/google_androidenterprise1/trait.RequestValue.html) are 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/cmn.rs b/gen/androidenterprise1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/androidenterprise1/src/cmn.rs +++ b/gen/androidenterprise1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs index 5eea0f4f19..2274fb80ff 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Android Enterprise* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -362,7 +362,7 @@ impl<'a, C, A> AndroidEnterprise AndroidEnterprise { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/androidenterprise/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -418,7 +418,7 @@ impl<'a, C, A> AndroidEnterprise } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidmanagement1-cli/Cargo.toml b/gen/androidmanagement1-cli/Cargo.toml index 006b2f1f5b..a2a1de956b 100644 --- a/gen/androidmanagement1-cli/Cargo.toml +++ b/gen/androidmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidmanagement1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidmanagement1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-androidmanagement1] path = "../androidmanagement1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/androidmanagement1-cli/README.md b/gen/androidmanagement1-cli/README.md index 850b5c2b83..020e09ba4b 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Android Management* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash androidmanagement1 [options] diff --git a/gen/androidmanagement1-cli/mkdocs.yml b/gen/androidmanagement1-cli/mkdocs.yml index ad367a58ae..5684841de4 100644 --- a/gen/androidmanagement1-cli/mkdocs.yml +++ b/gen/androidmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Management v1.0.10+20190624 +site_name: Android Management v1.0.11+20190624 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 ca1a2132a9..ae6611cc1b 100644 --- a/gen/androidmanagement1-cli/src/main.rs +++ b/gen/androidmanagement1-cli/src/main.rs @@ -2766,7 +2766,7 @@ fn main() { let mut app = App::new("androidmanagement1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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 62e09d6e44..3d402df083 100644 --- a/gen/androidmanagement1/Cargo.toml +++ b/gen/androidmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidmanagement1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidmanagement1" homepage = "https://developers.google.com/android/management" -documentation = "https://docs.rs/google-androidmanagement1/1.0.10+20190624" +documentation = "https://docs.rs/google-androidmanagement1/1.0.11+20190624" license = "MIT" keywords = ["androidmanagement", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/androidmanagement1/README.md b/gen/androidmanagement1/README.md index cb7b839130..9bfff6c43b 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Android Management* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_androidmanagement1/struct.AndroidManagement.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.AndroidManagement.html) ... -* [enterprises](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.Enterprise.html) - * [*applications get*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseApplicationGetCall.html), [*create*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseCreateCall.html), [*devices delete*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceDeleteCall.html), [*devices get*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceGetCall.html), [*devices issue command*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceIssueCommandCall.html), [*devices list*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceListCall.html), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationCancelCall.html), [*devices operations delete*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationDeleteCall.html), [*devices operations get*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationGetCall.html), [*devices operations list*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationListCall.html), [*devices patch*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseDevicePatchCall.html), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseEnrollmentTokenCreateCall.html), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseEnrollmentTokenDeleteCall.html), [*get*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseGetCall.html), [*patch*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterprisePatchCall.html), [*policies delete*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterprisePolicyDeleteCall.html), [*policies get*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterprisePolicyGetCall.html), [*policies list*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterprisePolicyListCall.html), [*policies patch*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterprisePolicyPatchCall.html), [*web apps create*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseWebAppCreateCall.html), [*web apps delete*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseWebAppDeleteCall.html), [*web apps get*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseWebAppGetCall.html), [*web apps list*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseWebAppListCall.html), [*web apps patch*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseWebAppPatchCall.html) and [*web tokens create*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.EnterpriseWebTokenCreateCall.html) -* [signup urls](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.SignupUrl.html) - * [*create*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/struct.SignupUrlCreateCall.html) +* [enterprises](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.Enterprise.html) + * [*applications get*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseApplicationGetCall.html), [*create*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseCreateCall.html), [*devices delete*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceDeleteCall.html), [*devices get*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceGetCall.html), [*devices issue command*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceIssueCommandCall.html), [*devices list*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceListCall.html), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationCancelCall.html), [*devices operations delete*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationDeleteCall.html), [*devices operations get*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationGetCall.html), [*devices operations list*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDeviceOperationListCall.html), [*devices patch*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseDevicePatchCall.html), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseEnrollmentTokenCreateCall.html), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseEnrollmentTokenDeleteCall.html), [*get*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseGetCall.html), [*patch*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterprisePatchCall.html), [*policies delete*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterprisePolicyDeleteCall.html), [*policies get*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterprisePolicyGetCall.html), [*policies list*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterprisePolicyListCall.html), [*policies patch*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterprisePolicyPatchCall.html), [*web apps create*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseWebAppCreateCall.html), [*web apps delete*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseWebAppDeleteCall.html), [*web apps get*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseWebAppGetCall.html), [*web apps list*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseWebAppListCall.html), [*web apps patch*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseWebAppPatchCall.html) and [*web tokens create*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.EnterpriseWebTokenCreateCall.html) +* [signup urls](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.SignupUrl.html) + * [*create*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.SignupUrlCreateCall.html) @@ -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/1.0.10+20190624/google_androidmanagement1/struct.AndroidManagement.html)** +* **[Hub](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/struct.AndroidManagement.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.Part.html)** + * **[Parts](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -159,17 +159,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_androidmanagement1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -179,29 +179,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190624/google_androidmanagement1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.CallBuilder.html) 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/1.0.11+20190624/google_androidmanagement1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_androidmanagement1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androidmanagement1/1.0.10+20190624/google_androidmanagement1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.ResponseResult.html) 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/1.0.10+20190624/google_androidmanagement1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_androidmanagement1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_androidmanagement1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androidmanagement1/1.0.11+20190624/google_androidmanagement1/trait.RequestValue.html) are 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/cmn.rs b/gen/androidmanagement1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/androidmanagement1/src/cmn.rs +++ b/gen/androidmanagement1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/androidmanagement1/src/lib.rs b/gen/androidmanagement1/src/lib.rs index b88ca3bad7..29421cef92 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Android Management* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Android Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/management). @@ -361,7 +361,7 @@ impl<'a, C, A> AndroidManagement AndroidManagement { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://androidmanagement.googleapis.com/".to_string(), _root_url: "https://androidmanagement.googleapis.com/".to_string(), } @@ -375,7 +375,7 @@ impl<'a, C, A> AndroidManagement } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidpublisher2-cli/Cargo.toml b/gen/androidpublisher2-cli/Cargo.toml index b493699dbf..ba6a22e35a 100644 --- a/gen/androidpublisher2-cli/Cargo.toml +++ b/gen/androidpublisher2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher2-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidpublisher2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-androidpublisher2] path = "../androidpublisher2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/androidpublisher2-cli/README.md b/gen/androidpublisher2-cli/README.md index f1931b955d..a1bbf1f99c 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Android Publisher* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash androidpublisher2 [options] diff --git a/gen/androidpublisher2-cli/mkdocs.yml b/gen/androidpublisher2-cli/mkdocs.yml index 81c7759189..b8dd7e9237 100644 --- a/gen/androidpublisher2-cli/mkdocs.yml +++ b/gen/androidpublisher2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v1.0.10+20190702 +site_name: Android Publisher v1.0.11+20190702 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 e376bf9969..95900c283e 100644 --- a/gen/androidpublisher2-cli/src/main.rs +++ b/gen/androidpublisher2-cli/src/main.rs @@ -6036,7 +6036,7 @@ fn main() { let mut app = App::new("androidpublisher2") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 6884e98288..e104ecf873 100644 --- a/gen/androidpublisher2/Cargo.toml +++ b/gen/androidpublisher2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidpublisher2" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher2/1.0.10+20190702" +documentation = "https://docs.rs/google-androidpublisher2/1.0.11+20190702" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/androidpublisher2/README.md b/gen/androidpublisher2/README.md index edf07fe18e..81a799924f 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Android Publisher* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_androidpublisher2/struct.AndroidPublisher.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.AndroidPublisher.html) ... * edits - * [*apklistings delete*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApklistingDeleteCall.html), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApklistingDeleteallCall.html), [*apklistings get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApklistingGetCall.html), [*apklistings list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApklistingListCall.html), [*apklistings patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApklistingPatchCall.html), [*apklistings update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApklistingUpdateCall.html), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApkAddexternallyhostedCall.html), [*apks list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApkListCall.html), [*apks upload*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApkUploadCall.html), [*bundles list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditBundleListCall.html), [*bundles upload*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditBundleUploadCall.html), [*commit*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditCommitCall.html), [*delete*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditDeleteCall.html), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html), [*details get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditDetailGetCall.html), [*details patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditDetailPatchCall.html), [*details update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditDetailUpdateCall.html), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditExpansionfileGetCall.html), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditExpansionfilePatchCall.html), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditExpansionfileUpdateCall.html), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditExpansionfileUploadCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditGetCall.html), [*images delete*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditImageDeleteCall.html), [*images deleteall*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditImageDeleteallCall.html), [*images list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditImageListCall.html), [*images upload*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditImageUploadCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditInsertCall.html), [*listings delete*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditListingDeleteCall.html), [*listings deleteall*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditListingDeleteallCall.html), [*listings get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditListingGetCall.html), [*listings list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditListingListCall.html), [*listings patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditListingPatchCall.html), [*listings update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditListingUpdateCall.html), [*testers get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTesterGetCall.html), [*testers patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTesterPatchCall.html), [*testers update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTesterUpdateCall.html), [*tracks get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTrackGetCall.html), [*tracks list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTrackListCall.html), [*tracks patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTrackPatchCall.html), [*tracks update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditTrackUpdateCall.html) and [*validate*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditValidateCall.html) + * [*apklistings delete*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApklistingDeleteCall.html), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApklistingDeleteallCall.html), [*apklistings get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApklistingGetCall.html), [*apklistings list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApklistingListCall.html), [*apklistings patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApklistingPatchCall.html), [*apklistings update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApklistingUpdateCall.html), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApkAddexternallyhostedCall.html), [*apks list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApkListCall.html), [*apks upload*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApkUploadCall.html), [*bundles list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditBundleListCall.html), [*bundles upload*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditBundleUploadCall.html), [*commit*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditCommitCall.html), [*delete*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditDeleteCall.html), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html), [*details get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditDetailGetCall.html), [*details patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditDetailPatchCall.html), [*details update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditDetailUpdateCall.html), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditExpansionfileGetCall.html), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditExpansionfilePatchCall.html), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditExpansionfileUpdateCall.html), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditExpansionfileUploadCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditGetCall.html), [*images delete*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditImageDeleteCall.html), [*images deleteall*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditImageDeleteallCall.html), [*images list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditImageListCall.html), [*images upload*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditImageUploadCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditInsertCall.html), [*listings delete*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditListingDeleteCall.html), [*listings deleteall*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditListingDeleteallCall.html), [*listings get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditListingGetCall.html), [*listings list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditListingListCall.html), [*listings patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditListingPatchCall.html), [*listings update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditListingUpdateCall.html), [*testers get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTesterGetCall.html), [*testers patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTesterPatchCall.html), [*testers update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTesterUpdateCall.html), [*tracks get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTrackGetCall.html), [*tracks list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTrackListCall.html), [*tracks patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTrackPatchCall.html), [*tracks update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditTrackUpdateCall.html) and [*validate*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditValidateCall.html) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.InappproductDeleteCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.InappproductGetCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.InappproductInsertCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.InappproductListCall.html), [*patch*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.InappproductPatchCall.html) and [*update*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.InappproductUpdateCall.html) + * [*delete*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.InappproductDeleteCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.InappproductGetCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.InappproductInsertCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.InappproductListCall.html), [*patch*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.InappproductPatchCall.html) and [*update*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.InappproductUpdateCall.html) * orders - * [*refund*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.OrderRefundCall.html) + * [*refund*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.OrderRefundCall.html) * purchases - * [*products get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseProductGetCall.html), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseSubscriptionCancelCall.html), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseSubscriptionDeferCall.html), [*subscriptions get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseSubscriptionGetCall.html), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseSubscriptionRefundCall.html), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseSubscriptionRevokeCall.html) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.PurchaseVoidedpurchaseListCall.html) -* [reviews](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.Review.html) - * [*get*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.ReviewGetCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.ReviewListCall.html) and [*reply*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.ReviewReplyCall.html) + * [*products get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseProductGetCall.html), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseSubscriptionCancelCall.html), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseSubscriptionDeferCall.html), [*subscriptions get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseSubscriptionGetCall.html), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseSubscriptionRefundCall.html), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseSubscriptionRevokeCall.html) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.PurchaseVoidedpurchaseListCall.html) +* [reviews](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.Review.html) + * [*get*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.ReviewGetCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.ReviewListCall.html) and [*reply*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.ReviewReplyCall.html) Upload supported by ... -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html) -* [*images upload edits*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditImageUploadCall.html) -* [*apks upload edits*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditApkUploadCall.html) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditExpansionfileUploadCall.html) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.EditBundleUploadCall.html) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html) +* [*images upload edits*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditImageUploadCall.html) +* [*apks upload edits*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditApkUploadCall.html) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditExpansionfileUploadCall.html) +* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.EditBundleUploadCall.html) @@ -39,17 +39,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/struct.AndroidPublisher.html)** +* **[Hub](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/struct.AndroidPublisher.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.Part.html)** + * **[Parts](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_androidpublisher2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.CallBuilder.html) 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/1.0.11+20190702/google_androidpublisher2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_androidpublisher2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androidpublisher2/1.0.10+20190702/google_androidpublisher2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.ResponseResult.html) 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/1.0.10+20190702/google_androidpublisher2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_androidpublisher2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_androidpublisher2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androidpublisher2/1.0.11+20190702/google_androidpublisher2/trait.RequestValue.html) are 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/cmn.rs b/gen/androidpublisher2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/androidpublisher2/src/cmn.rs +++ b/gen/androidpublisher2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/androidpublisher2/src/lib.rs b/gen/androidpublisher2/src/lib.rs index 3c35a10df9..d48a9e5a28 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Android Publisher* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Android Publisher* *v2* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). @@ -350,7 +350,7 @@ impl<'a, C, A> AndroidPublisher AndroidPublisher { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/androidpublisher/v2/applications/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -373,7 +373,7 @@ impl<'a, C, A> AndroidPublisher } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidpublisher3-cli/Cargo.toml b/gen/androidpublisher3-cli/Cargo.toml index 69184bcdbe..41b2e3c443 100644 --- a/gen/androidpublisher3-cli/Cargo.toml +++ b/gen/androidpublisher3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher3-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidpublisher3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-androidpublisher3] path = "../androidpublisher3" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/androidpublisher3-cli/README.md b/gen/androidpublisher3-cli/README.md index 2c1fab3a6c..da56f9d664 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Android Publisher* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash androidpublisher3 [options] diff --git a/gen/androidpublisher3-cli/mkdocs.yml b/gen/androidpublisher3-cli/mkdocs.yml index ea7f9ac18e..2be35f7ff1 100644 --- a/gen/androidpublisher3-cli/mkdocs.yml +++ b/gen/androidpublisher3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v1.0.10+20190702 +site_name: Android Publisher v1.0.11+20190702 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 89e39db097..26b157ad91 100644 --- a/gen/androidpublisher3-cli/src/main.rs +++ b/gen/androidpublisher3-cli/src/main.rs @@ -5829,7 +5829,7 @@ fn main() { let mut app = App::new("androidpublisher3") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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_androidpublisher3_cli") .arg(Arg::with_name("url") diff --git a/gen/androidpublisher3/Cargo.toml b/gen/androidpublisher3/Cargo.toml index 2c9b10676d..5e89214eb6 100644 --- a/gen/androidpublisher3/Cargo.toml +++ b/gen/androidpublisher3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher3" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidpublisher3" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher3/1.0.10+20190702" +documentation = "https://docs.rs/google-androidpublisher3/1.0.11+20190702" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/androidpublisher3/README.md b/gen/androidpublisher3/README.md index 25aa8be481..ae89c1ffdb 100644 --- a/gen/androidpublisher3/README.md +++ b/gen/androidpublisher3/README.md @@ -5,37 +5,37 @@ 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Android Publisher* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_androidpublisher3/struct.AndroidPublisher.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.AndroidPublisher.html) ... * edits - * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditApkAddexternallyhostedCall.html), [*apks list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditApkListCall.html), [*apks upload*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditApkUploadCall.html), [*bundles list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditBundleListCall.html), [*bundles upload*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditBundleUploadCall.html), [*commit*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditCommitCall.html), [*delete*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditDeleteCall.html), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditDeobfuscationfileUploadCall.html), [*details get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditDetailGetCall.html), [*details patch*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditDetailPatchCall.html), [*details update*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditDetailUpdateCall.html), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditExpansionfileGetCall.html), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditExpansionfilePatchCall.html), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditExpansionfileUpdateCall.html), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditExpansionfileUploadCall.html), [*get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditGetCall.html), [*images delete*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditImageDeleteCall.html), [*images deleteall*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditImageDeleteallCall.html), [*images list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditImageListCall.html), [*images upload*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditImageUploadCall.html), [*insert*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditInsertCall.html), [*listings delete*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditListingDeleteCall.html), [*listings deleteall*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditListingDeleteallCall.html), [*listings get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditListingGetCall.html), [*listings list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditListingListCall.html), [*listings patch*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditListingPatchCall.html), [*listings update*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditListingUpdateCall.html), [*testers get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTesterGetCall.html), [*testers patch*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTesterPatchCall.html), [*testers update*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTesterUpdateCall.html), [*tracks get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTrackGetCall.html), [*tracks list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTrackListCall.html), [*tracks patch*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTrackPatchCall.html), [*tracks update*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditTrackUpdateCall.html) and [*validate*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditValidateCall.html) + * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditApkAddexternallyhostedCall.html), [*apks list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditApkListCall.html), [*apks upload*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditApkUploadCall.html), [*bundles list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditBundleListCall.html), [*bundles upload*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditBundleUploadCall.html), [*commit*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditCommitCall.html), [*delete*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditDeleteCall.html), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditDeobfuscationfileUploadCall.html), [*details get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditDetailGetCall.html), [*details patch*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditDetailPatchCall.html), [*details update*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditDetailUpdateCall.html), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditExpansionfileGetCall.html), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditExpansionfilePatchCall.html), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditExpansionfileUpdateCall.html), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditExpansionfileUploadCall.html), [*get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditGetCall.html), [*images delete*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditImageDeleteCall.html), [*images deleteall*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditImageDeleteallCall.html), [*images list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditImageListCall.html), [*images upload*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditImageUploadCall.html), [*insert*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditInsertCall.html), [*listings delete*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditListingDeleteCall.html), [*listings deleteall*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditListingDeleteallCall.html), [*listings get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditListingGetCall.html), [*listings list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditListingListCall.html), [*listings patch*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditListingPatchCall.html), [*listings update*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditListingUpdateCall.html), [*testers get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTesterGetCall.html), [*testers patch*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTesterPatchCall.html), [*testers update*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTesterUpdateCall.html), [*tracks get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTrackGetCall.html), [*tracks list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTrackListCall.html), [*tracks patch*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTrackPatchCall.html), [*tracks update*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditTrackUpdateCall.html) and [*validate*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditValidateCall.html) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InappproductDeleteCall.html), [*get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InappproductGetCall.html), [*insert*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InappproductInsertCall.html), [*list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InappproductListCall.html), [*patch*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InappproductPatchCall.html) and [*update*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InappproductUpdateCall.html) + * [*delete*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InappproductDeleteCall.html), [*get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InappproductGetCall.html), [*insert*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InappproductInsertCall.html), [*list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InappproductListCall.html), [*patch*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InappproductPatchCall.html) and [*update*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InappproductUpdateCall.html) * internalappsharingartifacts - * [*uploadapk*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadapkCall.html) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadbundleCall.html) + * [*uploadapk*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadapkCall.html) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadbundleCall.html) * orders - * [*refund*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.OrderRefundCall.html) + * [*refund*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.OrderRefundCall.html) * purchases - * [*products acknowledge*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseProductAcknowledgeCall.html), [*products get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseProductGetCall.html), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseSubscriptionAcknowledgeCall.html), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseSubscriptionCancelCall.html), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseSubscriptionDeferCall.html), [*subscriptions get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseSubscriptionGetCall.html), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseSubscriptionRefundCall.html), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseSubscriptionRevokeCall.html) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.PurchaseVoidedpurchaseListCall.html) -* [reviews](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.Review.html) - * [*get*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.ReviewGetCall.html), [*list*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.ReviewListCall.html) and [*reply*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.ReviewReplyCall.html) + * [*products acknowledge*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseProductAcknowledgeCall.html), [*products get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseProductGetCall.html), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseSubscriptionAcknowledgeCall.html), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseSubscriptionCancelCall.html), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseSubscriptionDeferCall.html), [*subscriptions get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseSubscriptionGetCall.html), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseSubscriptionRefundCall.html), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseSubscriptionRevokeCall.html) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.PurchaseVoidedpurchaseListCall.html) +* [reviews](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.Review.html) + * [*get*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.ReviewGetCall.html), [*list*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.ReviewListCall.html) and [*reply*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.ReviewReplyCall.html) Upload supported by ... -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditDeobfuscationfileUploadCall.html) -* [*images upload edits*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditImageUploadCall.html) -* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadbundleCall.html) -* [*apks upload edits*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditApkUploadCall.html) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditExpansionfileUploadCall.html) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.EditBundleUploadCall.html) -* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadapkCall.html) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditDeobfuscationfileUploadCall.html) +* [*images upload edits*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditImageUploadCall.html) +* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadbundleCall.html) +* [*apks upload edits*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditApkUploadCall.html) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditExpansionfileUploadCall.html) +* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.EditBundleUploadCall.html) +* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.InternalappsharingartifactUploadapkCall.html) @@ -43,17 +43,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/struct.AndroidPublisher.html)** +* **[Hub](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/struct.AndroidPublisher.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.Part.html)** + * **[Parts](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -154,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_androidpublisher3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.CallBuilder.html) 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/1.0.11+20190702/google_androidpublisher3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_androidpublisher3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androidpublisher3/1.0.10+20190702/google_androidpublisher3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.ResponseResult.html) 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/1.0.10+20190702/google_androidpublisher3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_androidpublisher3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_androidpublisher3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androidpublisher3/1.0.11+20190702/google_androidpublisher3/trait.RequestValue.html) are 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/cmn.rs b/gen/androidpublisher3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/androidpublisher3/src/cmn.rs +++ b/gen/androidpublisher3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/androidpublisher3/src/lib.rs b/gen/androidpublisher3/src/lib.rs index 6a071178fa..4b257d265a 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Android Publisher* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Android Publisher* *v3* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). @@ -354,7 +354,7 @@ impl<'a, C, A> AndroidPublisher AndroidPublisher { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/androidpublisher/v3/applications/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -380,7 +380,7 @@ impl<'a, C, A> AndroidPublisher } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1-cli/Cargo.toml b/gen/appengine1-cli/Cargo.toml index 2d5760984e..0342f7ac51 100644 --- a/gen/appengine1-cli/Cargo.toml +++ b/gen/appengine1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-appengine1] path = "../appengine1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/appengine1-cli/README.md b/gen/appengine1-cli/README.md index c8e9384e27..9130fb03be 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *appengine* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash appengine1 [options] diff --git a/gen/appengine1-cli/mkdocs.yml b/gen/appengine1-cli/mkdocs.yml index 51ad46165a..3ee01f015b 100644 --- a/gen/appengine1-cli/mkdocs.yml +++ b/gen/appengine1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v1.0.10+20190624 +site_name: appengine v1.0.11+20190624 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 74a7967129..c678feb83f 100644 --- a/gen/appengine1-cli/src/main.rs +++ b/gen/appengine1-cli/src/main.rs @@ -4198,7 +4198,7 @@ fn main() { let mut app = App::new("appengine1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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 0b6ae564d5..24d5e65dac 100644 --- a/gen/appengine1/Cargo.toml +++ b/gen/appengine1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1/1.0.10+20190624" +documentation = "https://docs.rs/google-appengine1/1.0.11+20190624" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/appengine1/README.md b/gen/appengine1/README.md index 694e49e17e..2e08bba692 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *appengine* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_appengine1/struct.Appengine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.Appengine.html) ... * apps - * [*authorized certificates create*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppAuthorizedCertificateCreateCall.html), [*authorized certificates delete*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppAuthorizedCertificateDeleteCall.html), [*authorized certificates get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppAuthorizedCertificateGetCall.html), [*authorized certificates list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppAuthorizedCertificateListCall.html), [*authorized certificates patch*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppAuthorizedCertificatePatchCall.html), [*authorized domains list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppAuthorizedDomainListCall.html), [*create*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppCreateCall.html), [*domain mappings create*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppDomainMappingCreateCall.html), [*domain mappings delete*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppDomainMappingDeleteCall.html), [*domain mappings get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppDomainMappingGetCall.html), [*domain mappings list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppDomainMappingListCall.html), [*domain mappings patch*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppDomainMappingPatchCall.html), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppFirewallIngressRuleBatchUpdateCall.html), [*firewall ingress rules create*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppFirewallIngressRuleCreateCall.html), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppFirewallIngressRuleDeleteCall.html), [*firewall ingress rules get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppFirewallIngressRuleGetCall.html), [*firewall ingress rules list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppFirewallIngressRuleListCall.html), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppFirewallIngressRulePatchCall.html), [*get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppPatchCall.html), [*repair*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppRepairCall.html), [*services delete*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/struct.AppServiceVersionPatchCall.html) + * [*authorized certificates create*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppAuthorizedCertificateCreateCall.html), [*authorized certificates delete*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppAuthorizedCertificateDeleteCall.html), [*authorized certificates get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppAuthorizedCertificateGetCall.html), [*authorized certificates list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppAuthorizedCertificateListCall.html), [*authorized certificates patch*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppAuthorizedCertificatePatchCall.html), [*authorized domains list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppAuthorizedDomainListCall.html), [*create*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppCreateCall.html), [*domain mappings create*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppDomainMappingCreateCall.html), [*domain mappings delete*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppDomainMappingDeleteCall.html), [*domain mappings get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppDomainMappingGetCall.html), [*domain mappings list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppDomainMappingListCall.html), [*domain mappings patch*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppDomainMappingPatchCall.html), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppFirewallIngressRuleBatchUpdateCall.html), [*firewall ingress rules create*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppFirewallIngressRuleCreateCall.html), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppFirewallIngressRuleDeleteCall.html), [*firewall ingress rules get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppFirewallIngressRuleGetCall.html), [*firewall ingress rules list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppFirewallIngressRuleListCall.html), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppFirewallIngressRulePatchCall.html), [*get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppPatchCall.html), [*repair*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppRepairCall.html), [*services delete*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.AppServiceVersionPatchCall.html) @@ -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/1.0.10+20190624/google_appengine1/struct.Appengine.html)** +* **[Hub](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/struct.Appengine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.Part.html)** + * **[Parts](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_appengine1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-appengine1/1.0.10+20190624/google_appengine1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.CallBuilder.html) 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/1.0.11+20190624/google_appengine1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_appengine1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appengine1/1.0.10+20190624/google_appengine1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.ResponseResult.html) 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/1.0.10+20190624/google_appengine1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_appengine1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_appengine1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appengine1/1.0.11+20190624/google_appengine1/trait.RequestValue.html) are 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/cmn.rs b/gen/appengine1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/appengine1/src/cmn.rs +++ b/gen/appengine1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/appengine1/src/lib.rs b/gen/appengine1/src/lib.rs index 43feb80331..78e534a5e0 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *appengine* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *appengine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -350,7 +350,7 @@ impl<'a, C, A> Appengine Appengine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -361,7 +361,7 @@ impl<'a, C, A> Appengine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1_beta4-cli/Cargo.toml b/gen/appengine1_beta4-cli/Cargo.toml index 828d4de316..f00e1180bb 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 = "1.0.10+20181005" +version = "1.0.11+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-appengine1_beta4] path = "../appengine1_beta4" -version = "1.0.10+20181005" +version = "1.0.11+20181005" diff --git a/gen/appengine1_beta4-cli/README.md b/gen/appengine1_beta4-cli/README.md index 2e4e5a1dad..faafbe0f68 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 *1.0.10*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *1.0.11*. ```bash appengine1-beta4 [options] diff --git a/gen/appengine1_beta4-cli/mkdocs.yml b/gen/appengine1_beta4-cli/mkdocs.yml index 9126f1cc70..d2b6aa655f 100644 --- a/gen/appengine1_beta4-cli/mkdocs.yml +++ b/gen/appengine1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v1.0.10+20181005 +site_name: appengine v1.0.11+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 4e78b27e5b..67ae79a699 100644 --- a/gen/appengine1_beta4-cli/src/main.rs +++ b/gen/appengine1_beta4-cli/src/main.rs @@ -2285,7 +2285,7 @@ fn main() { let mut app = App::new("appengine1-beta4") .author("Sebastian Thiel ") - .version("1.0.10+20181005") + .version("1.0.11+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 bbc387d02e..e1e84e0064 100644 --- a/gen/appengine1_beta4/Cargo.toml +++ b/gen/appengine1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1_beta4" -version = "1.0.10+20181005" +version = "1.0.11+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta4" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta4/1.0.10+20181005" +documentation = "https://docs.rs/google-appengine1_beta4/1.0.11+20181005" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/appengine1_beta4/README.md b/gen/appengine1_beta4/README.md index fe80504b4d..8475f9af1b 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 *1.0.10+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *appengine* crate version *1.0.11+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20181005/google_appengine1_beta4/struct.Appengine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.Appengine.html) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppLocationListCall.html), [*modules delete*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleDeleteCall.html), [*modules get*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleGetCall.html), [*modules list*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleListCall.html), [*modules patch*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModulePatchCall.html), [*modules versions create*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionCreateCall.html), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionDeleteCall.html), [*modules versions get*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionGetCall.html), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceDebugCall.html), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceDeleteCall.html), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceGetCall.html), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceListCall.html), [*modules versions list*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionListCall.html), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppModuleVersionPatchCall.html), [*operations get*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppOperationListCall.html) and [*patch*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/struct.AppPatchCall.html) + * [*create*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppLocationListCall.html), [*modules delete*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleDeleteCall.html), [*modules get*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleGetCall.html), [*modules list*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleListCall.html), [*modules patch*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModulePatchCall.html), [*modules versions create*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionCreateCall.html), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionDeleteCall.html), [*modules versions get*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionGetCall.html), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceDebugCall.html), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceDeleteCall.html), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceGetCall.html), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionInstanceListCall.html), [*modules versions list*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionListCall.html), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppModuleVersionPatchCall.html), [*operations get*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppOperationListCall.html) and [*patch*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.AppPatchCall.html) @@ -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/1.0.10+20181005/google_appengine1_beta4/struct.Appengine.html)** +* **[Hub](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/struct.Appengine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.Part.html)** + * **[Parts](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/enum.Result.html) 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/1.0.10+20181005/google_appengine1_beta4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181005/google_appengine1_beta4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.CallBuilder.html) 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/1.0.11+20181005/google_appengine1_beta4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181005/google_appengine1_beta4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appengine1_beta4/1.0.10+20181005/google_appengine1_beta4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.ResponseResult.html) 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/1.0.10+20181005/google_appengine1_beta4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181005/google_appengine1_beta4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181005/google_appengine1_beta4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appengine1_beta4/1.0.11+20181005/google_appengine1_beta4/trait.RequestValue.html) are 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/cmn.rs b/gen/appengine1_beta4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/appengine1_beta4/src/cmn.rs +++ b/gen/appengine1_beta4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/appengine1_beta4/src/lib.rs b/gen/appengine1_beta4/src/lib.rs index 8e8036e7f1..de3f544cc6 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 *1.0.10+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *appengine* crate version *1.0.11+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *appengine* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -350,7 +350,7 @@ impl<'a, C, A> Appengine Appengine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -361,7 +361,7 @@ impl<'a, C, A> Appengine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1_beta5-cli/Cargo.toml b/gen/appengine1_beta5-cli/Cargo.toml index b71fd96988..71a95fb94f 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 = "1.0.10+20181005" +version = "1.0.11+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta5-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-appengine1_beta5] path = "../appengine1_beta5" -version = "1.0.10+20181005" +version = "1.0.11+20181005" diff --git a/gen/appengine1_beta5-cli/README.md b/gen/appengine1_beta5-cli/README.md index 17ca036b7d..235d779bbf 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 *1.0.10*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *1.0.11*. ```bash appengine1-beta5 [options] diff --git a/gen/appengine1_beta5-cli/mkdocs.yml b/gen/appengine1_beta5-cli/mkdocs.yml index 84c04c876b..d0b250a7f6 100644 --- a/gen/appengine1_beta5-cli/mkdocs.yml +++ b/gen/appengine1_beta5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v1.0.10+20181005 +site_name: appengine v1.0.11+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 77408929b6..94d7561fd5 100644 --- a/gen/appengine1_beta5-cli/src/main.rs +++ b/gen/appengine1_beta5-cli/src/main.rs @@ -2289,7 +2289,7 @@ fn main() { let mut app = App::new("appengine1-beta5") .author("Sebastian Thiel ") - .version("1.0.10+20181005") + .version("1.0.11+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 1d93029783..91e5df2cf1 100644 --- a/gen/appengine1_beta5/Cargo.toml +++ b/gen/appengine1_beta5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1_beta5" -version = "1.0.10+20181005" +version = "1.0.11+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta5" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta5/1.0.10+20181005" +documentation = "https://docs.rs/google-appengine1_beta5/1.0.11+20181005" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/appengine1_beta5/README.md b/gen/appengine1_beta5/README.md index bbfcef96d7..dabb738861 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 *1.0.10+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *appengine* crate version *1.0.11+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20181005/google_appengine1_beta5/struct.Appengine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.Appengine.html) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppPatchCall.html), [*services delete*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/struct.AppServiceVersionPatchCall.html) + * [*create*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppPatchCall.html), [*services delete*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.AppServiceVersionPatchCall.html) @@ -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/1.0.10+20181005/google_appengine1_beta5/struct.Appengine.html)** +* **[Hub](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/struct.Appengine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.Part.html)** + * **[Parts](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/enum.Result.html) 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/1.0.10+20181005/google_appengine1_beta5/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181005/google_appengine1_beta5/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.CallBuilder.html) 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/1.0.11+20181005/google_appengine1_beta5/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181005/google_appengine1_beta5/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appengine1_beta5/1.0.10+20181005/google_appengine1_beta5/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.ResponseResult.html) 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/1.0.10+20181005/google_appengine1_beta5/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181005/google_appengine1_beta5/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181005/google_appengine1_beta5/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appengine1_beta5/1.0.11+20181005/google_appengine1_beta5/trait.RequestValue.html) are 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/cmn.rs b/gen/appengine1_beta5/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/appengine1_beta5/src/cmn.rs +++ b/gen/appengine1_beta5/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/appengine1_beta5/src/lib.rs b/gen/appengine1_beta5/src/lib.rs index d57f846029..0cd1705d0b 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 *1.0.10+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *appengine* crate version *1.0.11+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *appengine* *v1_beta5* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -346,7 +346,7 @@ impl<'a, C, A> Appengine Appengine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -357,7 +357,7 @@ impl<'a, C, A> Appengine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appsactivity1-cli/Cargo.toml b/gen/appsactivity1-cli/Cargo.toml index b5d479a4cb..dc2d8bd99f 100644 --- a/gen/appsactivity1-cli/Cargo.toml +++ b/gen/appsactivity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appsactivity1-cli" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appsactivity1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-appsactivity1] path = "../appsactivity1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/appsactivity1-cli/README.md b/gen/appsactivity1-cli/README.md index 5600ab79c4..7ca14cb0e1 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *appsactivity* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash appsactivity1 [options] diff --git a/gen/appsactivity1-cli/mkdocs.yml b/gen/appsactivity1-cli/mkdocs.yml index 534d994ce8..38a167bba8 100644 --- a/gen/appsactivity1-cli/mkdocs.yml +++ b/gen/appsactivity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appsactivity v1.0.10+20190701 +site_name: appsactivity v1.0.11+20190701 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 1e8537a705..edd6c8c42c 100644 --- a/gen/appsactivity1-cli/src/main.rs +++ b/gen/appsactivity1-cli/src/main.rs @@ -241,7 +241,7 @@ fn main() { let mut app = App::new("appsactivity1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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 b9419c2868..f4f8d03d86 100644 --- a/gen/appsactivity1/Cargo.toml +++ b/gen/appsactivity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appsactivity1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appsactivity1" homepage = "https://developers.google.com/google-apps/activity/" -documentation = "https://docs.rs/google-appsactivity1/1.0.10+20190701" +documentation = "https://docs.rs/google-appsactivity1/1.0.11+20190701" license = "MIT" keywords = ["appsactivity", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/appsactivity1/README.md b/gen/appsactivity1/README.md index 9aeb6bd7c7..8d063307bf 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *appsactivity* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_appsactivity1/struct.Appsactivity.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/struct.Appsactivity.html) ... -* [activities](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/struct.Activity.html) - * [*list*](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/struct.ActivityListCall.html) +* [activities](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/struct.Activity.html) + * [*list*](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/struct.ActivityListCall.html) @@ -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/1.0.10+20190701/google_appsactivity1/struct.Appsactivity.html)** +* **[Hub](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/struct.Appsactivity.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.Part.html)** + * **[Parts](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_appsactivity1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.CallBuilder.html) 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/1.0.11+20190701/google_appsactivity1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_appsactivity1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appsactivity1/1.0.10+20190701/google_appsactivity1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.ResponseResult.html) 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/1.0.10+20190701/google_appsactivity1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_appsactivity1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_appsactivity1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appsactivity1/1.0.11+20190701/google_appsactivity1/trait.RequestValue.html) are 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/cmn.rs b/gen/appsactivity1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/appsactivity1/src/cmn.rs +++ b/gen/appsactivity1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/appsactivity1/src/lib.rs b/gen/appsactivity1/src/lib.rs index 1362181f0f..049c7ccdf7 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *appsactivity* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *appsactivity* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/activity/). @@ -331,7 +331,7 @@ impl<'a, C, A> Appsactivity Appsactivity { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/appsactivity/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -342,7 +342,7 @@ impl<'a, C, A> Appsactivity } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appstate1-cli/Cargo.toml b/gen/appstate1-cli/Cargo.toml index bd2c793f8c..dd3c7e384c 100644 --- a/gen/appstate1-cli/Cargo.toml +++ b/gen/appstate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appstate1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appstate1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-appstate1] path = "../appstate1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/appstate1-cli/README.md b/gen/appstate1-cli/README.md index 4550db7522..8bd926364f 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 *1.0.10*. +This documentation was generated from the *App State* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash appstate1 [options] diff --git a/gen/appstate1-cli/mkdocs.yml b/gen/appstate1-cli/mkdocs.yml index 8761667d02..a608930702 100644 --- a/gen/appstate1-cli/mkdocs.yml +++ b/gen/appstate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: App State v1.0.10+20190627 +site_name: App State v1.0.11+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 fa6060429a..c36e1bbeda 100644 --- a/gen/appstate1-cli/src/main.rs +++ b/gen/appstate1-cli/src/main.rs @@ -569,7 +569,7 @@ fn main() { let mut app = App::new("appstate1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+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 6ee18f2518..1071dfede8 100644 --- a/gen/appstate1/Cargo.toml +++ b/gen/appstate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appstate1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appstate1" homepage = "https://developers.google.com/games/services/web/api/states" -documentation = "https://docs.rs/google-appstate1/1.0.10+20190627" +documentation = "https://docs.rs/google-appstate1/1.0.11+20190627" license = "MIT" keywords = ["appstate", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/appstate1/README.md b/gen/appstate1/README.md index e445c8bc91..551b15ef38 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *App State* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_appstate1/struct.AppState.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.AppState.html) ... * states - * [*clear*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/struct.StateClearCall.html), [*delete*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/struct.StateDeleteCall.html), [*get*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/struct.StateGetCall.html), [*list*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/struct.StateListCall.html) and [*update*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/struct.StateUpdateCall.html) + * [*clear*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.StateClearCall.html), [*delete*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.StateDeleteCall.html), [*get*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.StateGetCall.html), [*list*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.StateListCall.html) and [*update*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.StateUpdateCall.html) @@ -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/1.0.10+20190627/google_appstate1/struct.AppState.html)** +* **[Hub](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/struct.AppState.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.Part.html)** + * **[Parts](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_appstate1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-appstate1/1.0.10+20190627/google_appstate1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.CallBuilder.html) 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/1.0.11+20190627/google_appstate1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_appstate1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appstate1/1.0.10+20190627/google_appstate1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.ResponseResult.html) 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/1.0.10+20190627/google_appstate1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_appstate1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_appstate1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appstate1/1.0.11+20190627/google_appstate1/trait.RequestValue.html) are 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/cmn.rs b/gen/appstate1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/appstate1/src/cmn.rs +++ b/gen/appstate1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/appstate1/src/lib.rs b/gen/appstate1/src/lib.rs index 27b413ab24..322b58a59f 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *App State* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -332,7 +332,7 @@ impl<'a, C, A> AppState AppState { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/appstate/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -343,7 +343,7 @@ impl<'a, C, A> AppState } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/autoscaler1_beta2-cli/Cargo.toml b/gen/autoscaler1_beta2-cli/Cargo.toml index 229db68598..029623f599 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 = "1.0.10+20150629" +version = "1.0.11+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/autoscaler1_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-autoscaler1_beta2] path = "../autoscaler1_beta2" -version = "1.0.10+20150629" +version = "1.0.11+20150629" diff --git a/gen/autoscaler1_beta2-cli/README.md b/gen/autoscaler1_beta2-cli/README.md index 71aca166c5..193d159981 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 *1.0.10*. +This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *1.0.11*. ```bash autoscaler1-beta2 [options] diff --git a/gen/autoscaler1_beta2-cli/mkdocs.yml b/gen/autoscaler1_beta2-cli/mkdocs.yml index b3e3e3c39d..ec939b2715 100644 --- a/gen/autoscaler1_beta2-cli/mkdocs.yml +++ b/gen/autoscaler1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: autoscaler v1.0.10+20150629 +site_name: autoscaler v1.0.11+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 8ecb582af3..f7ca3cd53b 100644 --- a/gen/autoscaler1_beta2-cli/src/main.rs +++ b/gen/autoscaler1_beta2-cli/src/main.rs @@ -1196,7 +1196,7 @@ fn main() { let mut app = App::new("autoscaler1-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20150629") + .version("1.0.11+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 9b23e4d268..b87fe6d350 100644 --- a/gen/autoscaler1_beta2/Cargo.toml +++ b/gen/autoscaler1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-autoscaler1_beta2" -version = "1.0.10+20150629" +version = "1.0.11+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/autoscaler1_beta2" homepage = "http://developers.google.com/compute/docs/autoscaler" -documentation = "https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629" +documentation = "https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629" license = "MIT" keywords = ["autoscaler", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/autoscaler1_beta2/README.md b/gen/autoscaler1_beta2/README.md index e2b2c73900..dad8575ff5 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 *1.0.10+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *autoscaler* crate version *1.0.11+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html) ... -* [autoscalers](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.Autoscaler.html) - * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerGetCall.html), [*insert*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerInsertCall.html), [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerListCall.html), [*patch*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerPatchCall.html) and [*update*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerUpdateCall.html) +* [autoscalers](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.Autoscaler.html) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerGetCall.html), [*insert*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerInsertCall.html), [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerListCall.html), [*patch*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerPatchCall.html) and [*update*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerUpdateCall.html) * zone operations - * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.ZoneOperationDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.ZoneOperationListCall.html) -* [zones](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.Zone.html) - * [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/struct.ZoneListCall.html) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.ZoneOperationDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.ZoneOperationListCall.html) +* [zones](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.Zone.html) + * [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.ZoneListCall.html) @@ -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/1.0.10+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html)** +* **[Hub](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/enum.Result.html) 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/1.0.10+20150629/google_autoscaler1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20150629/google_autoscaler1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.CallBuilder.html) 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/1.0.11+20150629/google_autoscaler1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20150629/google_autoscaler1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-autoscaler1_beta2/1.0.10+20150629/google_autoscaler1_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.ResponseResult.html) 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/1.0.10+20150629/google_autoscaler1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20150629/google_autoscaler1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20150629/google_autoscaler1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-autoscaler1_beta2/1.0.11+20150629/google_autoscaler1_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/autoscaler1_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/autoscaler1_beta2/src/cmn.rs +++ b/gen/autoscaler1_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/autoscaler1_beta2/src/lib.rs b/gen/autoscaler1_beta2/src/lib.rs index 50bed17196..cf15ee49f2 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 *1.0.10+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *autoscaler* crate version *1.0.11+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *autoscaler* *v1_beta2* API can be found at the //! [official documentation site](http://developers.google.com/compute/docs/autoscaler). @@ -336,7 +336,7 @@ impl<'a, C, A> AutoscalerHub AutoscalerHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/autoscaler/v1beta2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -353,7 +353,7 @@ impl<'a, C, A> AutoscalerHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigquery2-cli/Cargo.toml b/gen/bigquery2-cli/Cargo.toml index fe32c4adce..69d7a4d74a 100644 --- a/gen/bigquery2-cli/Cargo.toml +++ b/gen/bigquery2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquery2-cli" -version = "1.0.10+20190630" +version = "1.0.11+20190630" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigquery2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-bigquery2] path = "../bigquery2" -version = "1.0.10+20190630" +version = "1.0.11+20190630" diff --git a/gen/bigquery2-cli/README.md b/gen/bigquery2-cli/README.md index 85fdc5cbb7..bdbbbb5972 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 *20190630*. The CLI is at version *1.0.10*. +This documentation was generated from the *bigquery* API at revision *20190630*. The CLI is at version *1.0.11*. ```bash bigquery2 [options] diff --git a/gen/bigquery2-cli/mkdocs.yml b/gen/bigquery2-cli/mkdocs.yml index 5a499ffe92..194eecca2f 100644 --- a/gen/bigquery2-cli/mkdocs.yml +++ b/gen/bigquery2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: bigquery v1.0.10+20190630 +site_name: bigquery v1.0.11+20190630 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 61e9af9cda..975a2c01bd 100644 --- a/gen/bigquery2-cli/src/main.rs +++ b/gen/bigquery2-cli/src/main.rs @@ -3748,7 +3748,7 @@ fn main() { let mut app = App::new("bigquery2") .author("Sebastian Thiel ") - .version("1.0.10+20190630") + .version("1.0.11+20190630") .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 cfe0b50814..bbc55907f4 100644 --- a/gen/bigquery2/Cargo.toml +++ b/gen/bigquery2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquery2" -version = "1.0.10+20190630" +version = "1.0.11+20190630" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigquery2" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigquery2/1.0.10+20190630" +documentation = "https://docs.rs/google-bigquery2/1.0.11+20190630" license = "MIT" keywords = ["bigquery", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/bigquery2/README.md b/gen/bigquery2/README.md index 5771bbc18f..57f779da28 100644 --- a/gen/bigquery2/README.md +++ b/gen/bigquery2/README.md @@ -5,33 +5,33 @@ 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 *1.0.10+20190630*, where *20190630* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *bigquery* crate version *1.0.11+20190630*, where *20190630* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190630/google_bigquery2/struct.Bigquery.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Bigquery.html) ... -* [datasets](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.Dataset.html) - * [*delete*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.DatasetDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.DatasetGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.DatasetInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.DatasetListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.DatasetPatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.DatasetUpdateCall.html) -* [jobs](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.Job.html) - * [*cancel*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobCancelCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobGetCall.html), [*get query results*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobGetQueryResultCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobListCall.html) and [*query*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobQueryCall.html) -* [models](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.Model.html) - * [*delete*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.ModelDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.ModelGetCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.ModelListCall.html) and [*patch*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.ModelPatchCall.html) +* [datasets](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Dataset.html) + * [*delete*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.DatasetDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.DatasetGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.DatasetInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.DatasetListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.DatasetPatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.DatasetUpdateCall.html) +* [jobs](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Job.html) + * [*cancel*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobCancelCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobGetCall.html), [*get query results*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobGetQueryResultCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobListCall.html) and [*query*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobQueryCall.html) +* [models](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Model.html) + * [*delete*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.ModelDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.ModelGetCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.ModelListCall.html) and [*patch*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.ModelPatchCall.html) * projects - * [*get service account*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.ProjectGetServiceAccountCall.html) and [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.ProjectListCall.html) -* [routines](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.Routine.html) - * [*delete*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.RoutineDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.RoutineGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.RoutineInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.RoutineListCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.RoutineUpdateCall.html) + * [*get service account*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.ProjectGetServiceAccountCall.html) and [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.ProjectListCall.html) +* [routines](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Routine.html) + * [*delete*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.RoutineDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.RoutineGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.RoutineInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.RoutineListCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.RoutineUpdateCall.html) * tabledata - * [*insert all*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TabledataInsertAllCall.html) and [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TabledataListCall.html) -* [tables](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.Table.html) - * [*delete*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TableGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TableListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TablePatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.TableUpdateCall.html) + * [*insert all*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TabledataInsertAllCall.html) and [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TabledataListCall.html) +* [tables](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Table.html) + * [*delete*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TableGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TableListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TablePatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.TableUpdateCall.html) Upload supported by ... -* [*insert jobs*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.JobInsertCall.html) +* [*insert jobs*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.JobInsertCall.html) @@ -39,17 +39,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/struct.Bigquery.html)** +* **[Hub](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/struct.Bigquery.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.Part.html)** + * **[Parts](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190630/google_bigquery2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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/1.0.10+20190630/google_bigquery2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.CallBuilder.html) 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/1.0.11+20190630/google_bigquery2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190630/google_bigquery2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-bigquery2/1.0.10+20190630/google_bigquery2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.ResponseResult.html) 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/1.0.10+20190630/google_bigquery2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190630/google_bigquery2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190630/google_bigquery2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-bigquery2/1.0.11+20190630/google_bigquery2/trait.RequestValue.html) are 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/cmn.rs b/gen/bigquery2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/bigquery2/src/cmn.rs +++ b/gen/bigquery2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs index aee9a11f29..8a2d11527b 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 *1.0.10+20190630*, where *20190630* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *bigquery* crate version *1.0.11+20190630*, where *20190630* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *bigquery* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -374,7 +374,7 @@ impl<'a, C, A> Bigquery Bigquery { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://bigquery.googleapis.com/bigquery/v2/".to_string(), _root_url: "https://bigquery.googleapis.com/".to_string(), } @@ -403,7 +403,7 @@ impl<'a, C, A> Bigquery } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigquerydatatransfer1-cli/Cargo.toml b/gen/bigquerydatatransfer1-cli/Cargo.toml index c303d437b7..f686aebe8b 100644 --- a/gen/bigquerydatatransfer1-cli/Cargo.toml +++ b/gen/bigquerydatatransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquerydatatransfer1-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Data Transfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigquerydatatransfer1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-bigquerydatatransfer1] path = "../bigquerydatatransfer1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/bigquerydatatransfer1-cli/README.md b/gen/bigquerydatatransfer1-cli/README.md index abd3e3b15a..9dd5e9def0 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *BigQuery Data Transfer* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash bigquerydatatransfer1 [options] diff --git a/gen/bigquerydatatransfer1-cli/mkdocs.yml b/gen/bigquerydatatransfer1-cli/mkdocs.yml index 97b1f7fb30..d848df2002 100644 --- a/gen/bigquerydatatransfer1-cli/mkdocs.yml +++ b/gen/bigquerydatatransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Data Transfer v1.0.10+20190629 +site_name: BigQuery Data Transfer v1.0.11+20190629 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 b59407d965..7cc5771b0a 100644 --- a/gen/bigquerydatatransfer1-cli/src/main.rs +++ b/gen/bigquerydatatransfer1-cli/src/main.rs @@ -3111,7 +3111,7 @@ fn main() { let mut app = App::new("bigquerydatatransfer1") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .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 0d99582dc9..cf061fc973 100644 --- a/gen/bigquerydatatransfer1/Cargo.toml +++ b/gen/bigquerydatatransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquerydatatransfer1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Data Transfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigquerydatatransfer1" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629" +documentation = "https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629" license = "MIT" keywords = ["bigquerydatatransfer", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/bigquerydatatransfer1/README.md b/gen/bigquerydatatransfer1/README.md index 5dc5be77e2..726caa1a0f 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *BigQuery Data Transfer* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *BigQuery Data Transfer* *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-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.BigQueryDataTransfer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.BigQueryDataTransfer.html) ... * projects - * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectDataSourceCheckValidCredCall.html), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectDataSourceGetCall.html), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectDataSourceListCall.html), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationDataSourceCheckValidCredCall.html), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationDataSourceGetCall.html), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationDataSourceListCall.html), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationListCall.html), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigCreateCall.html), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigDeleteCall.html), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigGetCall.html), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigListCall.html), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigPatchCall.html), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunDeleteCall.html), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunGetCall.html), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunListCall.html), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunTransferLogListCall.html), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigScheduleRunCall.html), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigStartManualRunCall.html), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigCreateCall.html), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigDeleteCall.html), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigGetCall.html), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigListCall.html), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigPatchCall.html), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunDeleteCall.html), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunGetCall.html), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunListCall.html), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunTransferLogListCall.html), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigScheduleRunCall.html) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigStartManualRunCall.html) + * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectDataSourceCheckValidCredCall.html), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectDataSourceGetCall.html), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectDataSourceListCall.html), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationDataSourceCheckValidCredCall.html), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationDataSourceGetCall.html), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationDataSourceListCall.html), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationListCall.html), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigCreateCall.html), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigDeleteCall.html), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigGetCall.html), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigListCall.html), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigPatchCall.html), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunDeleteCall.html), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunGetCall.html), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunListCall.html), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigRunTransferLogListCall.html), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigScheduleRunCall.html), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectLocationTransferConfigStartManualRunCall.html), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigCreateCall.html), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigDeleteCall.html), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigGetCall.html), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigListCall.html), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigPatchCall.html), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunDeleteCall.html), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunGetCall.html), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunListCall.html), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigRunTransferLogListCall.html), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigScheduleRunCall.html) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.ProjectTransferConfigStartManualRunCall.html) @@ -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/1.0.10+20190629/google_bigquerydatatransfer1/struct.BigQueryDataTransfer.html)** +* **[Hub](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/struct.BigQueryDataTransfer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.Part.html)** + * **[Parts](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_bigquerydatatransfer1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html) 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/1.0.11+20190629/google_bigquerydatatransfer1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_bigquerydatatransfer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-bigquerydatatransfer1/1.0.10+20190629/google_bigquerydatatransfer1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.ResponseResult.html) 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/1.0.10+20190629/google_bigquerydatatransfer1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_bigquerydatatransfer1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-bigquerydatatransfer1/1.0.11+20190629/google_bigquerydatatransfer1/trait.RequestValue.html) are 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/cmn.rs b/gen/bigquerydatatransfer1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/bigquerydatatransfer1/src/cmn.rs +++ b/gen/bigquerydatatransfer1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/bigquerydatatransfer1/src/lib.rs b/gen/bigquerydatatransfer1/src/lib.rs index 5fc9fe5036..62a76cab19 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *BigQuery Data Transfer* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *BigQuery Data Transfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -348,7 +348,7 @@ impl<'a, C, A> BigQueryDataTransfer BigQueryDataTransfer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://bigquerydatatransfer.googleapis.com/".to_string(), _root_url: "https://bigquerydatatransfer.googleapis.com/".to_string(), } @@ -359,7 +359,7 @@ impl<'a, C, A> BigQueryDataTransfer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigtableadmin2-cli/Cargo.toml b/gen/bigtableadmin2-cli/Cargo.toml index 9d2b9e3cee..b054968924 100644 --- a/gen/bigtableadmin2-cli/Cargo.toml +++ b/gen/bigtableadmin2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigtableadmin2-cli" -version = "1.0.10+20190506" +version = "1.0.11+20190506" authors = ["Sebastian Thiel "] description = "A complete library to interact with Bigtable Admin (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigtableadmin2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-bigtableadmin2] path = "../bigtableadmin2" -version = "1.0.10+20190506" +version = "1.0.11+20190506" diff --git a/gen/bigtableadmin2-cli/README.md b/gen/bigtableadmin2-cli/README.md index d1cad20af6..ef862e7363 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 *20190506*. The CLI is at version *1.0.10*. +This documentation was generated from the *Bigtable Admin* API at revision *20190506*. The CLI is at version *1.0.11*. ```bash bigtableadmin2 [options] diff --git a/gen/bigtableadmin2-cli/mkdocs.yml b/gen/bigtableadmin2-cli/mkdocs.yml index c1a46ed83f..0dc58026a1 100644 --- a/gen/bigtableadmin2-cli/mkdocs.yml +++ b/gen/bigtableadmin2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Bigtable Admin v1.0.10+20190506 +site_name: Bigtable Admin v1.0.11+20190506 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 20277becef..25da14f186 100644 --- a/gen/bigtableadmin2-cli/src/main.rs +++ b/gen/bigtableadmin2-cli/src/main.rs @@ -3833,7 +3833,7 @@ fn main() { let mut app = App::new("bigtableadmin2") .author("Sebastian Thiel ") - .version("1.0.10+20190506") + .version("1.0.11+20190506") .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 c26d2bd698..7f16ff3adc 100644 --- a/gen/bigtableadmin2/Cargo.toml +++ b/gen/bigtableadmin2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigtableadmin2" -version = "1.0.10+20190506" +version = "1.0.11+20190506" authors = ["Sebastian Thiel "] description = "A complete library to interact with Bigtable Admin (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigtableadmin2" homepage = "https://cloud.google.com/bigtable/" -documentation = "https://docs.rs/google-bigtableadmin2/1.0.10+20190506" +documentation = "https://docs.rs/google-bigtableadmin2/1.0.11+20190506" license = "MIT" keywords = ["bigtableadmin", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/bigtableadmin2/README.md b/gen/bigtableadmin2/README.md index c3bd2c87ee..df9454dfed 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 *1.0.10+20190506*, where *20190506* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Bigtable Admin* crate version *1.0.11+20190506*, where *20190506* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190506/google_bigtableadmin2/struct.BigtableAdmin.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.BigtableAdmin.html) ... -* [operations](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.Operation.html) - * [*cancel*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.OperationGetCall.html) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.OperationProjectOperationListCall.html) +* [operations](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.Operation.html) + * [*cancel*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.OperationGetCall.html) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.OperationProjectOperationListCall.html) * projects - * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileCreateCall.html), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileDeleteCall.html), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileGetCall.html), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileListCall.html), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfilePatchCall.html), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterCreateCall.html), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterDeleteCall.html), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterGetCall.html), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterListCall.html), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterUpdateCall.html), [*instances create*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceCreateCall.html), [*instances delete*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceDeleteCall.html), [*instances get*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceGetCall.html), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceGetIamPolicyCall.html), [*instances list*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceListCall.html), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstancePartialUpdateInstanceCall.html), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceSetIamPolicyCall.html), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableCheckConsistencyCall.html), [*instances tables create*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableCreateCall.html), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableDeleteCall.html), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableDropRowRangeCall.html), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableGenerateConsistencyTokenCall.html), [*instances tables get*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableGetCall.html), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableGetIamPolicyCall.html), [*instances tables list*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableListCall.html), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableModifyColumnFamilyCall.html), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableSetIamPolicyCall.html), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTableTestIamPermissionCall.html), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceTestIamPermissionCall.html), [*instances update*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectInstanceUpdateCall.html), [*locations get*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectLocationGetCall.html) and [*locations list*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/struct.ProjectLocationListCall.html) + * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileCreateCall.html), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileDeleteCall.html), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileGetCall.html), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfileListCall.html), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceAppProfilePatchCall.html), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterCreateCall.html), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterDeleteCall.html), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterGetCall.html), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterListCall.html), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceClusterUpdateCall.html), [*instances create*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceCreateCall.html), [*instances delete*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceDeleteCall.html), [*instances get*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceGetCall.html), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceGetIamPolicyCall.html), [*instances list*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceListCall.html), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstancePartialUpdateInstanceCall.html), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceSetIamPolicyCall.html), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableCheckConsistencyCall.html), [*instances tables create*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableCreateCall.html), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableDeleteCall.html), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableDropRowRangeCall.html), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableGenerateConsistencyTokenCall.html), [*instances tables get*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableGetCall.html), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableGetIamPolicyCall.html), [*instances tables list*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableListCall.html), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableModifyColumnFamilyCall.html), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableSetIamPolicyCall.html), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTableTestIamPermissionCall.html), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceTestIamPermissionCall.html), [*instances update*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectInstanceUpdateCall.html), [*locations get*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectLocationGetCall.html) and [*locations list*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190506/google_bigtableadmin2/struct.BigtableAdmin.html)** +* **[Hub](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/struct.BigtableAdmin.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.Part.html)** + * **[Parts](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190506/google_bigtableadmin2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.CallBuilder.html) 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/1.0.11+20190506/google_bigtableadmin2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190506/google_bigtableadmin2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-bigtableadmin2/1.0.10+20190506/google_bigtableadmin2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.ResponseResult.html) 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/1.0.10+20190506/google_bigtableadmin2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190506/google_bigtableadmin2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190506/google_bigtableadmin2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-bigtableadmin2/1.0.11+20190506/google_bigtableadmin2/trait.RequestValue.html) are 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/cmn.rs b/gen/bigtableadmin2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/bigtableadmin2/src/cmn.rs +++ b/gen/bigtableadmin2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/bigtableadmin2/src/lib.rs b/gen/bigtableadmin2/src/lib.rs index 5506e5168a..a193b516c5 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 *1.0.10+20190506*, where *20190506* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Bigtable Admin* crate version *1.0.11+20190506*, where *20190506* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Bigtable Admin* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigtable/). @@ -365,7 +365,7 @@ impl<'a, C, A> BigtableAdmin BigtableAdmin { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://bigtableadmin.googleapis.com/".to_string(), _root_url: "https://bigtableadmin.googleapis.com/".to_string(), } @@ -379,7 +379,7 @@ impl<'a, C, A> BigtableAdmin } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/binaryauthorization1_beta1-cli/Cargo.toml b/gen/binaryauthorization1_beta1-cli/Cargo.toml index e1ff64ecc1..c158de9b52 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 = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/binaryauthorization1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-binaryauthorization1_beta1] path = "../binaryauthorization1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/binaryauthorization1_beta1-cli/README.md b/gen/binaryauthorization1_beta1-cli/README.md index 1de786b979..a65b1014e7 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Binary Authorization* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash binaryauthorization1-beta1 [options] diff --git a/gen/binaryauthorization1_beta1-cli/mkdocs.yml b/gen/binaryauthorization1_beta1-cli/mkdocs.yml index e3e548ef58..92901414f7 100644 --- a/gen/binaryauthorization1_beta1-cli/mkdocs.yml +++ b/gen/binaryauthorization1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Binary Authorization v1.0.10+20190628 +site_name: Binary Authorization v1.0.11+20190628 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 dd6790e508..96556875c6 100644 --- a/gen/binaryauthorization1_beta1-cli/src/main.rs +++ b/gen/binaryauthorization1_beta1-cli/src/main.rs @@ -1507,7 +1507,7 @@ fn main() { let mut app = App::new("binaryauthorization1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .about("The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_binaryauthorization1_beta1_cli") diff --git a/gen/binaryauthorization1_beta1/Cargo.toml b/gen/binaryauthorization1_beta1/Cargo.toml index 359f4ffe63..a246f510f0 100644 --- a/gen/binaryauthorization1_beta1/Cargo.toml +++ b/gen/binaryauthorization1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-binaryauthorization1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/binaryauthorization1_beta1" homepage = "https://cloud.google.com/binary-authorization/" -documentation = "https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628" +documentation = "https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628" license = "MIT" keywords = ["binaryauthorization", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/binaryauthorization1_beta1/README.md b/gen/binaryauthorization1_beta1/README.md index 8e47adde1e..ce585298c3 100644 --- a/gen/binaryauthorization1_beta1/README.md +++ b/gen/binaryauthorization1_beta1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Binary Authorization* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_binaryauthorization1_beta1/struct.BinaryAuthorization.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.BinaryAuthorization.html) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorCreateCall.html), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorDeleteCall.html), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorGetCall.html), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorGetIamPolicyCall.html), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorListCall.html), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorSetIamPolicyCall.html), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorTestIamPermissionCall.html), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorUpdateCall.html), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectGetPolicyCall.html), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectPolicyGetIamPolicyCall.html), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectPolicySetIamPolicyCall.html), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectPolicyTestIamPermissionCall.html) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.ProjectUpdatePolicyCall.html) + * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorCreateCall.html), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorDeleteCall.html), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorGetCall.html), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorGetIamPolicyCall.html), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorListCall.html), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorSetIamPolicyCall.html), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorTestIamPermissionCall.html), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectAttestorUpdateCall.html), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectGetPolicyCall.html), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectPolicyGetIamPolicyCall.html), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectPolicySetIamPolicyCall.html), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectPolicyTestIamPermissionCall.html) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.ProjectUpdatePolicyCall.html) @@ -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-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/struct.BinaryAuthorization.html)** +* **[Hub](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/struct.BinaryAuthorization.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/enum.Result.html) 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/1.0.10+20190628/google_binaryauthorization1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_binaryauthorization1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html) 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/1.0.11+20190628/google_binaryauthorization1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_binaryauthorization1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-binaryauthorization1_beta1/1.0.10+20190628/google_binaryauthorization1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.ResponseResult.html) 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/1.0.10+20190628/google_binaryauthorization1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_binaryauthorization1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-binaryauthorization1_beta1/1.0.11+20190628/google_binaryauthorization1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/binaryauthorization1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/binaryauthorization1_beta1/src/cmn.rs +++ b/gen/binaryauthorization1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/binaryauthorization1_beta1/src/lib.rs b/gen/binaryauthorization1_beta1/src/lib.rs index 872e888819..93e16b8656 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Binary Authorization* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Binary Authorization* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). @@ -332,7 +332,7 @@ impl<'a, C, A> BinaryAuthorization BinaryAuthorization { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://binaryauthorization.googleapis.com/".to_string(), _root_url: "https://binaryauthorization.googleapis.com/".to_string(), } @@ -343,7 +343,7 @@ impl<'a, C, A> BinaryAuthorization } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/blogger3-cli/Cargo.toml b/gen/blogger3-cli/Cargo.toml index 9de66aa157..5db3b66b0e 100644 --- a/gen/blogger3-cli/Cargo.toml +++ b/gen/blogger3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-blogger3-cli" -version = "1.0.10+20150422" +version = "1.0.11+20150422" authors = ["Sebastian Thiel "] description = "A complete library to interact with blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/blogger3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-blogger3] path = "../blogger3" -version = "1.0.10+20150422" +version = "1.0.11+20150422" diff --git a/gen/blogger3-cli/README.md b/gen/blogger3-cli/README.md index f964a4a8dc..e30ad43d23 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 *20150422*. The CLI is at version *1.0.10*. +This documentation was generated from the *blogger* API at revision *20150422*. The CLI is at version *1.0.11*. ```bash blogger3 [options] diff --git a/gen/blogger3-cli/mkdocs.yml b/gen/blogger3-cli/mkdocs.yml index 1776fcd42b..9d0638fe8b 100644 --- a/gen/blogger3-cli/mkdocs.yml +++ b/gen/blogger3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: blogger v1.0.10+20150422 +site_name: blogger v1.0.11+20150422 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 6234a46305..453e9802c7 100644 --- a/gen/blogger3-cli/src/main.rs +++ b/gen/blogger3-cli/src/main.rs @@ -3497,7 +3497,7 @@ fn main() { let mut app = App::new("blogger3") .author("Sebastian Thiel ") - .version("1.0.10+20150422") + .version("1.0.11+20150422") .about("API for access to the data within Blogger.") .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 43dad37bdd..770364a1f7 100644 --- a/gen/blogger3/Cargo.toml +++ b/gen/blogger3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-blogger3" -version = "1.0.10+20150422" +version = "1.0.11+20150422" authors = ["Sebastian Thiel "] description = "A complete library to interact with blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/blogger3" homepage = "https://developers.google.com/blogger/docs/3.0/getting_started" -documentation = "https://docs.rs/google-blogger3/1.0.10+20150422" +documentation = "https://docs.rs/google-blogger3/1.0.11+20150422" license = "MIT" keywords = ["blogger", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/blogger3/README.md b/gen/blogger3/README.md index a80e91da22..a25b9ccdf5 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 *1.0.10+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *blogger* crate version *1.0.11+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20150422/google_blogger3/struct.Blogger.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.Blogger.html) ... -* [blog user infos](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.BlogUserInfo.html) - * [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.BlogUserInfoGetCall.html) -* [blogs](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.Blog.html) - * [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.BlogGetCall.html), [*get by url*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.BlogGetByUrlCall.html) and [*list by user*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.BlogListByUserCall.html) -* [comments](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.Comment.html) - * [*approve*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentApproveCall.html), [*delete*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentListCall.html), [*list by blog*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentListByBlogCall.html), [*mark as spam*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentMarkAsSpamCall.html) and [*remove content*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.CommentRemoveContentCall.html) +* [blog user infos](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.BlogUserInfo.html) + * [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.BlogUserInfoGetCall.html) +* [blogs](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.Blog.html) + * [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.BlogGetCall.html), [*get by url*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.BlogGetByUrlCall.html) and [*list by user*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.BlogListByUserCall.html) +* [comments](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.Comment.html) + * [*approve*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentApproveCall.html), [*delete*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentListCall.html), [*list by blog*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentListByBlogCall.html), [*mark as spam*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentMarkAsSpamCall.html) and [*remove content*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.CommentRemoveContentCall.html) * page views - * [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageViewGetCall.html) -* [pages](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.Page.html) - * [*delete*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageGetCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PagePatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PagePublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageRevertCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PageUpdateCall.html) -* [post user infos](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostUserInfo.html) - * [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostUserInfoGetCall.html) and [*list*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostUserInfoListCall.html) -* [posts](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.Post.html) - * [*delete*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostGetCall.html), [*get by path*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostGetByPathCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostPatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostPublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostRevertCall.html), [*search*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostSearchCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.PostUpdateCall.html) -* [users](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.User.html) - * [*get*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/struct.UserGetCall.html) + * [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageViewGetCall.html) +* [pages](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.Page.html) + * [*delete*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageGetCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PagePatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PagePublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageRevertCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PageUpdateCall.html) +* [post user infos](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostUserInfo.html) + * [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostUserInfoGetCall.html) and [*list*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostUserInfoListCall.html) +* [posts](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.Post.html) + * [*delete*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostGetCall.html), [*get by path*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostGetByPathCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostPatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostPublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostRevertCall.html), [*search*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostSearchCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.PostUpdateCall.html) +* [users](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.User.html) + * [*get*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.UserGetCall.html) @@ -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/1.0.10+20150422/google_blogger3/struct.Blogger.html)** +* **[Hub](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/struct.Blogger.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.Part.html)** + * **[Parts](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -157,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20150422/google_blogger3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -177,29 +177,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20150422/google_blogger3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.CallBuilder.html) 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/1.0.11+20150422/google_blogger3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20150422/google_blogger3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-blogger3/1.0.10+20150422/google_blogger3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.ResponseResult.html) 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/1.0.10+20150422/google_blogger3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20150422/google_blogger3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20150422/google_blogger3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-blogger3/1.0.11+20150422/google_blogger3/trait.RequestValue.html) are 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/cmn.rs b/gen/blogger3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/blogger3/src/cmn.rs +++ b/gen/blogger3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/blogger3/src/lib.rs b/gen/blogger3/src/lib.rs index 25215f9d0b..1b0cb981c6 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 *1.0.10+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *blogger* crate version *1.0.11+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -364,7 +364,7 @@ impl<'a, C, A> Blogger Blogger { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/blogger/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -396,7 +396,7 @@ impl<'a, C, A> Blogger } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/books1-cli/Cargo.toml b/gen/books1-cli/Cargo.toml index a1ac74cde4..3de1e16e5a 100644 --- a/gen/books1-cli/Cargo.toml +++ b/gen/books1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-books1-cli" -version = "1.0.10+20181212" +version = "1.0.11+20181212" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/books1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-books1] path = "../books1" -version = "1.0.10+20181212" +version = "1.0.11+20181212" diff --git a/gen/books1-cli/README.md b/gen/books1-cli/README.md index 816e3513ee..d1814ebdb1 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 *20181212*. The CLI is at version *1.0.10*. +This documentation was generated from the *books* API at revision *20181212*. The CLI is at version *1.0.11*. ```bash books1 [options] diff --git a/gen/books1-cli/mkdocs.yml b/gen/books1-cli/mkdocs.yml index 2ddb1fcecc..67b5aea17d 100644 --- a/gen/books1-cli/mkdocs.yml +++ b/gen/books1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: books v1.0.10+20181212 +site_name: books v1.0.11+20181212 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 ea4d0911c3..b38164d22a 100644 --- a/gen/books1-cli/src/main.rs +++ b/gen/books1-cli/src/main.rs @@ -4928,7 +4928,7 @@ fn main() { let mut app = App::new("books1") .author("Sebastian Thiel ") - .version("1.0.10+20181212") + .version("1.0.11+20181212") .about("Searches for books and manages your Google Books library.") .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 f8b71d5d15..c47f8272c6 100644 --- a/gen/books1/Cargo.toml +++ b/gen/books1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-books1" -version = "1.0.10+20181212" +version = "1.0.11+20181212" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/books1" homepage = "https://developers.google.com/books/docs/v1/getting_started" -documentation = "https://docs.rs/google-books1/1.0.10+20181212" +documentation = "https://docs.rs/google-books1/1.0.11+20181212" license = "MIT" keywords = ["books", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/books1/README.md b/gen/books1/README.md index e1dd6a5e7d..9070872e2a 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 *1.0.10+20181212*, where *20181212* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *books* crate version *1.0.11+20181212*, where *20181212* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *books* *v1* API can be found at the [official documentation site](https://developers.google.com/books/docs/v1/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.Books.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.Books.html) ... * bookshelves - * [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.BookshelveGetCall.html), [*list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.BookshelveListCall.html) and [*volumes list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.BookshelveVolumeListCall.html) + * [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.BookshelveGetCall.html), [*list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.BookshelveListCall.html) and [*volumes list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.BookshelveVolumeListCall.html) * cloudloading - * [*add book*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.CloudloadingAddBookCall.html), [*delete book*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.CloudloadingDeleteBookCall.html) and [*update book*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.CloudloadingUpdateBookCall.html) + * [*add book*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.CloudloadingAddBookCall.html), [*delete book*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.CloudloadingDeleteBookCall.html) and [*update book*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.CloudloadingUpdateBookCall.html) * dictionary - * [*list offline metadata*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.DictionaryListOfflineMetadataCall.html) + * [*list offline metadata*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.DictionaryListOfflineMetadataCall.html) * familysharing - * [*get family info*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.FamilysharingGetFamilyInfoCall.html), [*share*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.FamilysharingShareCall.html) and [*unshare*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.FamilysharingUnshareCall.html) + * [*get family info*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.FamilysharingGetFamilyInfoCall.html), [*share*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.FamilysharingShareCall.html) and [*unshare*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.FamilysharingUnshareCall.html) * layers - * [*annotation data get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.LayerAnnotationDataGetCall.html), [*annotation data list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.LayerAnnotationDataListCall.html), [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.LayerGetCall.html), [*list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.LayerListCall.html), [*volume annotations get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.LayerVolumeAnnotationGetCall.html) and [*volume annotations list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.LayerVolumeAnnotationListCall.html) + * [*annotation data get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.LayerAnnotationDataGetCall.html), [*annotation data list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.LayerAnnotationDataListCall.html), [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.LayerGetCall.html), [*list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.LayerListCall.html), [*volume annotations get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.LayerVolumeAnnotationGetCall.html) and [*volume annotations list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.LayerVolumeAnnotationListCall.html) * myconfig - * [*get user settings*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MyconfigGetUserSettingCall.html), [*release download access*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MyconfigReleaseDownloadAccesCall.html), [*request access*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MyconfigRequestAccesCall.html), [*sync volume licenses*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MyconfigSyncVolumeLicenseCall.html) and [*update user settings*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MyconfigUpdateUserSettingCall.html) + * [*get user settings*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MyconfigGetUserSettingCall.html), [*release download access*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MyconfigReleaseDownloadAccesCall.html), [*request access*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MyconfigRequestAccesCall.html), [*sync volume licenses*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MyconfigSyncVolumeLicenseCall.html) and [*update user settings*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MyconfigUpdateUserSettingCall.html) * mylibrary - * [*annotations delete*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryAnnotationDeleteCall.html), [*annotations insert*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryAnnotationInsertCall.html), [*annotations list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryAnnotationListCall.html), [*annotations summary*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryAnnotationSummaryCall.html), [*annotations update*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryAnnotationUpdateCall.html), [*bookshelves add volume*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveAddVolumeCall.html), [*bookshelves clear volumes*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveClearVolumeCall.html), [*bookshelves get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveGetCall.html), [*bookshelves list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveListCall.html), [*bookshelves move volume*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveMoveVolumeCall.html), [*bookshelves remove volume*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveRemoveVolumeCall.html), [*bookshelves volumes list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryBookshelveVolumeListCall.html), [*readingpositions get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryReadingpositionGetCall.html) and [*readingpositions set position*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.MylibraryReadingpositionSetPositionCall.html) -* [notification](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.Notification.html) - * [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.NotificationGetCall.html) + * [*annotations delete*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryAnnotationDeleteCall.html), [*annotations insert*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryAnnotationInsertCall.html), [*annotations list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryAnnotationListCall.html), [*annotations summary*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryAnnotationSummaryCall.html), [*annotations update*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryAnnotationUpdateCall.html), [*bookshelves add volume*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveAddVolumeCall.html), [*bookshelves clear volumes*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveClearVolumeCall.html), [*bookshelves get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveGetCall.html), [*bookshelves list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveListCall.html), [*bookshelves move volume*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveMoveVolumeCall.html), [*bookshelves remove volume*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveRemoveVolumeCall.html), [*bookshelves volumes list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryBookshelveVolumeListCall.html), [*readingpositions get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryReadingpositionGetCall.html) and [*readingpositions set position*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.MylibraryReadingpositionSetPositionCall.html) +* [notification](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.Notification.html) + * [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.NotificationGetCall.html) * onboarding - * [*list categories*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.OnboardingListCategoryCall.html) and [*list category volumes*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.OnboardingListCategoryVolumeCall.html) + * [*list categories*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.OnboardingListCategoryCall.html) and [*list category volumes*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.OnboardingListCategoryVolumeCall.html) * personalizedstream - * [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.PersonalizedstreamGetCall.html) + * [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.PersonalizedstreamGetCall.html) * promooffer - * [*accept*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.PromoofferAcceptCall.html), [*dismiss*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.PromoofferDismisCall.html) and [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.PromoofferGetCall.html) + * [*accept*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.PromoofferAcceptCall.html), [*dismiss*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.PromoofferDismisCall.html) and [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.PromoofferGetCall.html) * series - * [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.SeryGetCall.html) and [*membership get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.SeryMembershipGetCall.html) -* [volumes](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.Volume.html) - * [*associated list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeAssociatedListCall.html), [*get*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeGetCall.html), [*list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeListCall.html), [*mybooks list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeMybookListCall.html), [*recommended list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeRecommendedListCall.html), [*recommended rate*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeRecommendedRateCall.html) and [*useruploaded list*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/struct.VolumeUseruploadedListCall.html) + * [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.SeryGetCall.html) and [*membership get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.SeryMembershipGetCall.html) +* [volumes](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.Volume.html) + * [*associated list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeAssociatedListCall.html), [*get*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeGetCall.html), [*list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeListCall.html), [*mybooks list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeMybookListCall.html), [*recommended list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeRecommendedListCall.html), [*recommended rate*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeRecommendedRateCall.html) and [*useruploaded list*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.VolumeUseruploadedListCall.html) @@ -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/1.0.10+20181212/google_books1/struct.Books.html)** +* **[Hub](https://docs.rs/google-books1/1.0.11+20181212/google_books1/struct.Books.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.Part.html)** + * **[Parts](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -168,17 +168,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/1.0.10+20181212/google_books1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/1.0.11+20181212/google_books1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181212/google_books1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-books1/1.0.11+20181212/google_books1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -188,29 +188,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20181212/google_books1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.CallBuilder.html) 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/1.0.11+20181212/google_books1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181212/google_books1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-books1/1.0.10+20181212/google_books1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.ResponseResult.html) 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/1.0.10+20181212/google_books1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181212/google_books1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181212/google_books1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-books1/1.0.11+20181212/google_books1/trait.RequestValue.html) are 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/cmn.rs b/gen/books1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/books1/src/cmn.rs +++ b/gen/books1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/books1/src/lib.rs b/gen/books1/src/lib.rs index 8f9f061348..1c1a97ac8a 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 *1.0.10+20181212*, where *20181212* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *books* crate version *1.0.11+20181212*, where *20181212* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *books* *v1* API can be found at the //! [official documentation site](https://developers.google.com/books/docs/v1/getting_started). @@ -374,7 +374,7 @@ impl<'a, C, A> Books Books { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/books/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -421,7 +421,7 @@ impl<'a, C, A> Books } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/calendar3-cli/Cargo.toml b/gen/calendar3-cli/Cargo.toml index c2a288c57b..74e845ed87 100644 --- a/gen/calendar3-cli/Cargo.toml +++ b/gen/calendar3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-calendar3-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/calendar3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-calendar3] path = "../calendar3" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/calendar3-cli/README.md b/gen/calendar3-cli/README.md index 80a912fdbb..d76b8cb1fa 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *calendar* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash calendar3 [options] diff --git a/gen/calendar3-cli/mkdocs.yml b/gen/calendar3-cli/mkdocs.yml index 86f4f7cb3a..16729ec1de 100644 --- a/gen/calendar3-cli/mkdocs.yml +++ b/gen/calendar3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: calendar v1.0.10+20190702 +site_name: calendar v1.0.11+20190702 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 943ba2fba7..fe01cd6743 100644 --- a/gen/calendar3-cli/src/main.rs +++ b/gen/calendar3-cli/src/main.rs @@ -4474,7 +4474,7 @@ fn main() { let mut app = App::new("calendar3") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 235aa6a585..ce9d781dfc 100644 --- a/gen/calendar3/Cargo.toml +++ b/gen/calendar3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-calendar3" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/calendar3" homepage = "https://developers.google.com/google-apps/calendar/firstapp" -documentation = "https://docs.rs/google-calendar3/1.0.10+20190702" +documentation = "https://docs.rs/google-calendar3/1.0.11+20190702" license = "MIT" keywords = ["calendar", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/calendar3/README.md b/gen/calendar3/README.md index aa70ecb507..1b42ae85d1 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *calendar* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_calendar3/struct.CalendarHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarHub.html) ... -* [acl](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.Acl.html) - * [*delete*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclWatchCall.html) -* [calendar list](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarList.html) - * [*delete*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListWatchCall.html) -* [calendars](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.Calendar.html) - * [*clear*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarClearCall.html), [*delete*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarInsertCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarPatchCall.html) and [*update*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarUpdateCall.html) -* [channels](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.Channel.html) - * [*stop*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.ChannelStopCall.html) +* [acl](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.Acl.html) + * [*delete*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclWatchCall.html) +* [calendar list](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarList.html) + * [*delete*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListWatchCall.html) +* [calendars](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.Calendar.html) + * [*clear*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarClearCall.html), [*delete*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarInsertCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarPatchCall.html) and [*update*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarUpdateCall.html) +* [channels](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.Channel.html) + * [*stop*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.ChannelStopCall.html) * colors - * [*get*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.ColorGetCall.html) -* [events](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.Event.html) - * [*delete*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventGetCall.html), [*import*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventImportCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventInsertCall.html), [*instances*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventInstanceCall.html), [*list*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventListCall.html), [*move*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventMoveCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventPatchCall.html), [*quick add*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventQuickAddCall.html), [*update*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventWatchCall.html) + * [*get*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.ColorGetCall.html) +* [events](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.Event.html) + * [*delete*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventGetCall.html), [*import*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventImportCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventInsertCall.html), [*instances*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventInstanceCall.html), [*list*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventListCall.html), [*move*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventMoveCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventPatchCall.html), [*quick add*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventQuickAddCall.html), [*update*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventWatchCall.html) * freebusy - * [*query*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.FreebusyQueryCall.html) -* [settings](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.Setting.html) - * [*get*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.SettingGetCall.html), [*list*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.SettingListCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.SettingWatchCall.html) + * [*query*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.FreebusyQueryCall.html) +* [settings](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.Setting.html) + * [*get*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.SettingGetCall.html), [*list*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.SettingListCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.SettingWatchCall.html) Subscription supported by ... -* [*list settings*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.SettingListCall.html) -* [*list events*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventListCall.html) -* [*list calendar list*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListListCall.html) -* [*watch events*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventWatchCall.html) -* [*instances events*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.EventInstanceCall.html) -* [*watch settings*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.SettingWatchCall.html) -* [*watch acl*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclWatchCall.html) -* [*list acl*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.AclListCall.html) -* [*watch calendar list*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarListWatchCall.html) +* [*list settings*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.SettingListCall.html) +* [*list events*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventListCall.html) +* [*list calendar list*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListListCall.html) +* [*watch events*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventWatchCall.html) +* [*instances events*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.EventInstanceCall.html) +* [*watch settings*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.SettingWatchCall.html) +* [*watch acl*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclWatchCall.html) +* [*list acl*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.AclListCall.html) +* [*watch calendar list*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarListWatchCall.html) @@ -49,17 +49,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/struct.CalendarHub.html)** +* **[Hub](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/struct.CalendarHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.Part.html)** + * **[Parts](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -183,17 +183,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_calendar3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-calendar3/1.0.10+20190702/google_calendar3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.CallBuilder.html) 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/1.0.11+20190702/google_calendar3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_calendar3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-calendar3/1.0.10+20190702/google_calendar3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.ResponseResult.html) 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/1.0.10+20190702/google_calendar3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_calendar3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_calendar3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-calendar3/1.0.11+20190702/google_calendar3/trait.RequestValue.html) are 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/cmn.rs b/gen/calendar3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/calendar3/src/cmn.rs +++ b/gen/calendar3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/calendar3/src/lib.rs b/gen/calendar3/src/lib.rs index 4178fb2b40..bc6c3eb690 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *calendar* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *calendar* *v3* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). @@ -415,7 +415,7 @@ impl<'a, C, A> CalendarHub CalendarHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/calendar/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -447,7 +447,7 @@ impl<'a, C, A> CalendarHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/chat1-cli/Cargo.toml b/gen/chat1-cli/Cargo.toml index 79175b381c..5c65db3d8c 100644 --- a/gen/chat1-cli/Cargo.toml +++ b/gen/chat1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chat1-cli" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Hangouts Chat (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/chat1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-chat1] path = "../chat1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/chat1-cli/README.md b/gen/chat1-cli/README.md index 50b69cff8a..612d491f22 100644 --- a/gen/chat1-cli/README.md +++ b/gen/chat1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Hangouts Chat* API at revision *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Hangouts Chat* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash chat1 [options] diff --git a/gen/chat1-cli/mkdocs.yml b/gen/chat1-cli/mkdocs.yml index 5d67c132bb..38a30e9816 100644 --- a/gen/chat1-cli/mkdocs.yml +++ b/gen/chat1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Hangouts Chat v1.0.10+20190622 +site_name: Hangouts Chat v1.0.11+20190622 site_url: http://byron.github.io/google-apis-rs/google-chat1-cli site_description: A complete library to interact with Hangouts Chat (protocol v1) diff --git a/gen/chat1-cli/src/main.rs b/gen/chat1-cli/src/main.rs index eaa19dc60f..d6da0d051d 100644 --- a/gen/chat1-cli/src/main.rs +++ b/gen/chat1-cli/src/main.rs @@ -882,7 +882,7 @@ fn main() { let mut app = App::new("chat1") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .about("Enables bots to fetch information and perform actions in Hangouts Chat.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chat1_cli") .arg(Arg::with_name("folder") diff --git a/gen/chat1/Cargo.toml b/gen/chat1/Cargo.toml index 17cbec7e25..67b2b6ff31 100644 --- a/gen/chat1/Cargo.toml +++ b/gen/chat1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chat1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Hangouts Chat (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/chat1" homepage = "https://developers.google.com/hangouts/chat" -documentation = "https://docs.rs/google-chat1/1.0.10+20190622" +documentation = "https://docs.rs/google-chat1/1.0.11+20190622" license = "MIT" keywords = ["chat", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/chat1/README.md b/gen/chat1/README.md index bb662970dd..a20fe8e874 100644 --- a/gen/chat1/README.md +++ b/gen/chat1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-chat1` library allows access to all features of the *Google Hangouts Chat* service. -This documentation was generated from *Hangouts Chat* crate version *1.0.10+20190622*, where *20190622* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Hangouts Chat* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Hangouts Chat* *v1* API can be found at the [official documentation site](https://developers.google.com/hangouts/chat). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.HangoutsChat.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.HangoutsChat.html) ... -* [spaces](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.Space.html) - * [*get*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceGetCall.html), [*list*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceListCall.html), [*members get*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceMemberGetCall.html), [*members list*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceMemberListCall.html), [*messages create*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceMessageCreateCall.html), [*messages delete*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceMessageDeleteCall.html), [*messages get*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceMessageGetCall.html) and [*messages update*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/struct.SpaceMessageUpdateCall.html) +* [spaces](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.Space.html) + * [*get*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceGetCall.html), [*list*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceListCall.html), [*members get*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceMemberGetCall.html), [*members list*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceMemberListCall.html), [*messages create*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceMessageCreateCall.html), [*messages delete*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceMessageDeleteCall.html), [*messages get*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceMessageGetCall.html) and [*messages update*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.SpaceMessageUpdateCall.html) @@ -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-chat1/1.0.10+20190622/google_chat1/struct.HangoutsChat.html)** +* **[Hub](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/struct.HangoutsChat.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.Part.html)** + * **[Parts](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-chat1/1.0.10+20190622/google_chat1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-chat1/1.0.10+20190622/google_chat1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-chat1/1.0.11+20190622/google_chat1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chat1/src/cmn.rs b/gen/chat1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/chat1/src/cmn.rs +++ b/gen/chat1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/chat1/src/lib.rs b/gen/chat1/src/lib.rs index 1314d20f33..775bc79a91 100644 --- a/gen/chat1/src/lib.rs +++ b/gen/chat1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Hangouts Chat* crate version *1.0.10+20190622*, where *20190622* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Hangouts Chat* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Hangouts Chat* *v1* API can be found at the //! [official documentation site](https://developers.google.com/hangouts/chat). @@ -316,7 +316,7 @@ impl<'a, C, A> HangoutsChat HangoutsChat { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://chat.googleapis.com/".to_string(), _root_url: "https://chat.googleapis.com/".to_string(), } @@ -327,7 +327,7 @@ impl<'a, C, A> HangoutsChat } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/classroom1-cli/Cargo.toml b/gen/classroom1-cli/Cargo.toml index 43f01c829b..ff45c23a9d 100644 --- a/gen/classroom1-cli/Cargo.toml +++ b/gen/classroom1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-classroom1-cli" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/classroom1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-classroom1] path = "../classroom1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/classroom1-cli/README.md b/gen/classroom1-cli/README.md index f6117b9f6b..e75ce15a97 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *classroom* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash classroom1 [options] diff --git a/gen/classroom1-cli/mkdocs.yml b/gen/classroom1-cli/mkdocs.yml index 817bfb9cf5..2d1faf8f41 100644 --- a/gen/classroom1-cli/mkdocs.yml +++ b/gen/classroom1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: classroom v1.0.10+20190701 +site_name: classroom v1.0.11+20190701 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 0c0ec2888c..24f6662387 100644 --- a/gen/classroom1-cli/src/main.rs +++ b/gen/classroom1-cli/src/main.rs @@ -6660,7 +6660,7 @@ fn main() { let mut app = App::new("classroom1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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 5cceae385a..7ef8655c41 100644 --- a/gen/classroom1/Cargo.toml +++ b/gen/classroom1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-classroom1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/classroom1" homepage = "https://developers.google.com/classroom/" -documentation = "https://docs.rs/google-classroom1/1.0.10+20190701" +documentation = "https://docs.rs/google-classroom1/1.0.11+20190701" license = "MIT" keywords = ["classroom", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/classroom1/README.md b/gen/classroom1/README.md index 34106374dd..09119d932a 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *classroom* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_classroom1/struct.Classroom.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.Classroom.html) ... -* [courses](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.Course.html) - * [*aliases create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAliaseCreateCall.html), [*aliases delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAliaseDeleteCall.html), [*aliases list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAliaseListCall.html), [*announcements create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAnnouncementCreateCall.html), [*announcements delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAnnouncementDeleteCall.html), [*announcements get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAnnouncementGetCall.html), [*announcements list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAnnouncementListCall.html), [*announcements modify assignees*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAnnouncementModifyAssigneeCall.html), [*announcements patch*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseAnnouncementPatchCall.html), [*course work create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkCreateCall.html), [*course work delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkDeleteCall.html), [*course work get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkGetCall.html), [*course work list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkListCall.html), [*course work modify assignees*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkModifyAssigneeCall.html), [*course work patch*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkPatchCall.html), [*course work student submissions get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionGetCall.html), [*course work student submissions list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionListCall.html), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionModifyAttachmentCall.html), [*course work student submissions patch*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionPatchCall.html), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionReclaimCall.html), [*course work student submissions return*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionReturnCall.html), [*course work student submissions turn in*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionTurnInCall.html), [*create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseGetCall.html), [*list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseListCall.html), [*patch*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CoursePatchCall.html), [*students create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseStudentCreateCall.html), [*students delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseStudentDeleteCall.html), [*students get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseStudentGetCall.html), [*students list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseStudentListCall.html), [*teachers create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTeacherCreateCall.html), [*teachers delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTeacherDeleteCall.html), [*teachers get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTeacherGetCall.html), [*teachers list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTeacherListCall.html), [*topics create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTopicCreateCall.html), [*topics delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTopicDeleteCall.html), [*topics get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTopicGetCall.html), [*topics list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTopicListCall.html), [*topics patch*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseTopicPatchCall.html) and [*update*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.CourseUpdateCall.html) -* [invitations](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.Invitation.html) - * [*accept*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.InvitationAcceptCall.html), [*create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.InvitationCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.InvitationDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.InvitationGetCall.html) and [*list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.InvitationListCall.html) -* [registrations](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.Registration.html) - * [*create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.RegistrationCreateCall.html) and [*delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.RegistrationDeleteCall.html) -* [user profiles](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfile.html) - * [*get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGetCall.html), [*guardian invitations create*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianInvitationCreateCall.html), [*guardian invitations get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianInvitationGetCall.html), [*guardian invitations list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianInvitationListCall.html), [*guardian invitations patch*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianInvitationPatchCall.html), [*guardians delete*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianDeleteCall.html), [*guardians get*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianGetCall.html) and [*guardians list*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/struct.UserProfileGuardianListCall.html) +* [courses](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.Course.html) + * [*aliases create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAliaseCreateCall.html), [*aliases delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAliaseDeleteCall.html), [*aliases list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAliaseListCall.html), [*announcements create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAnnouncementCreateCall.html), [*announcements delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAnnouncementDeleteCall.html), [*announcements get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAnnouncementGetCall.html), [*announcements list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAnnouncementListCall.html), [*announcements modify assignees*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAnnouncementModifyAssigneeCall.html), [*announcements patch*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseAnnouncementPatchCall.html), [*course work create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkCreateCall.html), [*course work delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkDeleteCall.html), [*course work get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkGetCall.html), [*course work list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkListCall.html), [*course work modify assignees*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkModifyAssigneeCall.html), [*course work patch*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkPatchCall.html), [*course work student submissions get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionGetCall.html), [*course work student submissions list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionListCall.html), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionModifyAttachmentCall.html), [*course work student submissions patch*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionPatchCall.html), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionReclaimCall.html), [*course work student submissions return*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionReturnCall.html), [*course work student submissions turn in*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCourseWorkStudentSubmissionTurnInCall.html), [*create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseGetCall.html), [*list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseListCall.html), [*patch*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CoursePatchCall.html), [*students create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseStudentCreateCall.html), [*students delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseStudentDeleteCall.html), [*students get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseStudentGetCall.html), [*students list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseStudentListCall.html), [*teachers create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTeacherCreateCall.html), [*teachers delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTeacherDeleteCall.html), [*teachers get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTeacherGetCall.html), [*teachers list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTeacherListCall.html), [*topics create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTopicCreateCall.html), [*topics delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTopicDeleteCall.html), [*topics get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTopicGetCall.html), [*topics list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTopicListCall.html), [*topics patch*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseTopicPatchCall.html) and [*update*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.CourseUpdateCall.html) +* [invitations](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.Invitation.html) + * [*accept*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.InvitationAcceptCall.html), [*create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.InvitationCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.InvitationDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.InvitationGetCall.html) and [*list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.InvitationListCall.html) +* [registrations](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.Registration.html) + * [*create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.RegistrationCreateCall.html) and [*delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.RegistrationDeleteCall.html) +* [user profiles](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfile.html) + * [*get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGetCall.html), [*guardian invitations create*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianInvitationCreateCall.html), [*guardian invitations get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianInvitationGetCall.html), [*guardian invitations list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianInvitationListCall.html), [*guardian invitations patch*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianInvitationPatchCall.html), [*guardians delete*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianDeleteCall.html), [*guardians get*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianGetCall.html) and [*guardians list*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.UserProfileGuardianListCall.html) @@ -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/1.0.10+20190701/google_classroom1/struct.Classroom.html)** +* **[Hub](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/struct.Classroom.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.Part.html)** + * **[Parts](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_classroom1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-classroom1/1.0.10+20190701/google_classroom1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.CallBuilder.html) 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/1.0.11+20190701/google_classroom1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_classroom1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-classroom1/1.0.10+20190701/google_classroom1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.ResponseResult.html) 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/1.0.10+20190701/google_classroom1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_classroom1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_classroom1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-classroom1/1.0.11+20190701/google_classroom1/trait.RequestValue.html) are 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/cmn.rs b/gen/classroom1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/classroom1/src/cmn.rs +++ b/gen/classroom1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/classroom1/src/lib.rs b/gen/classroom1/src/lib.rs index 779a3a0187..bfbb59a991 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *classroom* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *classroom* *v1* API can be found at the //! [official documentation site](https://developers.google.com/classroom/). @@ -449,7 +449,7 @@ impl<'a, C, A> Classroom Classroom { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://classroom.googleapis.com/".to_string(), _root_url: "https://classroom.googleapis.com/".to_string(), } @@ -469,7 +469,7 @@ impl<'a, C, A> Classroom } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudasset1-cli/Cargo.toml b/gen/cloudasset1-cli/Cargo.toml index 652d012dd0..4e3ec71fff 100644 --- a/gen/cloudasset1-cli/Cargo.toml +++ b/gen/cloudasset1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudasset1-cli" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudasset1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudasset1] path = "../cloudasset1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/cloudasset1-cli/README.md b/gen/cloudasset1-cli/README.md index 109f4fef79..5b5eb2c90d 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Asset* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash cloudasset1 [options] diff --git a/gen/cloudasset1-cli/mkdocs.yml b/gen/cloudasset1-cli/mkdocs.yml index fb895edbb1..3db5bff6b7 100644 --- a/gen/cloudasset1-cli/mkdocs.yml +++ b/gen/cloudasset1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v1.0.10+20190625 +site_name: Cloud Asset v1.0.11+20190625 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 e277a9cca3..57eda601ad 100644 --- a/gen/cloudasset1-cli/src/main.rs +++ b/gen/cloudasset1-cli/src/main.rs @@ -465,7 +465,7 @@ fn main() { let mut app = App::new("cloudasset1") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .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 42a2816258..c931234bf3 100644 --- a/gen/cloudasset1/Cargo.toml +++ b/gen/cloudasset1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudasset1" homepage = "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory" -documentation = "https://docs.rs/google-cloudasset1/1.0.10+20190625" +documentation = "https://docs.rs/google-cloudasset1/1.0.11+20190625" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudasset1/README.md b/gen/cloudasset1/README.md index 866267ea32..d559275512 100644 --- a/gen/cloudasset1/README.md +++ b/gen/cloudasset1/README.md @@ -5,21 +5,21 @@ 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Asset* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Cloud Asset* *v1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/struct.CloudAsset.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/struct.CloudAsset.html) ... -* [operations](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/struct.Operation.html) - * [*get*](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/struct.OperationGetCall.html) +* [operations](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/struct.Operation.html) + * [*get*](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/struct.OperationGetCall.html) Other activities are ... -* [batch get assets history](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/struct.MethodBatchGetAssetsHistoryCall.html) -* [export assets](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/struct.MethodExportAssetCall.html) +* [batch get assets history](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/struct.MethodBatchGetAssetsHistoryCall.html) +* [export assets](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/struct.MethodExportAssetCall.html) @@ -27,17 +27,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/struct.CloudAsset.html)** +* **[Hub](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/struct.CloudAsset.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_cloudasset1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.CallBuilder.html) 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/1.0.11+20190625/google_cloudasset1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_cloudasset1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudasset1/1.0.10+20190625/google_cloudasset1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.ResponseResult.html) 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/1.0.10+20190625/google_cloudasset1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_cloudasset1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_cloudasset1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudasset1/1.0.11+20190625/google_cloudasset1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudasset1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudasset1/src/cmn.rs +++ b/gen/cloudasset1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudasset1/src/lib.rs b/gen/cloudasset1/src/lib.rs index 55d56254e3..940bf27391 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Asset* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Asset* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory). @@ -334,7 +334,7 @@ impl<'a, C, A> CloudAsset CloudAsset { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudasset.googleapis.com/".to_string(), _root_url: "https://cloudasset.googleapis.com/".to_string(), } @@ -348,7 +348,7 @@ impl<'a, C, A> CloudAsset } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudasset1_beta1-cli/Cargo.toml b/gen/cloudasset1_beta1-cli/Cargo.toml index 6d48784a46..b081cd37ed 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 = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudasset1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudasset1_beta1] path = "../cloudasset1_beta1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/cloudasset1_beta1-cli/README.md b/gen/cloudasset1_beta1-cli/README.md index 0604df8dc5..65a21be5fa 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Asset* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash cloudasset1-beta1 [options] diff --git a/gen/cloudasset1_beta1-cli/mkdocs.yml b/gen/cloudasset1_beta1-cli/mkdocs.yml index c8fc225e8b..08b1d6622e 100644 --- a/gen/cloudasset1_beta1-cli/mkdocs.yml +++ b/gen/cloudasset1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v1.0.10+20190625 +site_name: Cloud Asset v1.0.11+20190625 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 aa0bac8c68..95a3c5dc79 100644 --- a/gen/cloudasset1_beta1-cli/src/main.rs +++ b/gen/cloudasset1_beta1-cli/src/main.rs @@ -984,7 +984,7 @@ fn main() { let mut app = App::new("cloudasset1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .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 72d536db10..52a3399a68 100644 --- a/gen/cloudasset1_beta1/Cargo.toml +++ b/gen/cloudasset1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1_beta1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudasset1_beta1" homepage = "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory" -documentation = "https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625" +documentation = "https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudasset1_beta1/README.md b/gen/cloudasset1_beta1/README.md index 04c2b9b45a..640ce6a132 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Asset* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Cloud Asset* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.CloudAsset.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.CloudAsset.html) ... * folders - * [*export assets*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.FolderExportAssetCall.html) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.FolderOperationGetCall.html) + * [*export assets*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.FolderExportAssetCall.html) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.FolderOperationGetCall.html) * organizations - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.OrganizationBatchGetAssetsHistoryCall.html), [*export assets*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.OrganizationExportAssetCall.html) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.OrganizationOperationGetCall.html) + * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.OrganizationBatchGetAssetsHistoryCall.html), [*export assets*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.OrganizationExportAssetCall.html) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.OrganizationOperationGetCall.html) * projects - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.ProjectBatchGetAssetsHistoryCall.html), [*export assets*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.ProjectExportAssetCall.html) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/struct.ProjectOperationGetCall.html) + * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.ProjectBatchGetAssetsHistoryCall.html), [*export assets*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.ProjectExportAssetCall.html) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.ProjectOperationGetCall.html) @@ -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/1.0.10+20190625/google_cloudasset1_beta1/struct.CloudAsset.html)** +* **[Hub](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/struct.CloudAsset.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/enum.Result.html) 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/1.0.10+20190625/google_cloudasset1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_cloudasset1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.CallBuilder.html) 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/1.0.11+20190625/google_cloudasset1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_cloudasset1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudasset1_beta1/1.0.10+20190625/google_cloudasset1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.ResponseResult.html) 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/1.0.10+20190625/google_cloudasset1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_cloudasset1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_cloudasset1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudasset1_beta1/1.0.11+20190625/google_cloudasset1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudasset1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudasset1_beta1/src/cmn.rs +++ b/gen/cloudasset1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudasset1_beta1/src/lib.rs b/gen/cloudasset1_beta1/src/lib.rs index 5b1cdbe64f..b41eb239ec 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Asset* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Asset* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory). @@ -338,7 +338,7 @@ impl<'a, C, A> CloudAsset CloudAsset { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudasset.googleapis.com/".to_string(), _root_url: "https://cloudasset.googleapis.com/".to_string(), } @@ -355,7 +355,7 @@ impl<'a, C, A> CloudAsset } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudbilling1-cli/Cargo.toml b/gen/cloudbilling1-cli/Cargo.toml index 486cc88110..65717352c9 100644 --- a/gen/cloudbilling1-cli/Cargo.toml +++ b/gen/cloudbilling1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbilling1-cli" -version = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudbilling1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudbilling1] path = "../cloudbilling1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" diff --git a/gen/cloudbilling1-cli/README.md b/gen/cloudbilling1-cli/README.md index 6a5a190b35..0f442b6f83 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 *20190617*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloudbilling* API at revision *20190617*. The CLI is at version *1.0.11*. ```bash cloudbilling1 [options] diff --git a/gen/cloudbilling1-cli/mkdocs.yml b/gen/cloudbilling1-cli/mkdocs.yml index a17afef4a8..ebb52e0efd 100644 --- a/gen/cloudbilling1-cli/mkdocs.yml +++ b/gen/cloudbilling1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudbilling v1.0.10+20190617 +site_name: Cloudbilling v1.0.11+20190617 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 4ce82c967c..b4af5e343a 100644 --- a/gen/cloudbilling1-cli/src/main.rs +++ b/gen/cloudbilling1-cli/src/main.rs @@ -1400,7 +1400,7 @@ fn main() { let mut app = App::new("cloudbilling1") .author("Sebastian Thiel ") - .version("1.0.10+20190617") + .version("1.0.11+20190617") .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") diff --git a/gen/cloudbilling1/Cargo.toml b/gen/cloudbilling1/Cargo.toml index 69275e16e4..302acbd341 100644 --- a/gen/cloudbilling1/Cargo.toml +++ b/gen/cloudbilling1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbilling1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudbilling1" homepage = "https://cloud.google.com/billing/" -documentation = "https://docs.rs/google-cloudbilling1/1.0.10+20190617" +documentation = "https://docs.rs/google-cloudbilling1/1.0.11+20190617" license = "MIT" keywords = ["cloudbilling", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudbilling1/README.md b/gen/cloudbilling1/README.md index 4a2ad74da0..e1d89d742b 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloudbilling* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190617/google_cloudbilling1/struct.Cloudbilling.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.Cloudbilling.html) ... -* [billing accounts](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccount.html) - * [*create*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountCreateCall.html), [*get*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountGetCall.html), [*get iam policy*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountListCall.html), [*patch*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountPatchCall.html), [*projects list*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.BillingAccountTestIamPermissionCall.html) +* [billing accounts](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccount.html) + * [*create*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountCreateCall.html), [*get*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountGetCall.html), [*get iam policy*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountListCall.html), [*patch*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountPatchCall.html), [*projects list*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.BillingAccountTestIamPermissionCall.html) * projects - * [*get billing info*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.ProjectGetBillingInfoCall.html) and [*update billing info*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.ProjectUpdateBillingInfoCall.html) -* [services](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.Service.html) - * [*list*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.ServiceListCall.html) and [*skus list*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/struct.ServiceSkuListCall.html) + * [*get billing info*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.ProjectGetBillingInfoCall.html) and [*update billing info*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.ProjectUpdateBillingInfoCall.html) +* [services](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.Service.html) + * [*list*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.ServiceListCall.html) and [*skus list*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.ServiceSkuListCall.html) @@ -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/1.0.10+20190617/google_cloudbilling1/struct.Cloudbilling.html)** +* **[Hub](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/struct.Cloudbilling.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190617/google_cloudbilling1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.CallBuilder.html) 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/1.0.11+20190617/google_cloudbilling1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190617/google_cloudbilling1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudbilling1/1.0.10+20190617/google_cloudbilling1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.ResponseResult.html) 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/1.0.10+20190617/google_cloudbilling1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190617/google_cloudbilling1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190617/google_cloudbilling1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudbilling1/1.0.11+20190617/google_cloudbilling1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudbilling1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudbilling1/src/cmn.rs +++ b/gen/cloudbilling1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudbilling1/src/lib.rs b/gen/cloudbilling1/src/lib.rs index 909bd784f2..940d2f4c17 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloudbilling* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloudbilling* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/). @@ -334,7 +334,7 @@ impl<'a, C, A> Cloudbilling Cloudbilling { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudbilling.googleapis.com/".to_string(), _root_url: "https://cloudbilling.googleapis.com/".to_string(), } @@ -351,7 +351,7 @@ impl<'a, C, A> Cloudbilling } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudbuild1-cli/Cargo.toml b/gen/cloudbuild1-cli/Cargo.toml index 9c91e5c221..c19092bb23 100644 --- a/gen/cloudbuild1-cli/Cargo.toml +++ b/gen/cloudbuild1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbuild1-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Build (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudbuild1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudbuild1] path = "../cloudbuild1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/cloudbuild1-cli/README.md b/gen/cloudbuild1-cli/README.md index a88a6b6276..0698083521 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Build* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash cloudbuild1 [options] diff --git a/gen/cloudbuild1-cli/mkdocs.yml b/gen/cloudbuild1-cli/mkdocs.yml index de73fdd918..35244e623f 100644 --- a/gen/cloudbuild1-cli/mkdocs.yml +++ b/gen/cloudbuild1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Build v1.0.10+20190702 +site_name: Cloud Build v1.0.11+20190702 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 8622f1dc26..23f8bccdfc 100644 --- a/gen/cloudbuild1-cli/src/main.rs +++ b/gen/cloudbuild1-cli/src/main.rs @@ -1850,7 +1850,7 @@ fn main() { let mut app = App::new("cloudbuild1") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 adc3c1ba11..02afc3c5c2 100644 --- a/gen/cloudbuild1/Cargo.toml +++ b/gen/cloudbuild1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbuild1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Build (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudbuild1" homepage = "https://cloud.google.com/cloud-build/docs/" -documentation = "https://docs.rs/google-cloudbuild1/1.0.10+20190702" +documentation = "https://docs.rs/google-cloudbuild1/1.0.11+20190702" license = "MIT" keywords = ["cloudbuild", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudbuild1/README.md b/gen/cloudbuild1/README.md index 4b890269d9..2717d08760 100644 --- a/gen/cloudbuild1/README.md +++ b/gen/cloudbuild1/README.md @@ -5,18 +5,18 @@ 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Build* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_cloudbuild1/struct.CloudBuild.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.CloudBuild.html) ... -* [operations](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.OperationCancelCall.html), [*get*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.OperationCancelCall.html), [*get*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.OperationListCall.html) * projects - * [*builds cancel*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectBuildCancelCall.html), [*builds create*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectBuildCreateCall.html), [*builds get*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectBuildGetCall.html), [*builds list*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectBuildListCall.html), [*builds retry*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectBuildRetryCall.html), [*triggers create*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectTriggerCreateCall.html), [*triggers delete*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectTriggerDeleteCall.html), [*triggers get*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectTriggerGetCall.html), [*triggers list*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectTriggerListCall.html), [*triggers patch*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectTriggerPatchCall.html) and [*triggers run*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.ProjectTriggerRunCall.html) + * [*builds cancel*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectBuildCancelCall.html), [*builds create*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectBuildCreateCall.html), [*builds get*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectBuildGetCall.html), [*builds list*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectBuildListCall.html), [*builds retry*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectBuildRetryCall.html), [*triggers create*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectTriggerCreateCall.html), [*triggers delete*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectTriggerDeleteCall.html), [*triggers get*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectTriggerGetCall.html), [*triggers list*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectTriggerListCall.html), [*triggers patch*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectTriggerPatchCall.html) and [*triggers run*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.ProjectTriggerRunCall.html) @@ -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-cloudbuild1/1.0.10+20190702/google_cloudbuild1/struct.CloudBuild.html)** +* **[Hub](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/struct.CloudBuild.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_cloudbuild1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.CallBuilder.html) 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/1.0.11+20190702/google_cloudbuild1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_cloudbuild1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudbuild1/1.0.10+20190702/google_cloudbuild1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.ResponseResult.html) 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/1.0.10+20190702/google_cloudbuild1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_cloudbuild1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_cloudbuild1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudbuild1/1.0.11+20190702/google_cloudbuild1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudbuild1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudbuild1/src/cmn.rs +++ b/gen/cloudbuild1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudbuild1/src/lib.rs b/gen/cloudbuild1/src/lib.rs index 3d04162e72..b258341143 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Build* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Build* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/cloud-build/docs/). @@ -330,7 +330,7 @@ impl<'a, C, A> CloudBuild CloudBuild { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudbuild.googleapis.com/".to_string(), _root_url: "https://cloudbuild.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> CloudBuild } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouddebugger2-cli/Cargo.toml b/gen/clouddebugger2-cli/Cargo.toml index f25281ad47..4769812b64 100644 --- a/gen/clouddebugger2-cli/Cargo.toml +++ b/gen/clouddebugger2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouddebugger2-cli" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouddebugger2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-clouddebugger2] path = "../clouddebugger2" -version = "1.0.10+20190614" +version = "1.0.11+20190614" diff --git a/gen/clouddebugger2-cli/README.md b/gen/clouddebugger2-cli/README.md index 8355b7aaaf..bc942c018b 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 *20190614*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Debugger* API at revision *20190614*. The CLI is at version *1.0.11*. ```bash clouddebugger2 [options] diff --git a/gen/clouddebugger2-cli/mkdocs.yml b/gen/clouddebugger2-cli/mkdocs.yml index 84d532b376..3e42c2d74a 100644 --- a/gen/clouddebugger2-cli/mkdocs.yml +++ b/gen/clouddebugger2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Debugger v1.0.10+20190614 +site_name: Cloud Debugger v1.0.11+20190614 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 1b405ea216..ed15d00cc4 100644 --- a/gen/clouddebugger2-cli/src/main.rs +++ b/gen/clouddebugger2-cli/src/main.rs @@ -1022,7 +1022,7 @@ fn main() { let mut app = App::new("clouddebugger2") .author("Sebastian Thiel ") - .version("1.0.10+20190614") + .version("1.0.11+20190614") .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") diff --git a/gen/clouddebugger2/Cargo.toml b/gen/clouddebugger2/Cargo.toml index 06437a66fe..d98ed9d963 100644 --- a/gen/clouddebugger2/Cargo.toml +++ b/gen/clouddebugger2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouddebugger2" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouddebugger2" homepage = "https://cloud.google.com/debugger" -documentation = "https://docs.rs/google-clouddebugger2/1.0.10+20190614" +documentation = "https://docs.rs/google-clouddebugger2/1.0.11+20190614" license = "MIT" keywords = ["clouddebugger", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/clouddebugger2/README.md b/gen/clouddebugger2/README.md index cb7c1b50a3..6c13817972 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Debugger* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190614/google_clouddebugger2/struct.CloudDebugger.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.CloudDebugger.html) ... * controller - * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.ControllerDebuggeeBreakpointListCall.html), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.ControllerDebuggeeBreakpointUpdateCall.html) and [*debuggees register*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.ControllerDebuggeeRegisterCall.html) + * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.ControllerDebuggeeBreakpointListCall.html), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.ControllerDebuggeeBreakpointUpdateCall.html) and [*debuggees register*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.ControllerDebuggeeRegisterCall.html) * debugger - * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointDeleteCall.html), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointGetCall.html), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointListCall.html), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointSetCall.html) and [*debuggees list*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/struct.DebuggerDebuggeeListCall.html) + * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointDeleteCall.html), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointGetCall.html), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointListCall.html), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointSetCall.html) and [*debuggees list*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.DebuggerDebuggeeListCall.html) @@ -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/1.0.10+20190614/google_clouddebugger2/struct.CloudDebugger.html)** +* **[Hub](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/struct.CloudDebugger.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.Part.html)** + * **[Parts](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190614/google_clouddebugger2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.CallBuilder.html) 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/1.0.11+20190614/google_clouddebugger2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190614/google_clouddebugger2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-clouddebugger2/1.0.10+20190614/google_clouddebugger2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.ResponseResult.html) 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/1.0.10+20190614/google_clouddebugger2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190614/google_clouddebugger2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190614/google_clouddebugger2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-clouddebugger2/1.0.11+20190614/google_clouddebugger2/trait.RequestValue.html) are 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/cmn.rs b/gen/clouddebugger2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/clouddebugger2/src/cmn.rs +++ b/gen/clouddebugger2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/clouddebugger2/src/lib.rs b/gen/clouddebugger2/src/lib.rs index 2b70faa662..6d02aaed11 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Debugger* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Debugger* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/debugger). @@ -337,7 +337,7 @@ impl<'a, C, A> CloudDebugger CloudDebugger { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://clouddebugger.googleapis.com/".to_string(), _root_url: "https://clouddebugger.googleapis.com/".to_string(), } @@ -351,7 +351,7 @@ impl<'a, C, A> CloudDebugger } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouderrorreporting1_beta1-cli/Cargo.toml b/gen/clouderrorreporting1_beta1-cli/Cargo.toml index 42882dc5e7..79a7aa00e1 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 = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Clouderrorreporting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouderrorreporting1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-clouderrorreporting1_beta1] path = "../clouderrorreporting1_beta1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" diff --git a/gen/clouderrorreporting1_beta1-cli/README.md b/gen/clouderrorreporting1_beta1-cli/README.md index e8443daae9..fc6987a8c6 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 *20190626*. The CLI is at version *1.0.10*. +This documentation was generated from the *Clouderrorreporting* API at revision *20190626*. The CLI is at version *1.0.11*. ```bash clouderrorreporting1-beta1 [options] diff --git a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml index 44ed40f650..1155b8d12a 100644 --- a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml +++ b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Clouderrorreporting v1.0.10+20190626 +site_name: Clouderrorreporting v1.0.11+20190626 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 6ded93851b..a05f427b1b 100644 --- a/gen/clouderrorreporting1_beta1-cli/src/main.rs +++ b/gen/clouderrorreporting1_beta1-cli/src/main.rs @@ -796,7 +796,7 @@ fn main() { let mut app = App::new("clouderrorreporting1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190626") + .version("1.0.11+20190626") .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") diff --git a/gen/clouderrorreporting1_beta1/Cargo.toml b/gen/clouderrorreporting1_beta1/Cargo.toml index f467c8f32c..6faf241364 100644 --- a/gen/clouderrorreporting1_beta1/Cargo.toml +++ b/gen/clouderrorreporting1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouderrorreporting1_beta1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Clouderrorreporting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouderrorreporting1_beta1" homepage = "https://cloud.google.com/error-reporting/" -documentation = "https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626" +documentation = "https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626" license = "MIT" keywords = ["clouderrorreporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/clouderrorreporting1_beta1/README.md b/gen/clouderrorreporting1_beta1/README.md index f537eaf777..f25a57e857 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Clouderrorreporting* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.Clouderrorreporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.Clouderrorreporting.html) ... * projects - * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.ProjectDeleteEventCall.html), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.ProjectEventListCall.html), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.ProjectEventReportCall.html), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.ProjectGroupStatListCall.html), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.ProjectGroupGetCall.html) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.ProjectGroupUpdateCall.html) + * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.ProjectDeleteEventCall.html), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.ProjectEventListCall.html), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.ProjectEventReportCall.html), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.ProjectGroupStatListCall.html), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.ProjectGroupGetCall.html) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.ProjectGroupUpdateCall.html) @@ -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/1.0.10+20190626/google_clouderrorreporting1_beta1/struct.Clouderrorreporting.html)** +* **[Hub](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/struct.Clouderrorreporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/enum.Result.html) 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/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190626/google_clouderrorreporting1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html) 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/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-clouderrorreporting1_beta1/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.ResponseResult.html) 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/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190626/google_clouderrorreporting1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-clouderrorreporting1_beta1/1.0.11+20190626/google_clouderrorreporting1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/clouderrorreporting1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/clouderrorreporting1_beta1/src/cmn.rs +++ b/gen/clouderrorreporting1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/clouderrorreporting1_beta1/src/lib.rs b/gen/clouderrorreporting1_beta1/src/lib.rs index 5b46388b01..41a8c74ee4 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Clouderrorreporting* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Clouderrorreporting* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/error-reporting/). @@ -330,7 +330,7 @@ impl<'a, C, A> Clouderrorreporting Clouderrorreporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://clouderrorreporting.googleapis.com/".to_string(), _root_url: "https://clouderrorreporting.googleapis.com/".to_string(), } @@ -341,7 +341,7 @@ impl<'a, C, A> Clouderrorreporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudfunctions1-cli/Cargo.toml b/gen/cloudfunctions1-cli/Cargo.toml index abd8d9b5d4..9ad4f676e3 100644 --- a/gen/cloudfunctions1-cli/Cargo.toml +++ b/gen/cloudfunctions1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudfunctions1-cli" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Functions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudfunctions1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudfunctions1] path = "../cloudfunctions1" -version = "1.0.10+20190620" +version = "1.0.11+20190620" diff --git a/gen/cloudfunctions1-cli/README.md b/gen/cloudfunctions1-cli/README.md index 228fd5854f..ef73232599 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 *20190620*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Functions* API at revision *20190620*. The CLI is at version *1.0.11*. ```bash cloudfunctions1 [options] diff --git a/gen/cloudfunctions1-cli/mkdocs.yml b/gen/cloudfunctions1-cli/mkdocs.yml index 34369e2368..ac73a82d58 100644 --- a/gen/cloudfunctions1-cli/mkdocs.yml +++ b/gen/cloudfunctions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Functions v1.0.10+20190620 +site_name: Cloud Functions v1.0.11+20190620 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 7c4136f157..feb1d9b1b3 100644 --- a/gen/cloudfunctions1-cli/src/main.rs +++ b/gen/cloudfunctions1-cli/src/main.rs @@ -1648,7 +1648,7 @@ fn main() { let mut app = App::new("cloudfunctions1") .author("Sebastian Thiel ") - .version("1.0.10+20190620") + .version("1.0.11+20190620") .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 7f45dc5b3e..0d89c2db88 100644 --- a/gen/cloudfunctions1/Cargo.toml +++ b/gen/cloudfunctions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudfunctions1" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Functions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudfunctions1" homepage = "https://cloud.google.com/functions" -documentation = "https://docs.rs/google-cloudfunctions1/1.0.10+20190620" +documentation = "https://docs.rs/google-cloudfunctions1/1.0.11+20190620" license = "MIT" keywords = ["cloudfunctions", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudfunctions1/README.md b/gen/cloudfunctions1/README.md index b9d72ad591..935694962a 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Functions* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190620/google_cloudfunctions1/struct.CloudFunctions.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.CloudFunctions.html) ... -* [operations](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.Operation.html) - * [*get*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.Operation.html) + * [*get*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.OperationListCall.html) * projects - * [*locations functions call*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionCallCall.html), [*locations functions create*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionCreateCall.html), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionDeleteCall.html), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGenerateDownloadUrlCall.html), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGenerateUploadUrlCall.html), [*locations functions get*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGetCall.html), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGetIamPolicyCall.html), [*locations functions list*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionListCall.html), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionPatchCall.html), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionSetIamPolicyCall.html), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionTestIamPermissionCall.html) and [*locations list*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/struct.ProjectLocationListCall.html) + * [*locations functions call*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionCallCall.html), [*locations functions create*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionCreateCall.html), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionDeleteCall.html), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGenerateDownloadUrlCall.html), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGenerateUploadUrlCall.html), [*locations functions get*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGetCall.html), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionGetIamPolicyCall.html), [*locations functions list*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionListCall.html), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionPatchCall.html), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionSetIamPolicyCall.html), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationFunctionTestIamPermissionCall.html) and [*locations list*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190620/google_cloudfunctions1/struct.CloudFunctions.html)** +* **[Hub](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/struct.CloudFunctions.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190620/google_cloudfunctions1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.CallBuilder.html) 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/1.0.11+20190620/google_cloudfunctions1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190620/google_cloudfunctions1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudfunctions1/1.0.10+20190620/google_cloudfunctions1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.ResponseResult.html) 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/1.0.10+20190620/google_cloudfunctions1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190620/google_cloudfunctions1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190620/google_cloudfunctions1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudfunctions1/1.0.11+20190620/google_cloudfunctions1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudfunctions1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudfunctions1/src/cmn.rs +++ b/gen/cloudfunctions1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudfunctions1/src/lib.rs b/gen/cloudfunctions1/src/lib.rs index 466ae237d9..c9dd098822 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Functions* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Functions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/functions). @@ -331,7 +331,7 @@ impl<'a, C, A> CloudFunctions CloudFunctions { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudfunctions.googleapis.com/".to_string(), _root_url: "https://cloudfunctions.googleapis.com/".to_string(), } @@ -345,7 +345,7 @@ impl<'a, C, A> CloudFunctions } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudidentity1-cli/Cargo.toml b/gen/cloudidentity1-cli/Cargo.toml index 1b26fa63a6..fd70e24132 100644 --- a/gen/cloudidentity1-cli/Cargo.toml +++ b/gen/cloudidentity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudidentity1-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Identity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudidentity1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudidentity1] path = "../cloudidentity1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/cloudidentity1-cli/README.md b/gen/cloudidentity1-cli/README.md index 81fa1d1751..3e7bb56d99 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Identity* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash cloudidentity1 [options] diff --git a/gen/cloudidentity1-cli/mkdocs.yml b/gen/cloudidentity1-cli/mkdocs.yml index 149f18f669..c9a178d908 100644 --- a/gen/cloudidentity1-cli/mkdocs.yml +++ b/gen/cloudidentity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Identity v1.0.10+20190629 +site_name: Cloud Identity v1.0.11+20190629 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 c036a1e18e..72c9278674 100644 --- a/gen/cloudidentity1-cli/src/main.rs +++ b/gen/cloudidentity1-cli/src/main.rs @@ -1274,7 +1274,7 @@ fn main() { let mut app = App::new("cloudidentity1") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .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 55ed049fea..1414c8f157 100644 --- a/gen/cloudidentity1/Cargo.toml +++ b/gen/cloudidentity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudidentity1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Identity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudidentity1" homepage = "https://cloud.google.com/identity/" -documentation = "https://docs.rs/google-cloudidentity1/1.0.10+20190629" +documentation = "https://docs.rs/google-cloudidentity1/1.0.11+20190629" license = "MIT" keywords = ["cloudidentity", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudidentity1/README.md b/gen/cloudidentity1/README.md index cb44a2394c..f7658483e0 100644 --- a/gen/cloudidentity1/README.md +++ b/gen/cloudidentity1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Identity* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_cloudidentity1/struct.CloudIdentity.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.CloudIdentity.html) ... -* [groups](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.Group.html) - * [*create*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupCreateCall.html), [*delete*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupGetCall.html), [*list*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupListCall.html), [*lookup*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupLookupCall.html), [*memberships create*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupMembershipCreateCall.html), [*memberships delete*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupMembershipDeleteCall.html), [*memberships get*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupMembershipGetCall.html), [*memberships list*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupMembershipListCall.html), [*memberships lookup*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupMembershipLookupCall.html), [*patch*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupPatchCall.html) and [*search*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.GroupSearchCall.html) +* [groups](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.Group.html) + * [*create*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupCreateCall.html), [*delete*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupGetCall.html), [*list*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupListCall.html), [*lookup*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupLookupCall.html), [*memberships create*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupMembershipCreateCall.html), [*memberships delete*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupMembershipDeleteCall.html), [*memberships get*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupMembershipGetCall.html), [*memberships list*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupMembershipListCall.html), [*memberships lookup*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupMembershipLookupCall.html), [*patch*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupPatchCall.html) and [*search*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.GroupSearchCall.html) @@ -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-cloudidentity1/1.0.10+20190629/google_cloudidentity1/struct.CloudIdentity.html)** +* **[Hub](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/struct.CloudIdentity.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_cloudidentity1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.CallBuilder.html) 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/1.0.11+20190629/google_cloudidentity1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_cloudidentity1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudidentity1/1.0.10+20190629/google_cloudidentity1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.ResponseResult.html) 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/1.0.10+20190629/google_cloudidentity1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_cloudidentity1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_cloudidentity1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudidentity1/1.0.11+20190629/google_cloudidentity1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudidentity1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudidentity1/src/cmn.rs +++ b/gen/cloudidentity1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudidentity1/src/lib.rs b/gen/cloudidentity1/src/lib.rs index ecf6d00e7d..9bee484bf5 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Identity* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Identity* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/identity/). @@ -338,7 +338,7 @@ impl<'a, C, A> CloudIdentity CloudIdentity { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudidentity.googleapis.com/".to_string(), _root_url: "https://cloudidentity.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> CloudIdentity } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudiot1-cli/Cargo.toml b/gen/cloudiot1-cli/Cargo.toml index 0779cf43a7..0b120b7c2d 100644 --- a/gen/cloudiot1-cli/Cargo.toml +++ b/gen/cloudiot1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudiot1-cli" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Iot (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudiot1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudiot1] path = "../cloudiot1" -version = "1.0.10+20190618" +version = "1.0.11+20190618" diff --git a/gen/cloudiot1-cli/README.md b/gen/cloudiot1-cli/README.md index dac905ea2a..8b7036d09b 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 *20190618*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Iot* API at revision *20190618*. The CLI is at version *1.0.11*. ```bash cloudiot1 [options] diff --git a/gen/cloudiot1-cli/mkdocs.yml b/gen/cloudiot1-cli/mkdocs.yml index 695ebe493e..b00ea2b05e 100644 --- a/gen/cloudiot1-cli/mkdocs.yml +++ b/gen/cloudiot1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Iot v1.0.10+20190618 +site_name: Cloud Iot v1.0.11+20190618 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 3c64748956..828773f477 100644 --- a/gen/cloudiot1-cli/src/main.rs +++ b/gen/cloudiot1-cli/src/main.rs @@ -2664,7 +2664,7 @@ fn main() { let mut app = App::new("cloudiot1") .author("Sebastian Thiel ") - .version("1.0.10+20190618") + .version("1.0.11+20190618") .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") diff --git a/gen/cloudiot1/Cargo.toml b/gen/cloudiot1/Cargo.toml index 6f9357cd06..2cc2a5d978 100644 --- a/gen/cloudiot1/Cargo.toml +++ b/gen/cloudiot1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudiot1" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Iot (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudiot1" homepage = "https://cloud.google.com/iot" -documentation = "https://docs.rs/google-cloudiot1/1.0.10+20190618" +documentation = "https://docs.rs/google-cloudiot1/1.0.11+20190618" license = "MIT" keywords = ["cloudiot", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudiot1/README.md b/gen/cloudiot1/README.md index 7f757f12fd..f926dfa34a 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Iot* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190618/google_cloudiot1/struct.CloudIot.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.CloudIot.html) ... * projects - * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryBindDeviceToGatewayCall.html), [*locations registries create*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryCreateCall.html), [*locations registries delete*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeleteCall.html), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceConfigVersionListCall.html), [*locations registries devices create*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceCreateCall.html), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceDeleteCall.html), [*locations registries devices get*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceGetCall.html), [*locations registries devices list*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceListCall.html), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall.html), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDevicePatchCall.html), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceSendCommandToDeviceCall.html), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceStateListCall.html), [*locations registries get*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryGetCall.html), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryGetIamPolicyCall.html), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupDeviceListCall.html), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupGetIamPolicyCall.html), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupSetIamPolicyCall.html), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupTestIamPermissionCall.html), [*locations registries list*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryListCall.html), [*locations registries patch*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryPatchCall.html), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistrySetIamPolicyCall.html), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryTestIamPermissionCall.html) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/struct.ProjectLocationRegistryUnbindDeviceFromGatewayCall.html) + * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryBindDeviceToGatewayCall.html), [*locations registries create*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryCreateCall.html), [*locations registries delete*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeleteCall.html), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceConfigVersionListCall.html), [*locations registries devices create*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceCreateCall.html), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceDeleteCall.html), [*locations registries devices get*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceGetCall.html), [*locations registries devices list*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceListCall.html), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall.html), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDevicePatchCall.html), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceSendCommandToDeviceCall.html), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryDeviceStateListCall.html), [*locations registries get*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryGetCall.html), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryGetIamPolicyCall.html), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupDeviceListCall.html), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupGetIamPolicyCall.html), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupSetIamPolicyCall.html), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryGroupTestIamPermissionCall.html), [*locations registries list*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryListCall.html), [*locations registries patch*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryPatchCall.html), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistrySetIamPolicyCall.html), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryTestIamPermissionCall.html) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.ProjectLocationRegistryUnbindDeviceFromGatewayCall.html) @@ -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/1.0.10+20190618/google_cloudiot1/struct.CloudIot.html)** +* **[Hub](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/struct.CloudIot.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190618/google_cloudiot1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.CallBuilder.html) 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/1.0.11+20190618/google_cloudiot1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190618/google_cloudiot1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudiot1/1.0.10+20190618/google_cloudiot1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.ResponseResult.html) 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/1.0.10+20190618/google_cloudiot1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190618/google_cloudiot1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190618/google_cloudiot1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudiot1/1.0.11+20190618/google_cloudiot1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudiot1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudiot1/src/cmn.rs +++ b/gen/cloudiot1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudiot1/src/lib.rs b/gen/cloudiot1/src/lib.rs index 55cf4cd9b0..51e20f0c6e 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Iot* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Iot* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iot). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudIot CloudIot { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudiot.googleapis.com/".to_string(), _root_url: "https://cloudiot.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudIot } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudkms1-cli/Cargo.toml b/gen/cloudkms1-cli/Cargo.toml index 14bae55723..cbd13adb86 100644 --- a/gen/cloudkms1-cli/Cargo.toml +++ b/gen/cloudkms1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudkms1-cli" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudkms1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudkms1] path = "../cloudkms1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" diff --git a/gen/cloudkms1-cli/README.md b/gen/cloudkms1-cli/README.md index 6c61bdadf7..0125c9a491 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 *20190626*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud KMS* API at revision *20190626*. The CLI is at version *1.0.11*. ```bash cloudkms1 [options] diff --git a/gen/cloudkms1-cli/mkdocs.yml b/gen/cloudkms1-cli/mkdocs.yml index bb64a770d7..14c9ceae62 100644 --- a/gen/cloudkms1-cli/mkdocs.yml +++ b/gen/cloudkms1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v1.0.10+20190626 +site_name: Cloud KMS v1.0.11+20190626 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 e024352afc..4a27f58d94 100644 --- a/gen/cloudkms1-cli/src/main.rs +++ b/gen/cloudkms1-cli/src/main.rs @@ -3841,7 +3841,7 @@ fn main() { let mut app = App::new("cloudkms1") .author("Sebastian Thiel ") - .version("1.0.10+20190626") + .version("1.0.11+20190626") .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") diff --git a/gen/cloudkms1/Cargo.toml b/gen/cloudkms1/Cargo.toml index b69efc5f09..d2c405c336 100644 --- a/gen/cloudkms1/Cargo.toml +++ b/gen/cloudkms1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudkms1" homepage = "https://cloud.google.com/kms/" -documentation = "https://docs.rs/google-cloudkms1/1.0.10+20190626" +documentation = "https://docs.rs/google-cloudkms1/1.0.11+20190626" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudkms1/README.md b/gen/cloudkms1/README.md index 12ba88e18d..cae2d89657 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud KMS* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190626/google_cloudkms1/struct.CloudKMS.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.CloudKMS.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationGetCall.html), [*locations key rings create*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCreateCall.html), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCreateCall.html), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall.html), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall.html), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall.html), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall.html), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall.html), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall.html), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall.html), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall.html), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall.html), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall.html), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyDecryptCall.html), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyEncryptCall.html), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyGetCall.html), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyGetIamPolicyCall.html), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyListCall.html), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyPatchCall.html), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeySetIamPolicyCall.html), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyTestIamPermissionCall.html), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall.html), [*locations key rings get*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingGetCall.html), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingGetIamPolicyCall.html), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobCreateCall.html), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobGetCall.html), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobGetIamPolicyCall.html), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobListCall.html), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobSetIamPolicyCall.html), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobTestIamPermissionCall.html), [*locations key rings list*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingListCall.html), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingSetIamPolicyCall.html), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationKeyRingTestIamPermissionCall.html) and [*locations list*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/struct.ProjectLocationListCall.html) + * [*locations get*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationGetCall.html), [*locations key rings create*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCreateCall.html), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCreateCall.html), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall.html), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall.html), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall.html), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall.html), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall.html), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall.html), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall.html), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall.html), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall.html), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall.html), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyDecryptCall.html), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyEncryptCall.html), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyGetCall.html), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyGetIamPolicyCall.html), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyListCall.html), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyPatchCall.html), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeySetIamPolicyCall.html), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyTestIamPermissionCall.html), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall.html), [*locations key rings get*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingGetCall.html), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingGetIamPolicyCall.html), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobCreateCall.html), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobGetCall.html), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobGetIamPolicyCall.html), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobListCall.html), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobSetIamPolicyCall.html), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingImportJobTestIamPermissionCall.html), [*locations key rings list*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingListCall.html), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingSetIamPolicyCall.html), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationKeyRingTestIamPermissionCall.html) and [*locations list*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190626/google_cloudkms1/struct.CloudKMS.html)** +* **[Hub](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/struct.CloudKMS.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190626/google_cloudkms1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.CallBuilder.html) 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/1.0.11+20190626/google_cloudkms1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190626/google_cloudkms1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudkms1/1.0.10+20190626/google_cloudkms1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.ResponseResult.html) 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/1.0.10+20190626/google_cloudkms1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190626/google_cloudkms1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190626/google_cloudkms1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudkms1/1.0.11+20190626/google_cloudkms1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudkms1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudkms1/src/cmn.rs +++ b/gen/cloudkms1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudkms1/src/lib.rs b/gen/cloudkms1/src/lib.rs index d92ab0a93f..00f1b31a81 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud KMS* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud KMS* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). @@ -340,7 +340,7 @@ impl<'a, C, A> CloudKMS CloudKMS { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudkms.googleapis.com/".to_string(), _root_url: "https://cloudkms.googleapis.com/".to_string(), } @@ -351,7 +351,7 @@ impl<'a, C, A> CloudKMS } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudkms1_beta1-cli/Cargo.toml b/gen/cloudkms1_beta1-cli/Cargo.toml index 73b638e18c..23831f1387 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 = "1.0.10+20170515" +version = "1.0.11+20170515" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudkms1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudkms1_beta1] path = "../cloudkms1_beta1" -version = "1.0.10+20170515" +version = "1.0.11+20170515" diff --git a/gen/cloudkms1_beta1-cli/README.md b/gen/cloudkms1_beta1-cli/README.md index a0bfae12b7..65191e6ad3 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 *1.0.10*. +This documentation was generated from the *Cloud KMS* API at revision *20170515*. The CLI is at version *1.0.11*. ```bash cloudkms1-beta1 [options] diff --git a/gen/cloudkms1_beta1-cli/mkdocs.yml b/gen/cloudkms1_beta1-cli/mkdocs.yml index e310304973..df54faf984 100644 --- a/gen/cloudkms1_beta1-cli/mkdocs.yml +++ b/gen/cloudkms1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v1.0.10+20170515 +site_name: Cloud KMS v1.0.11+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 4a1c0d5d8d..924bdf4d4a 100644 --- a/gen/cloudkms1_beta1-cli/src/main.rs +++ b/gen/cloudkms1_beta1-cli/src/main.rs @@ -2693,7 +2693,7 @@ fn main() { let mut app = App::new("cloudkms1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20170515") + .version("1.0.11+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 b0b26b288b..ab5af803d2 100644 --- a/gen/cloudkms1_beta1/Cargo.toml +++ b/gen/cloudkms1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1_beta1" -version = "1.0.10+20170515" +version = "1.0.11+20170515" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudkms1_beta1" homepage = "https://cloud.google.com/kms/" -documentation = "https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515" +documentation = "https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudkms1_beta1/README.md b/gen/cloudkms1_beta1/README.md index 69666aae8d..8087745bad 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 *1.0.10+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud KMS* crate version *1.0.11+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20170515/google_cloudkms1_beta1/struct.CloudKMS.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.CloudKMS.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationGetCall.html), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCreateCall.html), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCreateCall.html), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall.html), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall.html), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall.html), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall.html), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall.html), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall.html), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyDecryptCall.html), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyEncryptCall.html), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyGetCall.html), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyGetIamPolicyCall.html), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyListCall.html), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyPatchCall.html), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeySetIamPolicyCall.html), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyTestIamPermissionCall.html), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall.html), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingGetCall.html), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingGetIamPolicyCall.html), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingListCall.html), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingSetIamPolicyCall.html), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingTestIamPermissionCall.html) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/struct.ProjectLocationListCall.html) + * [*locations get*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationGetCall.html), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCreateCall.html), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCreateCall.html), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall.html), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall.html), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall.html), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall.html), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall.html), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall.html), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyDecryptCall.html), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyEncryptCall.html), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyGetCall.html), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyGetIamPolicyCall.html), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyListCall.html), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyPatchCall.html), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeySetIamPolicyCall.html), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyTestIamPermissionCall.html), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall.html), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingGetCall.html), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingGetIamPolicyCall.html), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingListCall.html), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingSetIamPolicyCall.html), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationKeyRingTestIamPermissionCall.html) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20170515/google_cloudkms1_beta1/struct.CloudKMS.html)** +* **[Hub](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/struct.CloudKMS.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/enum.Result.html) 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/1.0.10+20170515/google_cloudkms1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170515/google_cloudkms1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.CallBuilder.html) 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/1.0.11+20170515/google_cloudkms1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170515/google_cloudkms1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudkms1_beta1/1.0.10+20170515/google_cloudkms1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.ResponseResult.html) 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/1.0.10+20170515/google_cloudkms1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170515/google_cloudkms1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170515/google_cloudkms1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudkms1_beta1/1.0.11+20170515/google_cloudkms1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudkms1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudkms1_beta1/src/cmn.rs +++ b/gen/cloudkms1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudkms1_beta1/src/lib.rs b/gen/cloudkms1_beta1/src/lib.rs index 600622777b..461d9d5ea7 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 *1.0.10+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud KMS* crate version *1.0.11+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud KMS* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). @@ -335,7 +335,7 @@ impl<'a, C, A> CloudKMS CloudKMS { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudkms.googleapis.com/".to_string(), _root_url: "https://cloudkms.googleapis.com/".to_string(), } @@ -346,7 +346,7 @@ impl<'a, C, A> CloudKMS } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudlatencytest2-cli/Cargo.toml b/gen/cloudlatencytest2-cli/Cargo.toml index d02fef093d..b8bea9008e 100644 --- a/gen/cloudlatencytest2-cli/Cargo.toml +++ b/gen/cloudlatencytest2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudlatencytest2-cli" -version = "1.0.10+20160309" +version = "1.0.11+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2-cli" @@ -26,16 +26,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudlatencytest2] path = "../cloudlatencytest2" -version = "1.0.10+20160309" +version = "1.0.11+20160309" diff --git a/gen/cloudlatencytest2-cli/README.md b/gen/cloudlatencytest2-cli/README.md index 58f7eede88..7159ec6757 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 *1.0.10*. +This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *1.0.11*. ```bash cloudlatencytest2 [options] diff --git a/gen/cloudlatencytest2-cli/mkdocs.yml b/gen/cloudlatencytest2-cli/mkdocs.yml index 84450aa518..c38ef7e4da 100644 --- a/gen/cloudlatencytest2-cli/mkdocs.yml +++ b/gen/cloudlatencytest2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cloudlatencytest v1.0.10+20160309 +site_name: cloudlatencytest v1.0.11+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 002bc27ab1..41980fe126 100644 --- a/gen/cloudlatencytest2-cli/src/main.rs +++ b/gen/cloudlatencytest2-cli/src/main.rs @@ -367,7 +367,7 @@ fn main() { let mut app = App::new("cloudlatencytest2") .author("Sebastian Thiel ") - .version("1.0.10+20160309") + .version("1.0.11+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 9f3e79d64c..7706f67106 100644 --- a/gen/cloudlatencytest2/Cargo.toml +++ b/gen/cloudlatencytest2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-cloudlatencytest2" -version = "1.0.10+20160309" +version = "1.0.11+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2" -documentation = "https://docs.rs/google-cloudlatencytest2/1.0.10+20160309" +documentation = "https://docs.rs/google-cloudlatencytest2/1.0.11+20160309" license = "MIT" keywords = ["cloudlatencytest", "google", "protocol", "web", "api"] autobins = false @@ -23,9 +23,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudlatencytest2/README.md b/gen/cloudlatencytest2/README.md index dedb7867d6..89100dd1b6 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 *1.0.10+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *cloudlatencytest* crate version *1.0.11+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html) ... * statscollection - * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/struct.StatscollectionUpdateaggregatedstatCall.html) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/struct.StatscollectionUpdatestatCall.html) + * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/struct.StatscollectionUpdateaggregatedstatCall.html) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/struct.StatscollectionUpdatestatCall.html) @@ -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/1.0.10+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html)** +* **[Hub](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160309/google_cloudlatencytest2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.CallBuilder.html) 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/1.0.11+20160309/google_cloudlatencytest2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160309/google_cloudlatencytest2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudlatencytest2/1.0.10+20160309/google_cloudlatencytest2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.ResponseResult.html) 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/1.0.10+20160309/google_cloudlatencytest2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160309/google_cloudlatencytest2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160309/google_cloudlatencytest2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudlatencytest2/1.0.11+20160309/google_cloudlatencytest2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudlatencytest2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudlatencytest2/src/cmn.rs +++ b/gen/cloudlatencytest2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudlatencytest2/src/lib.rs b/gen/cloudlatencytest2/src/lib.rs index 2c0520a0ee..65adb9ef14 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 *1.0.10+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *cloudlatencytest* crate version *1.0.11+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2). //! # Features //! @@ -326,7 +326,7 @@ impl<'a, C, A> Cloudlatencytest Cloudlatencytest { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudlatencytest-pa.googleapis.com/v2/statscollection/".to_string(), _root_url: "https://cloudlatencytest-pa.googleapis.com/".to_string(), } @@ -337,7 +337,7 @@ impl<'a, C, A> Cloudlatencytest } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudmonitoring2_beta2-cli/Cargo.toml b/gen/cloudmonitoring2_beta2-cli/Cargo.toml index 8dfe03687b..4bd245d3b7 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 = "1.0.10+20170501" +version = "1.0.11+20170501" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudmonitoring2_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudmonitoring2_beta2] path = "../cloudmonitoring2_beta2" -version = "1.0.10+20170501" +version = "1.0.11+20170501" diff --git a/gen/cloudmonitoring2_beta2-cli/README.md b/gen/cloudmonitoring2_beta2-cli/README.md index bc1e3e530e..d25cef46eb 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 *1.0.10*. +This documentation was generated from the *Cloud Monitoring* API at revision *20170501*. The CLI is at version *1.0.11*. ```bash cloudmonitoring2-beta2 [options] diff --git a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml index dba2be9fc5..770fe273ee 100644 --- a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml +++ b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Monitoring v1.0.10+20170501 +site_name: Cloud Monitoring v1.0.11+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 d524deafe4..c15ce3bdea 100644 --- a/gen/cloudmonitoring2_beta2-cli/src/main.rs +++ b/gen/cloudmonitoring2_beta2-cli/src/main.rs @@ -915,7 +915,7 @@ fn main() { let mut app = App::new("cloudmonitoring2-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20170501") + .version("1.0.11+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 bcd7999995..f0ad8fe86a 100644 --- a/gen/cloudmonitoring2_beta2/Cargo.toml +++ b/gen/cloudmonitoring2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudmonitoring2_beta2" -version = "1.0.10+20170501" +version = "1.0.11+20170501" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudmonitoring2_beta2" homepage = "https://cloud.google.com/monitoring/v2beta2/" -documentation = "https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501" +documentation = "https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501" license = "MIT" keywords = ["cloudmonitoring", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudmonitoring2_beta2/README.md b/gen/cloudmonitoring2_beta2/README.md index f6e57ef9e4..8d83836080 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 *1.0.10+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Monitoring* crate version *1.0.11+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html) ... -* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptor.html) - * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptorCreateCall.html), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptorDeleteCall.html) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptorListCall.html) +* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptor.html) + * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptorCreateCall.html), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptorDeleteCall.html) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.MetricDescriptorListCall.html) * timeseries - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.TimeseryListCall.html) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.TimeseryWriteCall.html) -* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptor.html) - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptorListCall.html) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.TimeseryListCall.html) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.TimeseryWriteCall.html) +* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptor.html) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptorListCall.html) @@ -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/1.0.10+20170501/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html)** +* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/enum.Result.html) 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/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170501/google_cloudmonitoring2_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html) 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/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudmonitoring2_beta2/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.ResponseResult.html) 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/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170501/google_cloudmonitoring2_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudmonitoring2_beta2/1.0.11+20170501/google_cloudmonitoring2_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudmonitoring2_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudmonitoring2_beta2/src/cmn.rs +++ b/gen/cloudmonitoring2_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs b/gen/cloudmonitoring2_beta2/src/lib.rs index 7465d73b0d..13d2074f05 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 *1.0.10+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Monitoring* crate version *1.0.11+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/v2beta2/). @@ -345,7 +345,7 @@ impl<'a, C, A> CloudMonitoring CloudMonitoring { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/cloudmonitoring/v2beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -362,7 +362,7 @@ impl<'a, C, A> CloudMonitoring } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml index 6a4a2a07d0..be8dc319b5 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 = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprivatecatalog1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudprivatecatalog1_beta1] path = "../cloudprivatecatalog1_beta1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/cloudprivatecatalog1_beta1-cli/README.md b/gen/cloudprivatecatalog1_beta1-cli/README.md index c5dddce9e3..2c94ad26d4 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 *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Private Catalog* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash cloudprivatecatalog1-beta1 [options] diff --git a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml index ebbb7e590e..d060dc00ec 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml +++ b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Private Catalog v1.0.10+20190622 +site_name: Cloud Private Catalog v1.0.11+20190622 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 ab240a61e6..25300a9159 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/src/main.rs +++ b/gen/cloudprivatecatalog1_beta1-cli/src/main.rs @@ -983,7 +983,7 @@ fn main() { let mut app = App::new("cloudprivatecatalog1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .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 c9a37bc4e1..46c95b7281 100644 --- a/gen/cloudprivatecatalog1_beta1/Cargo.toml +++ b/gen/cloudprivatecatalog1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprivatecatalog1_beta1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprivatecatalog1_beta1" homepage = "https://cloud.google.com/private-catalog/" -documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622" +documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622" license = "MIT" keywords = ["cloudprivatecatalog", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudprivatecatalog1_beta1/README.md b/gen/cloudprivatecatalog1_beta1/README.md index 7f17b01a27..4322ef5055 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Private Catalog* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.CloudPrivateCatalog.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.CloudPrivateCatalog.html) ... * folders - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.FolderCatalogSearchCall.html), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.FolderProductSearchCall.html) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.FolderVersionSearchCall.html) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.FolderCatalogSearchCall.html), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.FolderProductSearchCall.html) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.FolderVersionSearchCall.html) * organizations - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.OrganizationCatalogSearchCall.html), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.OrganizationProductSearchCall.html) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.OrganizationVersionSearchCall.html) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.OrganizationCatalogSearchCall.html), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.OrganizationProductSearchCall.html) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.OrganizationVersionSearchCall.html) * projects - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.ProjectCatalogSearchCall.html), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.ProjectProductSearchCall.html) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.ProjectVersionSearchCall.html) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.ProjectCatalogSearchCall.html), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.ProjectProductSearchCall.html) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.ProjectVersionSearchCall.html) @@ -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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/struct.CloudPrivateCatalog.html)** +* **[Hub](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/struct.CloudPrivateCatalog.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/enum.Result.html) 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html) 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/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.ResponseResult.html) 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190622/google_cloudprivatecatalog1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudprivatecatalog1_beta1/1.0.11+20190622/google_cloudprivatecatalog1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudprivatecatalog1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudprivatecatalog1_beta1/src/cmn.rs +++ b/gen/cloudprivatecatalog1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudprivatecatalog1_beta1/src/lib.rs b/gen/cloudprivatecatalog1_beta1/src/lib.rs index e4055934ab..88e7130b53 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Private Catalog* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Private Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). @@ -329,7 +329,7 @@ impl<'a, C, A> CloudPrivateCatalog CloudPrivateCatalog { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudprivatecatalog.googleapis.com/".to_string(), _root_url: "https://cloudprivatecatalog.googleapis.com/".to_string(), } @@ -346,7 +346,7 @@ impl<'a, C, A> CloudPrivateCatalog } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml index fdce8e1b40..d5b4d423e4 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 = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprivatecatalogproducer1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudprivatecatalogproducer1_beta1] path = "../cloudprivatecatalogproducer1_beta1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/README.md b/gen/cloudprivatecatalogproducer1_beta1-cli/README.md index 43a0a4bb56..ef04e558c5 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 *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud PrivateCatalog Producer* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash cloudprivatecatalogproducer1-beta1 [options] diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml index 915fed07e9..ba4fbe6e1a 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud PrivateCatalog Producer v1.0.10+20190622 +site_name: Cloud PrivateCatalog Producer v1.0.11+20190622 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 6236a2cf18..d124a67af1 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs @@ -3026,7 +3026,7 @@ fn main() { let mut app = App::new("cloudprivatecatalogproducer1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .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 36a115851d..5a2584034c 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml +++ b/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprivatecatalogproducer1_beta1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprivatecatalogproducer1_beta1" homepage = "https://cloud.google.com/private-catalog/" -documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622" +documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622" license = "MIT" keywords = ["cloudprivatecatalogp", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudprivatecatalogproducer1_beta1/README.md b/gen/cloudprivatecatalogproducer1_beta1/README.md index e8e2514864..e3469ad35c 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud PrivateCatalog Producer* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CloudPrivateCatalogProducer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CloudPrivateCatalogProducer.html) ... * catalogs - * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationCreateCall.html), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationDeleteCall.html), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationGetCall.html), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationListCall.html), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogCreateCall.html), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogDeleteCall.html), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogGetCall.html), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogListCall.html), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogPatchCall.html), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductCopyCall.html), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductCreateCall.html), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductDeleteCall.html), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductGetCall.html), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductIconUploadCall.html), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductListCall.html), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductPatchCall.html), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionCreateCall.html), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionDeleteCall.html), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionGetCall.html), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionListCall.html), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionPatchCall.html), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogTestIamPermissionCall.html) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogUndeleteCall.html) + * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationCreateCall.html), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationDeleteCall.html), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationGetCall.html), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogAssociationListCall.html), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogCreateCall.html), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogDeleteCall.html), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogGetCall.html), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogListCall.html), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogPatchCall.html), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductCopyCall.html), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductCreateCall.html), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductDeleteCall.html), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductGetCall.html), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductIconUploadCall.html), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductListCall.html), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductPatchCall.html), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionCreateCall.html), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionDeleteCall.html), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionGetCall.html), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionListCall.html), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogProductVersionPatchCall.html), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogTestIamPermissionCall.html) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CatalogUndeleteCall.html) * operations - * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationListCall.html) + * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.OperationListCall.html) @@ -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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CloudPrivateCatalogProducer.html)** +* **[Hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/struct.CloudPrivateCatalogProducer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/enum.Result.html) 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html) 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/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.ResponseResult.html) 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190622/google_cloudprivatecatalogproducer1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/1.0.11+20190622/google_cloudprivatecatalogproducer1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudprivatecatalogproducer1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/cmn.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs b/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs index dd3aef0b1f..64f0e8e585 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud PrivateCatalog Producer* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud PrivateCatalog Producer* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudPrivateCatalogProducer CloudPrivateCatalogProducer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudprivatecatalogproducer.googleapis.com/".to_string(), _root_url: "https://cloudprivatecatalogproducer.googleapis.com/".to_string(), } @@ -350,7 +350,7 @@ impl<'a, C, A> CloudPrivateCatalogProducer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudprofiler2-cli/Cargo.toml b/gen/cloudprofiler2-cli/Cargo.toml index 7feb410979..7b4846179d 100644 --- a/gen/cloudprofiler2-cli/Cargo.toml +++ b/gen/cloudprofiler2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprofiler2-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Profiler (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprofiler2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudprofiler2] path = "../cloudprofiler2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/cloudprofiler2-cli/README.md b/gen/cloudprofiler2-cli/README.md index a75ef708f9..1951d1629c 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Profiler* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash cloudprofiler2 [options] diff --git a/gen/cloudprofiler2-cli/mkdocs.yml b/gen/cloudprofiler2-cli/mkdocs.yml index 7cbf138b11..d578e9eabe 100644 --- a/gen/cloudprofiler2-cli/mkdocs.yml +++ b/gen/cloudprofiler2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Profiler v1.0.10+20190629 +site_name: Cloud Profiler v1.0.11+20190629 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 43986cb08c..c6970eb3a0 100644 --- a/gen/cloudprofiler2-cli/src/main.rs +++ b/gen/cloudprofiler2-cli/src/main.rs @@ -537,7 +537,7 @@ fn main() { let mut app = App::new("cloudprofiler2") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .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 40b0e7f654..030b28429b 100644 --- a/gen/cloudprofiler2/Cargo.toml +++ b/gen/cloudprofiler2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprofiler2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Profiler (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprofiler2" homepage = "https://cloud.google.com/profiler/" -documentation = "https://docs.rs/google-cloudprofiler2/1.0.10+20190629" +documentation = "https://docs.rs/google-cloudprofiler2/1.0.11+20190629" license = "MIT" keywords = ["cloudprofiler", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudprofiler2/README.md b/gen/cloudprofiler2/README.md index fdbff28915..1aa99beaec 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Profiler* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_cloudprofiler2/struct.CloudProfiler.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/struct.CloudProfiler.html) ... * projects - * [*profiles create*](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/struct.ProjectProfileCreateCall.html), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/struct.ProjectProfileCreateOfflineCall.html) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/struct.ProjectProfilePatchCall.html) + * [*profiles create*](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/struct.ProjectProfileCreateCall.html), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/struct.ProjectProfileCreateOfflineCall.html) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/struct.ProjectProfilePatchCall.html) @@ -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/1.0.10+20190629/google_cloudprofiler2/struct.CloudProfiler.html)** +* **[Hub](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/struct.CloudProfiler.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_cloudprofiler2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.CallBuilder.html) 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/1.0.11+20190629/google_cloudprofiler2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_cloudprofiler2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudprofiler2/1.0.10+20190629/google_cloudprofiler2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.ResponseResult.html) 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/1.0.10+20190629/google_cloudprofiler2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_cloudprofiler2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_cloudprofiler2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudprofiler2/1.0.11+20190629/google_cloudprofiler2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudprofiler2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudprofiler2/src/cmn.rs +++ b/gen/cloudprofiler2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudprofiler2/src/lib.rs b/gen/cloudprofiler2/src/lib.rs index 29ad209d61..979f735886 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Profiler* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Profiler* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/profiler/). @@ -341,7 +341,7 @@ impl<'a, C, A> CloudProfiler CloudProfiler { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudprofiler.googleapis.com/".to_string(), _root_url: "https://cloudprofiler.googleapis.com/".to_string(), } @@ -352,7 +352,7 @@ impl<'a, C, A> CloudProfiler } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager1-cli/Cargo.toml b/gen/cloudresourcemanager1-cli/Cargo.toml index 06e37b26f9..31256ea12e 100644 --- a/gen/cloudresourcemanager1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1-cli" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudresourcemanager1] path = "../cloudresourcemanager1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/cloudresourcemanager1-cli/README.md b/gen/cloudresourcemanager1-cli/README.md index af5aa610c8..d08bf9380c 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash cloudresourcemanager1 [options] diff --git a/gen/cloudresourcemanager1-cli/mkdocs.yml b/gen/cloudresourcemanager1-cli/mkdocs.yml index 4651b02f61..0ec8063d45 100644 --- a/gen/cloudresourcemanager1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v1.0.10+20190701 +site_name: Cloud Resource Manager v1.0.11+20190701 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 66159fcfd4..621533e6b6 100644 --- a/gen/cloudresourcemanager1-cli/src/main.rs +++ b/gen/cloudresourcemanager1-cli/src/main.rs @@ -4558,7 +4558,7 @@ fn main() { let mut app = App::new("cloudresourcemanager1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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 d52618f673..f09326a0f9 100644 --- a/gen/cloudresourcemanager1/Cargo.toml +++ b/gen/cloudresourcemanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701" +documentation = "https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudresourcemanager1/README.md b/gen/cloudresourcemanager1/README.md index 79e222f10c..d5bb6e5a03 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Resource Manager* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_cloudresourcemanager1/struct.CloudResourceManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.CloudResourceManager.html) ... * folders - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.FolderClearOrgPolicyCall.html), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.FolderGetEffectiveOrgPolicyCall.html), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.FolderGetOrgPolicyCall.html), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.FolderListAvailableOrgPolicyConstraintCall.html), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.FolderListOrgPolicyCall.html) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.FolderSetOrgPolicyCall.html) -* [liens](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.Lien.html) - * [*create*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.LienCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.LienDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.LienGetCall.html) and [*list*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.LienListCall.html) -* [operations](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.Operation.html) - * [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OperationGetCall.html) -* [organizations](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.Organization.html) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationClearOrgPolicyCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationGetCall.html), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationGetEffectiveOrgPolicyCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationGetIamPolicyCall.html), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationGetOrgPolicyCall.html), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationListAvailableOrgPolicyConstraintCall.html), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationListOrgPolicyCall.html), [*search*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationSearchCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationSetIamPolicyCall.html), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationSetOrgPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.OrganizationTestIamPermissionCall.html) -* [projects](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.Project.html) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectClearOrgPolicyCall.html), [*create*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectGetAncestryCall.html), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectGetEffectiveOrgPolicyCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectGetIamPolicyCall.html), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectGetOrgPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectListCall.html), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectListAvailableOrgPolicyConstraintCall.html), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectListOrgPolicyCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectSetIamPolicyCall.html), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectSetOrgPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/struct.ProjectUpdateCall.html) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.FolderClearOrgPolicyCall.html), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.FolderGetEffectiveOrgPolicyCall.html), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.FolderGetOrgPolicyCall.html), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.FolderListAvailableOrgPolicyConstraintCall.html), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.FolderListOrgPolicyCall.html) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.FolderSetOrgPolicyCall.html) +* [liens](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.Lien.html) + * [*create*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.LienCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.LienDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.LienGetCall.html) and [*list*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.LienListCall.html) +* [operations](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.Operation.html) + * [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OperationGetCall.html) +* [organizations](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.Organization.html) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationClearOrgPolicyCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationGetCall.html), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationGetEffectiveOrgPolicyCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationGetIamPolicyCall.html), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationGetOrgPolicyCall.html), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationListAvailableOrgPolicyConstraintCall.html), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationListOrgPolicyCall.html), [*search*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationSearchCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationSetIamPolicyCall.html), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationSetOrgPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.OrganizationTestIamPermissionCall.html) +* [projects](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.Project.html) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectClearOrgPolicyCall.html), [*create*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectGetAncestryCall.html), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectGetEffectiveOrgPolicyCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectGetIamPolicyCall.html), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectGetOrgPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectListCall.html), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectListAvailableOrgPolicyConstraintCall.html), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectListOrgPolicyCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectSetIamPolicyCall.html), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectSetOrgPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.ProjectUpdateCall.html) @@ -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/1.0.10+20190701/google_cloudresourcemanager1/struct.CloudResourceManager.html)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/struct.CloudResourceManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_cloudresourcemanager1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.CallBuilder.html) 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/1.0.11+20190701/google_cloudresourcemanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_cloudresourcemanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudresourcemanager1/1.0.10+20190701/google_cloudresourcemanager1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.ResponseResult.html) 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/1.0.10+20190701/google_cloudresourcemanager1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_cloudresourcemanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_cloudresourcemanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1/1.0.11+20190701/google_cloudresourcemanager1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudresourcemanager1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudresourcemanager1/src/cmn.rs +++ b/gen/cloudresourcemanager1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudresourcemanager1/src/lib.rs b/gen/cloudresourcemanager1/src/lib.rs index a215933532..f03a43ea60 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Resource Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -350,7 +350,7 @@ impl<'a, C, A> CloudResourceManager CloudResourceManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -373,7 +373,7 @@ impl<'a, C, A> CloudResourceManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml index b66068d8ca..3e706bf7b1 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 = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudresourcemanager1_beta1] path = "../cloudresourcemanager1_beta1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/cloudresourcemanager1_beta1-cli/README.md b/gen/cloudresourcemanager1_beta1-cli/README.md index a81cb14cfc..b8db3041bf 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash cloudresourcemanager1-beta1 [options] diff --git a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml index c555f75d78..98bb1dd74d 100644 --- a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v1.0.10+20190701 +site_name: Cloud Resource Manager v1.0.11+20190701 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 fc03f3df45..07888b305b 100644 --- a/gen/cloudresourcemanager1_beta1-cli/src/main.rs +++ b/gen/cloudresourcemanager1_beta1-cli/src/main.rs @@ -1989,7 +1989,7 @@ fn main() { let mut app = App::new("cloudresourcemanager1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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 56cef96e47..00592e12c4 100644 --- a/gen/cloudresourcemanager1_beta1/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1_beta1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1_beta1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701" +documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudresourcemanager1_beta1/README.md b/gen/cloudresourcemanager1_beta1/README.md index fc708da5d9..70e26555f7 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Resource Manager* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html) ... -* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.Organization.html) - * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationTestIamPermissionCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationUpdateCall.html) -* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.Project.html) - * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectGetAncestryCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.ProjectUpdateCall.html) +* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.Organization.html) + * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationTestIamPermissionCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.OrganizationUpdateCall.html) +* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.Project.html) + * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectGetAncestryCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.ProjectUpdateCall.html) @@ -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/1.0.10+20190701/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/enum.Result.html) 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html) 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/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.ResponseResult.html) 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_cloudresourcemanager1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.11+20190701/google_cloudresourcemanager1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudresourcemanager1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudresourcemanager1_beta1/src/cmn.rs +++ b/gen/cloudresourcemanager1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs b/gen/cloudresourcemanager1_beta1/src/lib.rs index aa356ce58b..58dc76323a 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -338,7 +338,7 @@ impl<'a, C, A> CloudResourceManager CloudResourceManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -352,7 +352,7 @@ impl<'a, C, A> CloudResourceManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager2-cli/Cargo.toml b/gen/cloudresourcemanager2-cli/Cargo.toml index 73adee049a..fda988cd61 100644 --- a/gen/cloudresourcemanager2-cli/Cargo.toml +++ b/gen/cloudresourcemanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager2-cli" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudresourcemanager2] path = "../cloudresourcemanager2" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/cloudresourcemanager2-cli/README.md b/gen/cloudresourcemanager2-cli/README.md index 80818ea0e0..b39e5d39c2 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash cloudresourcemanager2 [options] diff --git a/gen/cloudresourcemanager2-cli/mkdocs.yml b/gen/cloudresourcemanager2-cli/mkdocs.yml index ff1460c160..13fc9dfc8b 100644 --- a/gen/cloudresourcemanager2-cli/mkdocs.yml +++ b/gen/cloudresourcemanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v1.0.10+20190701 +site_name: Cloud Resource Manager v1.0.11+20190701 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 c153ae3b39..7469d2921a 100644 --- a/gen/cloudresourcemanager2-cli/src/main.rs +++ b/gen/cloudresourcemanager2-cli/src/main.rs @@ -1522,7 +1522,7 @@ fn main() { let mut app = App::new("cloudresourcemanager2") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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 632eb19c15..8c5b0301b2 100644 --- a/gen/cloudresourcemanager2/Cargo.toml +++ b/gen/cloudresourcemanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager2" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager2" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701" +documentation = "https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudresourcemanager2/README.md b/gen/cloudresourcemanager2/README.md index 62df8a33b7..ada03b405e 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Resource Manager* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_cloudresourcemanager2/struct.CloudResourceManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.CloudResourceManager.html) ... -* [folders](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.Folder.html) - * [*create*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderListCall.html), [*move*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderMoveCall.html), [*patch*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderPatchCall.html), [*search*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderSearchCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderTestIamPermissionCall.html) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.FolderUndeleteCall.html) -* [operations](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.Operation.html) - * [*get*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/struct.OperationGetCall.html) +* [folders](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.Folder.html) + * [*create*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderListCall.html), [*move*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderMoveCall.html), [*patch*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderPatchCall.html), [*search*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderSearchCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderTestIamPermissionCall.html) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.FolderUndeleteCall.html) +* [operations](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.Operation.html) + * [*get*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.OperationGetCall.html) @@ -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/1.0.10+20190701/google_cloudresourcemanager2/struct.CloudResourceManager.html)** +* **[Hub](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/struct.CloudResourceManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_cloudresourcemanager2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.CallBuilder.html) 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/1.0.11+20190701/google_cloudresourcemanager2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_cloudresourcemanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudresourcemanager2/1.0.10+20190701/google_cloudresourcemanager2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.ResponseResult.html) 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/1.0.10+20190701/google_cloudresourcemanager2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_cloudresourcemanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_cloudresourcemanager2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudresourcemanager2/1.0.11+20190701/google_cloudresourcemanager2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudresourcemanager2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudresourcemanager2/src/cmn.rs +++ b/gen/cloudresourcemanager2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudresourcemanager2/src/lib.rs b/gen/cloudresourcemanager2/src/lib.rs index 411647bb5d..8ebec69aef 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Resource Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -341,7 +341,7 @@ impl<'a, C, A> CloudResourceManager CloudResourceManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -355,7 +355,7 @@ impl<'a, C, A> CloudResourceManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudscheduler1-cli/Cargo.toml b/gen/cloudscheduler1-cli/Cargo.toml index 6dae1089ba..4788d775ef 100644 --- a/gen/cloudscheduler1-cli/Cargo.toml +++ b/gen/cloudscheduler1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudscheduler1-cli" -version = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudscheduler1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudscheduler1] path = "../cloudscheduler1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" diff --git a/gen/cloudscheduler1-cli/README.md b/gen/cloudscheduler1-cli/README.md index bc2a62f93c..9621d62860 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 *20190617*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Scheduler* API at revision *20190617*. The CLI is at version *1.0.11*. ```bash cloudscheduler1 [options] diff --git a/gen/cloudscheduler1-cli/mkdocs.yml b/gen/cloudscheduler1-cli/mkdocs.yml index d31f29ee9f..b73616a41d 100644 --- a/gen/cloudscheduler1-cli/mkdocs.yml +++ b/gen/cloudscheduler1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v1.0.10+20190617 +site_name: Cloud Scheduler v1.0.11+20190617 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 4c3e3e7486..7dff5b0a0d 100644 --- a/gen/cloudscheduler1-cli/src/main.rs +++ b/gen/cloudscheduler1-cli/src/main.rs @@ -1261,7 +1261,7 @@ fn main() { let mut app = App::new("cloudscheduler1") .author("Sebastian Thiel ") - .version("1.0.10+20190617") + .version("1.0.11+20190617") .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 23d1923852..61805da9be 100644 --- a/gen/cloudscheduler1/Cargo.toml +++ b/gen/cloudscheduler1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudscheduler1" homepage = "https://cloud.google.com/scheduler/" -documentation = "https://docs.rs/google-cloudscheduler1/1.0.10+20190617" +documentation = "https://docs.rs/google-cloudscheduler1/1.0.11+20190617" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudscheduler1/README.md b/gen/cloudscheduler1/README.md index 439b2f152f..4aa5564fa4 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Scheduler* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190617/google_cloudscheduler1/struct.CloudScheduler.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.CloudScheduler.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationGetCall.html), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobCreateCall.html), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobDeleteCall.html), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobGetCall.html), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobListCall.html), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobPatchCall.html), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobPauseCall.html), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobResumeCall.html), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationJobRunCall.html) and [*locations list*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/struct.ProjectLocationListCall.html) + * [*locations get*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationGetCall.html), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobCreateCall.html), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobDeleteCall.html), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobGetCall.html), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobListCall.html), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobPatchCall.html), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobPauseCall.html), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobResumeCall.html), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationJobRunCall.html) and [*locations list*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190617/google_cloudscheduler1/struct.CloudScheduler.html)** +* **[Hub](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/struct.CloudScheduler.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190617/google_cloudscheduler1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.CallBuilder.html) 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/1.0.11+20190617/google_cloudscheduler1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190617/google_cloudscheduler1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudscheduler1/1.0.10+20190617/google_cloudscheduler1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.ResponseResult.html) 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/1.0.10+20190617/google_cloudscheduler1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190617/google_cloudscheduler1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190617/google_cloudscheduler1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudscheduler1/1.0.11+20190617/google_cloudscheduler1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudscheduler1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudscheduler1/src/cmn.rs +++ b/gen/cloudscheduler1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudscheduler1/src/lib.rs b/gen/cloudscheduler1/src/lib.rs index 689c6d233d..c591320139 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Scheduler* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Scheduler* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudScheduler CloudScheduler { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudscheduler.googleapis.com/".to_string(), _root_url: "https://cloudscheduler.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudScheduler } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudscheduler1_beta1-cli/Cargo.toml b/gen/cloudscheduler1_beta1-cli/Cargo.toml index 317fbb99b0..79ff1a1cf9 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 = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudscheduler1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudscheduler1_beta1] path = "../cloudscheduler1_beta1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" diff --git a/gen/cloudscheduler1_beta1-cli/README.md b/gen/cloudscheduler1_beta1-cli/README.md index 70d5232d9d..f350f5a6c5 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 *20190617*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Scheduler* API at revision *20190617*. The CLI is at version *1.0.11*. ```bash cloudscheduler1-beta1 [options] diff --git a/gen/cloudscheduler1_beta1-cli/mkdocs.yml b/gen/cloudscheduler1_beta1-cli/mkdocs.yml index 1fbcd58538..ed09d660f9 100644 --- a/gen/cloudscheduler1_beta1-cli/mkdocs.yml +++ b/gen/cloudscheduler1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v1.0.10+20190617 +site_name: Cloud Scheduler v1.0.11+20190617 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 a2a97d7006..0a10aa4f49 100644 --- a/gen/cloudscheduler1_beta1-cli/src/main.rs +++ b/gen/cloudscheduler1_beta1-cli/src/main.rs @@ -1261,7 +1261,7 @@ fn main() { let mut app = App::new("cloudscheduler1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190617") + .version("1.0.11+20190617") .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 2d4f915882..085684cb6f 100644 --- a/gen/cloudscheduler1_beta1/Cargo.toml +++ b/gen/cloudscheduler1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1_beta1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudscheduler1_beta1" homepage = "https://cloud.google.com/scheduler/" -documentation = "https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617" +documentation = "https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudscheduler1_beta1/README.md b/gen/cloudscheduler1_beta1/README.md index a5e47e6c30..0e3d3c8415 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Scheduler* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190617/google_cloudscheduler1_beta1/struct.CloudScheduler.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.CloudScheduler.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationGetCall.html), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobCreateCall.html), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobDeleteCall.html), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobGetCall.html), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobListCall.html), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobPatchCall.html), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobPauseCall.html), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobResumeCall.html), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobRunCall.html) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationListCall.html) + * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationGetCall.html), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobCreateCall.html), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobDeleteCall.html), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobGetCall.html), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobListCall.html), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobPatchCall.html), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobPauseCall.html), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobResumeCall.html), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationJobRunCall.html) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190617/google_cloudscheduler1_beta1/struct.CloudScheduler.html)** +* **[Hub](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/struct.CloudScheduler.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/enum.Result.html) 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/1.0.10+20190617/google_cloudscheduler1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190617/google_cloudscheduler1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html) 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/1.0.11+20190617/google_cloudscheduler1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190617/google_cloudscheduler1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudscheduler1_beta1/1.0.10+20190617/google_cloudscheduler1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.ResponseResult.html) 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/1.0.10+20190617/google_cloudscheduler1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190617/google_cloudscheduler1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudscheduler1_beta1/1.0.11+20190617/google_cloudscheduler1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudscheduler1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudscheduler1_beta1/src/cmn.rs +++ b/gen/cloudscheduler1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudscheduler1_beta1/src/lib.rs b/gen/cloudscheduler1_beta1/src/lib.rs index eb607d3c77..b4b1405b8f 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Scheduler* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Scheduler* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudScheduler CloudScheduler { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudscheduler.googleapis.com/".to_string(), _root_url: "https://cloudscheduler.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudScheduler } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudshell1-cli/Cargo.toml b/gen/cloudshell1-cli/Cargo.toml index dc9ff5a5ae..ba9ee18d7e 100644 --- a/gen/cloudshell1-cli/Cargo.toml +++ b/gen/cloudshell1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudshell1-cli" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Shell (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudshell1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudshell1] path = "../cloudshell1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/cloudshell1-cli/README.md b/gen/cloudshell1-cli/README.md index 9246a31e1e..1b40c451f8 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Shell* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash cloudshell1 [options] diff --git a/gen/cloudshell1-cli/mkdocs.yml b/gen/cloudshell1-cli/mkdocs.yml index 767b2d6550..cf77bc4a05 100644 --- a/gen/cloudshell1-cli/mkdocs.yml +++ b/gen/cloudshell1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Shell v1.0.10+20190701 +site_name: Cloud Shell v1.0.11+20190701 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 00dc43becb..a336114955 100644 --- a/gen/cloudshell1-cli/src/main.rs +++ b/gen/cloudshell1-cli/src/main.rs @@ -530,7 +530,7 @@ fn main() { let mut app = App::new("cloudshell1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .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") diff --git a/gen/cloudshell1/Cargo.toml b/gen/cloudshell1/Cargo.toml index b94f87cf83..185d2779da 100644 --- a/gen/cloudshell1/Cargo.toml +++ b/gen/cloudshell1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudshell1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Shell (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudshell1" homepage = "https://cloud.google.com/shell/docs/" -documentation = "https://docs.rs/google-cloudshell1/1.0.10+20190701" +documentation = "https://docs.rs/google-cloudshell1/1.0.11+20190701" license = "MIT" keywords = ["cloudshell", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudshell1/README.md b/gen/cloudshell1/README.md index e2972423dc..c62bcc7e83 100644 --- a/gen/cloudshell1/README.md +++ b/gen/cloudshell1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Shell* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190701/google_cloudshell1/struct.CloudShell.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.CloudShell.html) ... -* [operations](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.OperationListCall.html) @@ -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-cloudshell1/1.0.10+20190701/google_cloudshell1/struct.CloudShell.html)** +* **[Hub](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/struct.CloudShell.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_cloudshell1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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/1.0.10+20190701/google_cloudshell1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.CallBuilder.html) 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/1.0.11+20190701/google_cloudshell1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_cloudshell1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudshell1/1.0.10+20190701/google_cloudshell1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.ResponseResult.html) 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/1.0.10+20190701/google_cloudshell1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_cloudshell1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_cloudshell1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudshell1/1.0.11+20190701/google_cloudshell1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudshell1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudshell1/src/cmn.rs +++ b/gen/cloudshell1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudshell1/src/lib.rs b/gen/cloudshell1/src/lib.rs index 88e09d5844..cd6e2888c2 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Shell* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Shell* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/shell/docs/). @@ -326,7 +326,7 @@ impl<'a, C, A> CloudShell CloudShell { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudshell.googleapis.com/".to_string(), _root_url: "https://cloudshell.googleapis.com/".to_string(), } @@ -337,7 +337,7 @@ impl<'a, C, A> CloudShell } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtasks2-cli/Cargo.toml b/gen/cloudtasks2-cli/Cargo.toml index 21d48f3541..d97489d760 100644 --- a/gen/cloudtasks2-cli/Cargo.toml +++ b/gen/cloudtasks2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2-cli" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudtasks2] path = "../cloudtasks2" -version = "1.0.10+20190618" +version = "1.0.11+20190618" diff --git a/gen/cloudtasks2-cli/README.md b/gen/cloudtasks2-cli/README.md index 2cb7f6211d..69b2621d35 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 *20190618*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Tasks* API at revision *20190618*. The CLI is at version *1.0.11*. ```bash cloudtasks2 [options] diff --git a/gen/cloudtasks2-cli/mkdocs.yml b/gen/cloudtasks2-cli/mkdocs.yml index f2c699294f..1b7bffc276 100644 --- a/gen/cloudtasks2-cli/mkdocs.yml +++ b/gen/cloudtasks2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v1.0.10+20190618 +site_name: Cloud Tasks v1.0.11+20190618 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 a83c1fcf72..658d6485a9 100644 --- a/gen/cloudtasks2-cli/src/main.rs +++ b/gen/cloudtasks2-cli/src/main.rs @@ -2203,7 +2203,7 @@ fn main() { let mut app = App::new("cloudtasks2") .author("Sebastian Thiel ") - .version("1.0.10+20190618") + .version("1.0.11+20190618") .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 af6eba21ae..188a907c6b 100644 --- a/gen/cloudtasks2/Cargo.toml +++ b/gen/cloudtasks2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2/1.0.10+20190618" +documentation = "https://docs.rs/google-cloudtasks2/1.0.11+20190618" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudtasks2/README.md b/gen/cloudtasks2/README.md index fb1d75eb33..505910052d 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Tasks* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190618/google_cloudtasks2/struct.CloudTasks.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.CloudTasks.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationListCall.html), [*locations queues create*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueCreateCall.html), [*locations queues delete*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueDeleteCall.html), [*locations queues get*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueGetCall.html), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueGetIamPolicyCall.html), [*locations queues list*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueListCall.html), [*locations queues patch*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueuePatchCall.html), [*locations queues pause*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueuePauseCall.html), [*locations queues purge*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueuePurgeCall.html), [*locations queues resume*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueResumeCall.html), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueSetIamPolicyCall.html), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskCreateCall.html), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskDeleteCall.html), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskGetCall.html), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskListCall.html), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskRunCall.html) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/struct.ProjectLocationQueueTestIamPermissionCall.html) + * [*locations get*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationListCall.html), [*locations queues create*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueCreateCall.html), [*locations queues delete*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueDeleteCall.html), [*locations queues get*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueGetCall.html), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueGetIamPolicyCall.html), [*locations queues list*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueListCall.html), [*locations queues patch*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueuePatchCall.html), [*locations queues pause*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueuePauseCall.html), [*locations queues purge*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueuePurgeCall.html), [*locations queues resume*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueResumeCall.html), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueSetIamPolicyCall.html), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskCreateCall.html), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskDeleteCall.html), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskGetCall.html), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskListCall.html), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueTaskRunCall.html) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.ProjectLocationQueueTestIamPermissionCall.html) @@ -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/1.0.10+20190618/google_cloudtasks2/struct.CloudTasks.html)** +* **[Hub](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/struct.CloudTasks.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190618/google_cloudtasks2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.CallBuilder.html) 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/1.0.11+20190618/google_cloudtasks2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190618/google_cloudtasks2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudtasks2/1.0.10+20190618/google_cloudtasks2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.ResponseResult.html) 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/1.0.10+20190618/google_cloudtasks2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190618/google_cloudtasks2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190618/google_cloudtasks2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudtasks2/1.0.11+20190618/google_cloudtasks2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudtasks2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudtasks2/src/cmn.rs +++ b/gen/cloudtasks2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudtasks2/src/lib.rs b/gen/cloudtasks2/src/lib.rs index 505820b09f..11f9850b62 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Tasks* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Tasks* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudTasks CloudTasks { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudTasks } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtasks2_beta2-cli/Cargo.toml b/gen/cloudtasks2_beta2-cli/Cargo.toml index 665e174af6..143d5ffc5b 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 = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudtasks2_beta2] path = "../cloudtasks2_beta2" -version = "1.0.10+20190618" +version = "1.0.11+20190618" diff --git a/gen/cloudtasks2_beta2-cli/README.md b/gen/cloudtasks2_beta2-cli/README.md index 8b620834f1..6d1d91e337 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 *20190618*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Tasks* API at revision *20190618*. The CLI is at version *1.0.11*. ```bash cloudtasks2-beta2 [options] diff --git a/gen/cloudtasks2_beta2-cli/mkdocs.yml b/gen/cloudtasks2_beta2-cli/mkdocs.yml index badf1d778a..8171c86b1f 100644 --- a/gen/cloudtasks2_beta2-cli/mkdocs.yml +++ b/gen/cloudtasks2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v1.0.10+20190618 +site_name: Cloud Tasks v1.0.11+20190618 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 8fbadc7a7e..89df0241f0 100644 --- a/gen/cloudtasks2_beta2-cli/src/main.rs +++ b/gen/cloudtasks2_beta2-cli/src/main.rs @@ -2735,7 +2735,7 @@ fn main() { let mut app = App::new("cloudtasks2-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20190618") + .version("1.0.11+20190618") .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 3fcc90346b..c5e1bf762d 100644 --- a/gen/cloudtasks2_beta2/Cargo.toml +++ b/gen/cloudtasks2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2_beta2" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2_beta2" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618" +documentation = "https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudtasks2_beta2/README.md b/gen/cloudtasks2_beta2/README.md index 5239101f43..b04703f2da 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Tasks* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190618/google_cloudtasks2_beta2/struct.CloudTasks.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.CloudTasks.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationListCall.html), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueCreateCall.html), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueDeleteCall.html), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueGetCall.html), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueGetIamPolicyCall.html), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueListCall.html), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueuePatchCall.html), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueuePauseCall.html), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueuePurgeCall.html), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueResumeCall.html), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueSetIamPolicyCall.html), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskAcknowledgeCall.html), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskCancelLeaseCall.html), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskCreateCall.html), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskDeleteCall.html), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskGetCall.html), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskLeaseCall.html), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskListCall.html), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskRenewLeaseCall.html), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskRunCall.html) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTestIamPermissionCall.html) + * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationListCall.html), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueCreateCall.html), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueDeleteCall.html), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueGetCall.html), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueGetIamPolicyCall.html), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueListCall.html), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueuePatchCall.html), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueuePauseCall.html), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueuePurgeCall.html), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueResumeCall.html), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueSetIamPolicyCall.html), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskAcknowledgeCall.html), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskCancelLeaseCall.html), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskCreateCall.html), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskDeleteCall.html), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskGetCall.html), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskLeaseCall.html), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskListCall.html), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskRenewLeaseCall.html), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTaskRunCall.html) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.ProjectLocationQueueTestIamPermissionCall.html) @@ -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/1.0.10+20190618/google_cloudtasks2_beta2/struct.CloudTasks.html)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/struct.CloudTasks.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/enum.Result.html) 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/1.0.10+20190618/google_cloudtasks2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190618/google_cloudtasks2_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html) 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/1.0.11+20190618/google_cloudtasks2_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190618/google_cloudtasks2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudtasks2_beta2/1.0.10+20190618/google_cloudtasks2_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.ResponseResult.html) 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/1.0.10+20190618/google_cloudtasks2_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190618/google_cloudtasks2_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta2/1.0.11+20190618/google_cloudtasks2_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudtasks2_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudtasks2_beta2/src/cmn.rs +++ b/gen/cloudtasks2_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudtasks2_beta2/src/lib.rs b/gen/cloudtasks2_beta2/src/lib.rs index e8e166ab09..0d60cedb92 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Tasks* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Tasks* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudTasks CloudTasks { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudTasks } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtasks2_beta3-cli/Cargo.toml b/gen/cloudtasks2_beta3-cli/Cargo.toml index 78ed23de75..1c88d573ab 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 = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2_beta3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudtasks2_beta3] path = "../cloudtasks2_beta3" -version = "1.0.10+20190618" +version = "1.0.11+20190618" diff --git a/gen/cloudtasks2_beta3-cli/README.md b/gen/cloudtasks2_beta3-cli/README.md index 3fe72affa1..75fd5fdd9f 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 *20190618*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Tasks* API at revision *20190618*. The CLI is at version *1.0.11*. ```bash cloudtasks2-beta3 [options] diff --git a/gen/cloudtasks2_beta3-cli/mkdocs.yml b/gen/cloudtasks2_beta3-cli/mkdocs.yml index c471075b70..4208ff21f4 100644 --- a/gen/cloudtasks2_beta3-cli/mkdocs.yml +++ b/gen/cloudtasks2_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v1.0.10+20190618 +site_name: Cloud Tasks v1.0.11+20190618 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 b492c17995..f16b8efe31 100644 --- a/gen/cloudtasks2_beta3-cli/src/main.rs +++ b/gen/cloudtasks2_beta3-cli/src/main.rs @@ -2213,7 +2213,7 @@ fn main() { let mut app = App::new("cloudtasks2-beta3") .author("Sebastian Thiel ") - .version("1.0.10+20190618") + .version("1.0.11+20190618") .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 664cffdb1c..cbd6eac775 100644 --- a/gen/cloudtasks2_beta3/Cargo.toml +++ b/gen/cloudtasks2_beta3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2_beta3" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2_beta3" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618" +documentation = "https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudtasks2_beta3/README.md b/gen/cloudtasks2_beta3/README.md index 42034a1fe5..313943896e 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Tasks* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190618/google_cloudtasks2_beta3/struct.CloudTasks.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.CloudTasks.html) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationListCall.html), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueCreateCall.html), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueDeleteCall.html), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueGetCall.html), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueGetIamPolicyCall.html), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueListCall.html), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueuePatchCall.html), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueuePauseCall.html), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueuePurgeCall.html), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueResumeCall.html), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueSetIamPolicyCall.html), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskCreateCall.html), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskDeleteCall.html), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskGetCall.html), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskListCall.html), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskRunCall.html) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTestIamPermissionCall.html) + * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationListCall.html), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueCreateCall.html), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueDeleteCall.html), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueGetCall.html), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueGetIamPolicyCall.html), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueListCall.html), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueuePatchCall.html), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueuePauseCall.html), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueuePurgeCall.html), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueResumeCall.html), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueSetIamPolicyCall.html), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskCreateCall.html), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskDeleteCall.html), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskGetCall.html), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskListCall.html), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTaskRunCall.html) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.ProjectLocationQueueTestIamPermissionCall.html) @@ -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/1.0.10+20190618/google_cloudtasks2_beta3/struct.CloudTasks.html)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/struct.CloudTasks.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/enum.Result.html) 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/1.0.10+20190618/google_cloudtasks2_beta3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190618/google_cloudtasks2_beta3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html) 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/1.0.11+20190618/google_cloudtasks2_beta3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190618/google_cloudtasks2_beta3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudtasks2_beta3/1.0.10+20190618/google_cloudtasks2_beta3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.ResponseResult.html) 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/1.0.10+20190618/google_cloudtasks2_beta3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190618/google_cloudtasks2_beta3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta3/1.0.11+20190618/google_cloudtasks2_beta3/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudtasks2_beta3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudtasks2_beta3/src/cmn.rs +++ b/gen/cloudtasks2_beta3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudtasks2_beta3/src/lib.rs b/gen/cloudtasks2_beta3/src/lib.rs index 7e61f7cda2..42799fc547 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Tasks* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Tasks* *v2_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudTasks CloudTasks { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudTasks } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtrace1-cli/Cargo.toml b/gen/cloudtrace1-cli/Cargo.toml index 6b3841efa9..019067d482 100644 --- a/gen/cloudtrace1-cli/Cargo.toml +++ b/gen/cloudtrace1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtrace1-cli" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtrace1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudtrace1] path = "../cloudtrace1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/cloudtrace1-cli/README.md b/gen/cloudtrace1-cli/README.md index 396a52b2c6..498e336ae6 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 *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Trace* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash cloudtrace1 [options] diff --git a/gen/cloudtrace1-cli/mkdocs.yml b/gen/cloudtrace1-cli/mkdocs.yml index 0f597d4f84..29d05e2e1e 100644 --- a/gen/cloudtrace1-cli/mkdocs.yml +++ b/gen/cloudtrace1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v1.0.10+20190622 +site_name: Cloud Trace v1.0.11+20190622 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 ef02bcb839..c56f77f497 100644 --- a/gen/cloudtrace1-cli/src/main.rs +++ b/gen/cloudtrace1-cli/src/main.rs @@ -452,7 +452,7 @@ fn main() { let mut app = App::new("cloudtrace1") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .about("Sends application trace data to Stackdriver 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 Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtrace1_cli") diff --git a/gen/cloudtrace1/Cargo.toml b/gen/cloudtrace1/Cargo.toml index 6c08063ab8..de27512391 100644 --- a/gen/cloudtrace1/Cargo.toml +++ b/gen/cloudtrace1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtrace1" homepage = "https://cloud.google.com/trace" -documentation = "https://docs.rs/google-cloudtrace1/1.0.10+20190622" +documentation = "https://docs.rs/google-cloudtrace1/1.0.11+20190622" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudtrace1/README.md b/gen/cloudtrace1/README.md index a878a29356..c1a92a08b0 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Trace* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190622/google_cloudtrace1/struct.CloudTrace.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/struct.CloudTrace.html) ... * projects - * [*patch traces*](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/struct.ProjectPatchTraceCall.html), [*traces get*](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/struct.ProjectTraceGetCall.html) and [*traces list*](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/struct.ProjectTraceListCall.html) + * [*patch traces*](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/struct.ProjectPatchTraceCall.html), [*traces get*](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/struct.ProjectTraceGetCall.html) and [*traces list*](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/struct.ProjectTraceListCall.html) @@ -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/1.0.10+20190622/google_cloudtrace1/struct.CloudTrace.html)** +* **[Hub](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/struct.CloudTrace.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190622/google_cloudtrace1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.CallBuilder.html) 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/1.0.11+20190622/google_cloudtrace1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190622/google_cloudtrace1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudtrace1/1.0.10+20190622/google_cloudtrace1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.ResponseResult.html) 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/1.0.10+20190622/google_cloudtrace1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190622/google_cloudtrace1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190622/google_cloudtrace1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudtrace1/1.0.11+20190622/google_cloudtrace1/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudtrace1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudtrace1/src/cmn.rs +++ b/gen/cloudtrace1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudtrace1/src/lib.rs b/gen/cloudtrace1/src/lib.rs index bda570613f..3dffd6998b 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Trace* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Trace* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/trace). @@ -325,7 +325,7 @@ impl<'a, C, A> CloudTrace CloudTrace { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudtrace.googleapis.com/".to_string(), _root_url: "https://cloudtrace.googleapis.com/".to_string(), } @@ -336,7 +336,7 @@ impl<'a, C, A> CloudTrace } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtrace2-cli/Cargo.toml b/gen/cloudtrace2-cli/Cargo.toml index dc1a592b71..4241cff02a 100644 --- a/gen/cloudtrace2-cli/Cargo.toml +++ b/gen/cloudtrace2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtrace2-cli" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtrace2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-cloudtrace2] path = "../cloudtrace2" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/cloudtrace2-cli/README.md b/gen/cloudtrace2-cli/README.md index 46793ff237..f6784a4348 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 *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Trace* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash cloudtrace2 [options] diff --git a/gen/cloudtrace2-cli/mkdocs.yml b/gen/cloudtrace2-cli/mkdocs.yml index c678e3eeef..1f9001d111 100644 --- a/gen/cloudtrace2-cli/mkdocs.yml +++ b/gen/cloudtrace2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v1.0.10+20190622 +site_name: Cloud Trace v1.0.11+20190622 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 2c8b10f185..67cbfac403 100644 --- a/gen/cloudtrace2-cli/src/main.rs +++ b/gen/cloudtrace2-cli/src/main.rs @@ -406,7 +406,7 @@ fn main() { let mut app = App::new("cloudtrace2") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .about("Sends application trace data to Stackdriver 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 Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtrace2_cli") diff --git a/gen/cloudtrace2/Cargo.toml b/gen/cloudtrace2/Cargo.toml index 1fa9c4b610..08fd7fa419 100644 --- a/gen/cloudtrace2/Cargo.toml +++ b/gen/cloudtrace2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace2" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtrace2" homepage = "https://cloud.google.com/trace" -documentation = "https://docs.rs/google-cloudtrace2/1.0.10+20190622" +documentation = "https://docs.rs/google-cloudtrace2/1.0.11+20190622" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/cloudtrace2/README.md b/gen/cloudtrace2/README.md index a0ad67a0f1..2ad2f1b724 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Trace* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190622/google_cloudtrace2/struct.CloudTrace.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/struct.CloudTrace.html) ... * projects - * [*traces batch write*](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/struct.ProjectTraceBatchWriteCall.html) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/struct.ProjectTraceSpanCreateSpanCall.html) + * [*traces batch write*](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/struct.ProjectTraceBatchWriteCall.html) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/struct.ProjectTraceSpanCreateSpanCall.html) @@ -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/1.0.10+20190622/google_cloudtrace2/struct.CloudTrace.html)** +* **[Hub](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/struct.CloudTrace.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190622/google_cloudtrace2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.CallBuilder.html) 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/1.0.11+20190622/google_cloudtrace2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190622/google_cloudtrace2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudtrace2/1.0.10+20190622/google_cloudtrace2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.ResponseResult.html) 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/1.0.10+20190622/google_cloudtrace2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190622/google_cloudtrace2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190622/google_cloudtrace2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudtrace2/1.0.11+20190622/google_cloudtrace2/trait.RequestValue.html) are 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/cmn.rs b/gen/cloudtrace2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/cloudtrace2/src/cmn.rs +++ b/gen/cloudtrace2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/cloudtrace2/src/lib.rs b/gen/cloudtrace2/src/lib.rs index 5f552c2f14..1bc52be5e0 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Trace* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Trace* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/trace). @@ -333,7 +333,7 @@ impl<'a, C, A> CloudTrace CloudTrace { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://cloudtrace.googleapis.com/".to_string(), _root_url: "https://cloudtrace.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> CloudTrace } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouduseraccountsvm_beta-cli/Cargo.toml b/gen/clouduseraccountsvm_beta-cli/Cargo.toml index 1ca387c795..d1eff381de 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 = "1.0.10+20160316" +version = "1.0.11+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/master/gen/clouduseraccountsvm_beta-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-clouduseraccountsvm_beta] path = "../clouduseraccountsvm_beta" -version = "1.0.10+20160316" +version = "1.0.11+20160316" diff --git a/gen/clouduseraccountsvm_beta-cli/README.md b/gen/clouduseraccountsvm_beta-cli/README.md index 59cc7f682c..f29b98bf7b 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 *1.0.10*. +This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *1.0.11*. ```bash clouduseraccountsvm-beta [options] diff --git a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml index b069b29975..77a6901401 100644 --- a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml +++ b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud User Accounts v1.0.10+20160316 +site_name: Cloud User Accounts v1.0.11+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 a66d60a34e..4f46b66e38 100644 --- a/gen/clouduseraccountsvm_beta-cli/src/main.rs +++ b/gen/clouduseraccountsvm_beta-cli/src/main.rs @@ -1840,7 +1840,7 @@ fn main() { let mut app = App::new("clouduseraccountsvm-beta") .author("Sebastian Thiel ") - .version("1.0.10+20160316") + .version("1.0.11+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 069a69a6eb..b5e9e65016 100644 --- a/gen/clouduseraccountsvm_beta/Cargo.toml +++ b/gen/clouduseraccountsvm_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouduseraccountsvm_beta" -version = "1.0.10+20160316" +version = "1.0.11+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/master/gen/clouduseraccountsvm_beta" homepage = "https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" -documentation = "https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316" +documentation = "https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316" license = "MIT" keywords = ["clouduseraccounts", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/clouduseraccountsvm_beta/README.md b/gen/clouduseraccountsvm_beta/README.md index 07490c224b..781b726933 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 *1.0.10+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud User Accounts* crate version *1.0.11+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html) ... * global accounts operations - * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationGetCall.html) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationListCall.html) -* [groups](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.Group.html) - * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GroupAddMemberCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GroupListCall.html) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.GroupRemoveMemberCall.html) + * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationGetCall.html) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationListCall.html) +* [groups](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.Group.html) + * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GroupAddMemberCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GroupListCall.html) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.GroupRemoveMemberCall.html) * linux - * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetAuthorizedKeysViewCall.html) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetLinuxAccountViewCall.html) -* [users](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.User.html) - * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.UserAddPublicKeyCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.UserGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.UserInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.UserListCall.html) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.UserRemovePublicKeyCall.html) + * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetAuthorizedKeysViewCall.html) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetLinuxAccountViewCall.html) +* [users](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.User.html) + * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.UserAddPublicKeyCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.UserGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.UserInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.UserListCall.html) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.UserRemovePublicKeyCall.html) @@ -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/1.0.10+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html)** +* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.Part.html)** + * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/enum.Result.html) 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/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160316/google_clouduseraccountsvm_beta/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html) 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/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) and -[decodable](https://docs.rs/google-clouduseraccountsvm_beta/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) and +[decodable](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.ResponseResult.html) 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/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-clouduseraccountsvm_beta/1.0.11+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) are 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/cmn.rs b/gen/clouduseraccountsvm_beta/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/clouduseraccountsvm_beta/src/cmn.rs +++ b/gen/clouduseraccountsvm_beta/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs b/gen/clouduseraccountsvm_beta/src/lib.rs index 11925a1784..fd1506f6df 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 *1.0.10+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud User Accounts* crate version *1.0.11+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -355,7 +355,7 @@ impl<'a, C, A> CloudUserAccounts CloudUserAccounts { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/clouduseraccounts/vm_beta/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -375,7 +375,7 @@ impl<'a, C, A> CloudUserAccounts } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/commentanalyzer1_alpha1-cli/Cargo.toml b/gen/commentanalyzer1_alpha1-cli/Cargo.toml index f635c2f3a7..f48cadd167 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 = "1.0.10+20190616" +version = "1.0.11+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with Comment Analyzer (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/commentanalyzer1_alpha1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-commentanalyzer1_alpha1] path = "../commentanalyzer1_alpha1" -version = "1.0.10+20190616" +version = "1.0.11+20190616" diff --git a/gen/commentanalyzer1_alpha1-cli/README.md b/gen/commentanalyzer1_alpha1-cli/README.md index 662cb5007e..8a06b699ec 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 *20190616*. The CLI is at version *1.0.10*. +This documentation was generated from the *Comment Analyzer* API at revision *20190616*. The CLI is at version *1.0.11*. ```bash commentanalyzer1-alpha1 [options] diff --git a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml index 9eba5be45b..886a54e19b 100644 --- a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml +++ b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Comment Analyzer v1.0.10+20190616 +site_name: Comment Analyzer v1.0.11+20190616 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 b526573d05..33df0061f7 100644 --- a/gen/commentanalyzer1_alpha1-cli/src/main.rs +++ b/gen/commentanalyzer1_alpha1-cli/src/main.rs @@ -391,7 +391,7 @@ fn main() { let mut app = App::new("commentanalyzer1-alpha1") .author("Sebastian Thiel ") - .version("1.0.10+20190616") + .version("1.0.11+20190616") .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 d1d020e5e4..8610876acb 100644 --- a/gen/commentanalyzer1_alpha1/Cargo.toml +++ b/gen/commentanalyzer1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-commentanalyzer1_alpha1" -version = "1.0.10+20190616" +version = "1.0.11+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with Comment Analyzer (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/commentanalyzer1_alpha1" homepage = "https://github.com/conversationai/perspectiveapi/blob/master/README.md" -documentation = "https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616" +documentation = "https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616" license = "MIT" keywords = ["commentanalyzer", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/commentanalyzer1_alpha1/README.md b/gen/commentanalyzer1_alpha1/README.md index 4a21bcdb6e..b14c5d6bc5 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 *1.0.10+20190616*, where *20190616* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Comment Analyzer* crate version *1.0.11+20190616*, where *20190616* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190616/google_commentanalyzer1_alpha1/struct.CommentAnalyzer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/struct.CommentAnalyzer.html) ... * comments - * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/struct.CommentAnalyzeCall.html) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/struct.CommentSuggestscoreCall.html) + * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/struct.CommentAnalyzeCall.html) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/struct.CommentSuggestscoreCall.html) @@ -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/1.0.10+20190616/google_commentanalyzer1_alpha1/struct.CommentAnalyzer.html)** +* **[Hub](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/struct.CommentAnalyzer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.Part.html)** + * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/enum.Result.html) 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/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190616/google_commentanalyzer1_alpha1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html) 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/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-commentanalyzer1_alpha1/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.ResponseResult.html) 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/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190616/google_commentanalyzer1_alpha1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-commentanalyzer1_alpha1/1.0.11+20190616/google_commentanalyzer1_alpha1/trait.RequestValue.html) are 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/cmn.rs b/gen/commentanalyzer1_alpha1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/commentanalyzer1_alpha1/src/cmn.rs +++ b/gen/commentanalyzer1_alpha1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/commentanalyzer1_alpha1/src/lib.rs b/gen/commentanalyzer1_alpha1/src/lib.rs index 71990cd9af..3b2b275099 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 *1.0.10+20190616*, where *20190616* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Comment Analyzer* crate version *1.0.11+20190616*, where *20190616* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -329,7 +329,7 @@ impl<'a, C, A> CommentAnalyzer CommentAnalyzer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://commentanalyzer.googleapis.com/".to_string(), _root_url: "https://commentanalyzer.googleapis.com/".to_string(), } @@ -340,7 +340,7 @@ impl<'a, C, A> CommentAnalyzer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/composer1-cli/Cargo.toml b/gen/composer1-cli/Cargo.toml index fcb39e3ecf..801f1191f4 100644 --- a/gen/composer1-cli/Cargo.toml +++ b/gen/composer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-composer1-cli" -version = "1.0.10+20190613" +version = "1.0.11+20190613" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Composer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/composer1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-composer1] path = "../composer1" -version = "1.0.10+20190613" +version = "1.0.11+20190613" diff --git a/gen/composer1-cli/README.md b/gen/composer1-cli/README.md index 6e069d78ca..fd55ebc11a 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 *20190613*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Composer* API at revision *20190613*. The CLI is at version *1.0.11*. ```bash composer1 [options] diff --git a/gen/composer1-cli/mkdocs.yml b/gen/composer1-cli/mkdocs.yml index 7d3be100ca..36af4842e3 100644 --- a/gen/composer1-cli/mkdocs.yml +++ b/gen/composer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Composer v1.0.10+20190613 +site_name: Cloud Composer v1.0.11+20190613 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 fda32be9e6..74a28c8743 100644 --- a/gen/composer1-cli/src/main.rs +++ b/gen/composer1-cli/src/main.rs @@ -1014,7 +1014,7 @@ fn main() { let mut app = App::new("composer1") .author("Sebastian Thiel ") - .version("1.0.10+20190613") + .version("1.0.11+20190613") .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 9e23e91664..fb043cf9ff 100644 --- a/gen/composer1/Cargo.toml +++ b/gen/composer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-composer1" -version = "1.0.10+20190613" +version = "1.0.11+20190613" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Composer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/composer1" homepage = "https://cloud.google.com/composer/" -documentation = "https://docs.rs/google-composer1/1.0.10+20190613" +documentation = "https://docs.rs/google-composer1/1.0.11+20190613" license = "MIT" keywords = ["composer", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/composer1/README.md b/gen/composer1/README.md index c355243a26..e39daf3859 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 *1.0.10+20190613*, where *20190613* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Composer* crate version *1.0.11+20190613*, where *20190613* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190613/google_composer1/struct.CloudComposer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.CloudComposer.html) ... * projects - * [*locations environments create*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationEnvironmentCreateCall.html), [*locations environments delete*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationEnvironmentDeleteCall.html), [*locations environments get*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationEnvironmentGetCall.html), [*locations environments list*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationEnvironmentListCall.html), [*locations environments patch*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationEnvironmentPatchCall.html), [*locations image versions list*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationImageVersionListCall.html), [*locations operations delete*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/struct.ProjectLocationOperationListCall.html) + * [*locations environments create*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationEnvironmentCreateCall.html), [*locations environments delete*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationEnvironmentDeleteCall.html), [*locations environments get*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationEnvironmentGetCall.html), [*locations environments list*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationEnvironmentListCall.html), [*locations environments patch*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationEnvironmentPatchCall.html), [*locations image versions list*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationImageVersionListCall.html), [*locations operations delete*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.ProjectLocationOperationListCall.html) @@ -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/1.0.10+20190613/google_composer1/struct.CloudComposer.html)** +* **[Hub](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/struct.CloudComposer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.Part.html)** + * **[Parts](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190613/google_composer1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-composer1/1.0.10+20190613/google_composer1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.CallBuilder.html) 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/1.0.11+20190613/google_composer1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190613/google_composer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-composer1/1.0.10+20190613/google_composer1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.ResponseResult.html) 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/1.0.10+20190613/google_composer1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190613/google_composer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190613/google_composer1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-composer1/1.0.11+20190613/google_composer1/trait.RequestValue.html) are 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/cmn.rs b/gen/composer1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/composer1/src/cmn.rs +++ b/gen/composer1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/composer1/src/lib.rs b/gen/composer1/src/lib.rs index d74836ee54..3d029795bf 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 *1.0.10+20190613*, where *20190613* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Composer* crate version *1.0.11+20190613*, where *20190613* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Composer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/composer/). @@ -334,7 +334,7 @@ impl<'a, C, A> CloudComposer CloudComposer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://composer.googleapis.com/".to_string(), _root_url: "https://composer.googleapis.com/".to_string(), } @@ -345,7 +345,7 @@ impl<'a, C, A> CloudComposer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/compute1-cli/Cargo.toml b/gen/compute1-cli/Cargo.toml index 57a279e174..c0f7f6aefe 100644 --- a/gen/compute1-cli/Cargo.toml +++ b/gen/compute1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-compute1-cli" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with compute (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/compute1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-compute1] path = "../compute1" -version = "1.0.10+20190618" +version = "1.0.11+20190618" diff --git a/gen/compute1-cli/README.md b/gen/compute1-cli/README.md index f26b0df9ed..4005f25338 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 *20190618*. The CLI is at version *1.0.10*. +This documentation was generated from the *compute* API at revision *20190618*. The CLI is at version *1.0.11*. ```bash compute1 [options] diff --git a/gen/compute1-cli/mkdocs.yml b/gen/compute1-cli/mkdocs.yml index f80d19eb3f..6a21d4910a 100644 --- a/gen/compute1-cli/mkdocs.yml +++ b/gen/compute1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: compute v1.0.10+20190618 +site_name: compute v1.0.11+20190618 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 8e27ba2623..6a978ef1a6 100644 --- a/gen/compute1-cli/src/main.rs +++ b/gen/compute1-cli/src/main.rs @@ -48319,7 +48319,7 @@ fn main() { let mut app = App::new("compute1") .author("Sebastian Thiel ") - .version("1.0.10+20190618") + .version("1.0.11+20190618") .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 b9af4c36d9..f37dee58ff 100644 --- a/gen/compute1/Cargo.toml +++ b/gen/compute1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-compute1" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with compute (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/compute1" homepage = "https://developers.google.com/compute/docs/reference/latest/" -documentation = "https://docs.rs/google-compute1/1.0.10+20190618" +documentation = "https://docs.rs/google-compute1/1.0.11+20190618" license = "MIT" keywords = ["compute", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/compute1/README.md b/gen/compute1/README.md index ff314d2896..d27fed1c0d 100644 --- a/gen/compute1/README.md +++ b/gen/compute1/README.md @@ -5,136 +5,136 @@ 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *compute* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *compute* *v1* API can be found at the [official documentation site](https://developers.google.com/compute/docs/reference/latest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Compute.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Compute.html) ... -* [accelerator types](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AcceleratorType.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AcceleratorTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AcceleratorTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AcceleratorTypeListCall.html) +* [accelerator types](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AcceleratorType.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AcceleratorTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AcceleratorTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AcceleratorTypeListCall.html) * addresses - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AddresseAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AddresseDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AddresseGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AddresseInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AddresseListCall.html) -* [autoscalers](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Autoscaler.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.AutoscalerUpdateCall.html) -* [backend buckets](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucket.html) - * [*add signed url key*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketAddSignedUrlKeyCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketDeleteCall.html), [*delete signed url key*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketDeleteSignedUrlKeyCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendBucketUpdateCall.html) -* [backend services](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendService.html) - * [*add signed url key*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceAddSignedUrlKeyCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceDeleteCall.html), [*delete signed url key*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceDeleteSignedUrlKeyCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceGetCall.html), [*get health*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceGetHealthCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServicePatchCall.html), [*set security policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceSetSecurityPolicyCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.BackendServiceUpdateCall.html) -* [disk types](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskType.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskTypeListCall.html) -* [disks](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Disk.html) - * [*add resource policies*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskAddResourcePolicyCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskAggregatedListCall.html), [*create snapshot*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskCreateSnapshotCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskListCall.html), [*remove resource policies*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskRemoveResourcePolicyCall.html), [*resize*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskResizeCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.DiskTestIamPermissionCall.html) -* [firewalls](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Firewall.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.FirewallDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.FirewallGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.FirewallInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.FirewallListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.FirewallPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.FirewallUpdateCall.html) -* [forwarding rules](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRule.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRuleAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRuleDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRuleGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRuleInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRuleListCall.html) and [*set target*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ForwardingRuleSetTargetCall.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AddresseAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AddresseDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AddresseGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AddresseInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AddresseListCall.html) +* [autoscalers](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Autoscaler.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.AutoscalerUpdateCall.html) +* [backend buckets](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucket.html) + * [*add signed url key*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketAddSignedUrlKeyCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketDeleteCall.html), [*delete signed url key*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketDeleteSignedUrlKeyCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendBucketUpdateCall.html) +* [backend services](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendService.html) + * [*add signed url key*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceAddSignedUrlKeyCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceDeleteCall.html), [*delete signed url key*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceDeleteSignedUrlKeyCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceGetCall.html), [*get health*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceGetHealthCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServicePatchCall.html), [*set security policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceSetSecurityPolicyCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.BackendServiceUpdateCall.html) +* [disk types](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskType.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskTypeListCall.html) +* [disks](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Disk.html) + * [*add resource policies*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskAddResourcePolicyCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskAggregatedListCall.html), [*create snapshot*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskCreateSnapshotCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskListCall.html), [*remove resource policies*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskRemoveResourcePolicyCall.html), [*resize*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskResizeCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.DiskTestIamPermissionCall.html) +* [firewalls](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Firewall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.FirewallDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.FirewallGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.FirewallInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.FirewallListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.FirewallPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.FirewallUpdateCall.html) +* [forwarding rules](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRule.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRuleAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRuleDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRuleGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRuleInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRuleListCall.html) and [*set target*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ForwardingRuleSetTargetCall.html) * global addresses - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalAddresseDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalAddresseGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalAddresseInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalAddresseListCall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalAddresseDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalAddresseGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalAddresseInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalAddresseListCall.html) * global forwarding rules - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalForwardingRuleDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalForwardingRuleGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalForwardingRuleInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalForwardingRuleListCall.html) and [*set target*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalForwardingRuleSetTargetCall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalForwardingRuleDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalForwardingRuleGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalForwardingRuleInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalForwardingRuleListCall.html) and [*set target*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalForwardingRuleSetTargetCall.html) * global operations - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalOperationAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalOperationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalOperationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.GlobalOperationListCall.html) -* [health checks](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheck.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheckDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheckGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheckInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheckListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheckPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HealthCheckUpdateCall.html) -* [http health checks](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheck.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheckDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheckGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheckInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheckListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheckPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpHealthCheckUpdateCall.html) -* [https health checks](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheck.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheckDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheckGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheckInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheckListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheckPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.HttpsHealthCheckUpdateCall.html) -* [images](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Image.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageDeleteCall.html), [*deprecate*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageDeprecateCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageGetCall.html), [*get from family*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageGetFromFamilyCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ImageTestIamPermissionCall.html) -* [instance group managers](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManager.html) - * [*abandon instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerAbandonInstanceCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerListCall.html), [*list managed instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerListManagedInstanceCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerPatchCall.html), [*recreate instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupManagerSetTargetPoolCall.html) -* [instance groups](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroup.html) - * [*add instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupAddInstanceCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupListCall.html), [*list instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupListInstanceCall.html), [*remove instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupRemoveInstanceCall.html) and [*set named ports*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGroupSetNamedPortCall.html) -* [instance templates](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplate.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTemplateTestIamPermissionCall.html) -* [instances](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Instance.html) - * [*add access config*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceAddAccessConfigCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceAggregatedListCall.html), [*attach disk*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceAttachDiskCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceDeleteCall.html), [*delete access config*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceDeleteAccessConfigCall.html), [*detach disk*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceDetachDiskCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGetCall.html), [*get guest attributes*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGetGuestAttributeCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGetIamPolicyCall.html), [*get serial port output*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGetSerialPortOutputCall.html), [*get shielded instance identity*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceGetShieldedInstanceIdentityCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceListCall.html), [*list referrers*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceListReferrerCall.html), [*reset*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceResetCall.html), [*set deletion protection*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetDeletionProtectionCall.html), [*set disk auto delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetDiskAutoDeleteCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetLabelCall.html), [*set machine resources*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetMachineResourceCall.html), [*set machine type*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetMachineTypeCall.html), [*set metadata*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetMetadataCall.html), [*set min cpu platform*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetMinCpuPlatformCall.html), [*set scheduling*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetSchedulingCall.html), [*set service account*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetServiceAccountCall.html), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetShieldedInstanceIntegrityPolicyCall.html), [*set tags*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSetTagCall.html), [*simulate maintenance event*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceSimulateMaintenanceEventCall.html), [*start*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceStartCall.html), [*start with encryption key*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceStartWithEncryptionKeyCall.html), [*stop*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceStopCall.html), [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceTestIamPermissionCall.html), [*update access config*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceUpdateAccessConfigCall.html), [*update network interface*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceUpdateNetworkInterfaceCall.html) and [*update shielded instance config*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InstanceUpdateShieldedInstanceConfigCall.html) -* [interconnect attachments](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachment.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachmentAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachmentDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachmentGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachmentInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachmentListCall.html) and [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectAttachmentPatchCall.html) -* [interconnect locations](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectLocation.html) - * [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectLocationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectLocationListCall.html) -* [interconnects](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Interconnect.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectGetCall.html), [*get diagnostics*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectGetDiagnosticCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectListCall.html) and [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.InterconnectPatchCall.html) -* [license codes](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseCode.html) - * [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseCodeGetCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseCodeTestIamPermissionCall.html) -* [licenses](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.License.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.LicenseTestIamPermissionCall.html) -* [machine types](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.MachineType.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.MachineTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.MachineTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.MachineTypeListCall.html) -* [network endpoint groups](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroup.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupAggregatedListCall.html), [*attach network endpoints*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupAttachNetworkEndpointCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupDeleteCall.html), [*detach network endpoints*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupDetachNetworkEndpointCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupListCall.html), [*list network endpoints*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupListNetworkEndpointCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkEndpointGroupTestIamPermissionCall.html) -* [networks](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Network.html) - * [*add peering*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkAddPeeringCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkPatchCall.html), [*remove peering*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkRemovePeeringCall.html) and [*switch to custom mode*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NetworkSwitchToCustomModeCall.html) -* [node groups](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroup.html) - * [*add nodes*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupAddNodeCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupDeleteCall.html), [*delete nodes*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupDeleteNodeCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupListCall.html), [*list nodes*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupListNodeCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupSetIamPolicyCall.html), [*set node template*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupSetNodeTemplateCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeGroupTestIamPermissionCall.html) -* [node templates](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplate.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTemplateTestIamPermissionCall.html) -* [node types](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeType.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.NodeTypeListCall.html) -* [projects](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Project.html) - * [*disable xpn host*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectDisableXpnHostCall.html), [*disable xpn resource*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectDisableXpnResourceCall.html), [*enable xpn host*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectEnableXpnHostCall.html), [*enable xpn resource*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectEnableXpnResourceCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectGetCall.html), [*get xpn host*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectGetXpnHostCall.html), [*get xpn resources*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectGetXpnResourceCall.html), [*list xpn hosts*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectListXpnHostCall.html), [*move disk*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectMoveDiskCall.html), [*move instance*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectMoveInstanceCall.html), [*set common instance metadata*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectSetCommonInstanceMetadataCall.html), [*set default network tier*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectSetDefaultNetworkTierCall.html) and [*set usage export bucket*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ProjectSetUsageExportBucketCall.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalOperationAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalOperationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalOperationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.GlobalOperationListCall.html) +* [health checks](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheck.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheckDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheckGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheckInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheckListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheckPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HealthCheckUpdateCall.html) +* [http health checks](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheck.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheckDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheckGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheckInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheckListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheckPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpHealthCheckUpdateCall.html) +* [https health checks](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheck.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheckDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheckGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheckInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheckListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheckPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.HttpsHealthCheckUpdateCall.html) +* [images](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Image.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageDeleteCall.html), [*deprecate*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageDeprecateCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageGetCall.html), [*get from family*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageGetFromFamilyCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ImageTestIamPermissionCall.html) +* [instance group managers](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManager.html) + * [*abandon instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerAbandonInstanceCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerListCall.html), [*list managed instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerListManagedInstanceCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerPatchCall.html), [*recreate instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupManagerSetTargetPoolCall.html) +* [instance groups](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroup.html) + * [*add instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupAddInstanceCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupListCall.html), [*list instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupListInstanceCall.html), [*remove instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupRemoveInstanceCall.html) and [*set named ports*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGroupSetNamedPortCall.html) +* [instance templates](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplate.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTemplateTestIamPermissionCall.html) +* [instances](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Instance.html) + * [*add access config*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceAddAccessConfigCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceAggregatedListCall.html), [*attach disk*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceAttachDiskCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceDeleteCall.html), [*delete access config*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceDeleteAccessConfigCall.html), [*detach disk*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceDetachDiskCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGetCall.html), [*get guest attributes*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGetGuestAttributeCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGetIamPolicyCall.html), [*get serial port output*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGetSerialPortOutputCall.html), [*get shielded instance identity*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceGetShieldedInstanceIdentityCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceListCall.html), [*list referrers*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceListReferrerCall.html), [*reset*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceResetCall.html), [*set deletion protection*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetDeletionProtectionCall.html), [*set disk auto delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetDiskAutoDeleteCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetLabelCall.html), [*set machine resources*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetMachineResourceCall.html), [*set machine type*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetMachineTypeCall.html), [*set metadata*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetMetadataCall.html), [*set min cpu platform*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetMinCpuPlatformCall.html), [*set scheduling*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetSchedulingCall.html), [*set service account*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetServiceAccountCall.html), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetShieldedInstanceIntegrityPolicyCall.html), [*set tags*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSetTagCall.html), [*simulate maintenance event*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceSimulateMaintenanceEventCall.html), [*start*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceStartCall.html), [*start with encryption key*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceStartWithEncryptionKeyCall.html), [*stop*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceStopCall.html), [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceTestIamPermissionCall.html), [*update access config*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceUpdateAccessConfigCall.html), [*update network interface*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceUpdateNetworkInterfaceCall.html) and [*update shielded instance config*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InstanceUpdateShieldedInstanceConfigCall.html) +* [interconnect attachments](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachment.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachmentAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachmentDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachmentGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachmentInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachmentListCall.html) and [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectAttachmentPatchCall.html) +* [interconnect locations](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectLocation.html) + * [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectLocationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectLocationListCall.html) +* [interconnects](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Interconnect.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectGetCall.html), [*get diagnostics*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectGetDiagnosticCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectListCall.html) and [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.InterconnectPatchCall.html) +* [license codes](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseCode.html) + * [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseCodeGetCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseCodeTestIamPermissionCall.html) +* [licenses](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.License.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.LicenseTestIamPermissionCall.html) +* [machine types](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.MachineType.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.MachineTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.MachineTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.MachineTypeListCall.html) +* [network endpoint groups](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroup.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupAggregatedListCall.html), [*attach network endpoints*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupAttachNetworkEndpointCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupDeleteCall.html), [*detach network endpoints*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupDetachNetworkEndpointCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupListCall.html), [*list network endpoints*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupListNetworkEndpointCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkEndpointGroupTestIamPermissionCall.html) +* [networks](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Network.html) + * [*add peering*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkAddPeeringCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkPatchCall.html), [*remove peering*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkRemovePeeringCall.html) and [*switch to custom mode*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NetworkSwitchToCustomModeCall.html) +* [node groups](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroup.html) + * [*add nodes*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupAddNodeCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupDeleteCall.html), [*delete nodes*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupDeleteNodeCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupListCall.html), [*list nodes*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupListNodeCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupSetIamPolicyCall.html), [*set node template*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupSetNodeTemplateCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeGroupTestIamPermissionCall.html) +* [node templates](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplate.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTemplateTestIamPermissionCall.html) +* [node types](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeType.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTypeAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.NodeTypeListCall.html) +* [projects](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Project.html) + * [*disable xpn host*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectDisableXpnHostCall.html), [*disable xpn resource*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectDisableXpnResourceCall.html), [*enable xpn host*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectEnableXpnHostCall.html), [*enable xpn resource*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectEnableXpnResourceCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectGetCall.html), [*get xpn host*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectGetXpnHostCall.html), [*get xpn resources*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectGetXpnResourceCall.html), [*list xpn hosts*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectListXpnHostCall.html), [*move disk*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectMoveDiskCall.html), [*move instance*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectMoveInstanceCall.html), [*set common instance metadata*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectSetCommonInstanceMetadataCall.html), [*set default network tier*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectSetDefaultNetworkTierCall.html) and [*set usage export bucket*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ProjectSetUsageExportBucketCall.html) * region autoscalers - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionAutoscalerDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionAutoscalerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionAutoscalerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionAutoscalerListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionAutoscalerPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionAutoscalerUpdateCall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionAutoscalerDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionAutoscalerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionAutoscalerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionAutoscalerListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionAutoscalerPatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionAutoscalerUpdateCall.html) * region backend services - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServiceDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServiceGetCall.html), [*get health*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServiceGetHealthCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServiceInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServiceListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServicePatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionBackendServiceUpdateCall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServiceDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServiceGetCall.html), [*get health*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServiceGetHealthCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServiceInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServiceListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServicePatchCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionBackendServiceUpdateCall.html) * region commitments - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionCommitmentAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionCommitmentGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionCommitmentInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionCommitmentListCall.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionCommitmentAggregatedListCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionCommitmentGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionCommitmentInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionCommitmentListCall.html) * region disk types - * [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskTypeListCall.html) + * [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskTypeGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskTypeListCall.html) * region disks - * [*add resource policies*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskAddResourcePolicyCall.html), [*create snapshot*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskCreateSnapshotCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskListCall.html), [*remove resource policies*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskRemoveResourcePolicyCall.html), [*resize*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskResizeCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionDiskTestIamPermissionCall.html) + * [*add resource policies*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskAddResourcePolicyCall.html), [*create snapshot*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskCreateSnapshotCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskListCall.html), [*remove resource policies*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskRemoveResourcePolicyCall.html), [*resize*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskResizeCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionDiskTestIamPermissionCall.html) * region instance group managers - * [*abandon instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerAbandonInstanceCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerListCall.html), [*list managed instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerListManagedInstanceCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerPatchCall.html), [*recreate instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupManagerSetTargetPoolCall.html) + * [*abandon instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerAbandonInstanceCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerListCall.html), [*list managed instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerListManagedInstanceCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerPatchCall.html), [*recreate instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupManagerSetTargetPoolCall.html) * region instance groups - * [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupGetCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupListCall.html), [*list instances*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupListInstanceCall.html) and [*set named ports*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionInstanceGroupSetNamedPortCall.html) + * [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupGetCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupListCall.html), [*list instances*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupListInstanceCall.html) and [*set named ports*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionInstanceGroupSetNamedPortCall.html) * region operations - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionOperationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionOperationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionOperationListCall.html) -* [regions](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Region.html) - * [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RegionListCall.html) -* [reservations](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Reservation.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationListCall.html), [*resize*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationResizeCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ReservationTestIamPermissionCall.html) -* [resource policies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicy.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicySetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ResourcePolicyTestIamPermissionCall.html) -* [routers](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Router.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterGetCall.html), [*get nat mapping info*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterGetNatMappingInfoCall.html), [*get router status*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterGetRouterStatuCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterPatchCall.html), [*preview*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterPreviewCall.html) and [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouterUpdateCall.html) -* [routes](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Route.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouteDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouteGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouteInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.RouteListCall.html) -* [security policies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicy.html) - * [*add rule*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyAddRuleCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyGetCall.html), [*get rule*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyGetRuleCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyPatchCall.html), [*patch rule*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyPatchRuleCall.html) and [*remove rule*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SecurityPolicyRemoveRuleCall.html) -* [snapshots](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Snapshot.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotGetIamPolicyCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SnapshotTestIamPermissionCall.html) -* [ssl certificates](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslCertificate.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslCertificateDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslCertificateGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslCertificateInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslCertificateListCall.html) -* [ssl policies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicy.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicyListCall.html), [*list available features*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicyListAvailableFeatureCall.html) and [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SslPolicyPatchCall.html) -* [subnetworks](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Subnetwork.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkDeleteCall.html), [*expand ip cidr range*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkExpandIpCidrRangeCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkListCall.html), [*list usable*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkListUsableCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkPatchCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkSetIamPolicyCall.html), [*set private ip google access*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkSetPrivateIpGoogleAccesCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.SubnetworkTestIamPermissionCall.html) -* [target http proxies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpProxy.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpProxyListCall.html) and [*set url map*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpProxySetUrlMapCall.html) -* [target https proxies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxy.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxyListCall.html), [*set quic override*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxySetQuicOverrideCall.html), [*set ssl certificates*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxySetSslCertificateCall.html), [*set ssl policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxySetSslPolicyCall.html) and [*set url map*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetHttpsProxySetUrlMapCall.html) -* [target instances](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetInstance.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetInstanceAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetInstanceDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetInstanceGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetInstanceInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetInstanceListCall.html) -* [target pools](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPool.html) - * [*add health check*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolAddHealthCheckCall.html), [*add instance*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolAddInstanceCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolGetCall.html), [*get health*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolGetHealthCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolListCall.html), [*remove health check*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolRemoveHealthCheckCall.html), [*remove instance*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolRemoveInstanceCall.html) and [*set backup*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetPoolSetBackupCall.html) -* [target ssl proxies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxy.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxyListCall.html), [*set backend service*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxySetBackendServiceCall.html), [*set proxy header*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxySetProxyHeaderCall.html), [*set ssl certificates*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxySetSslCertificateCall.html) and [*set ssl policy*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetSslProxySetSslPolicyCall.html) -* [target tcp proxies](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxy.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxyListCall.html), [*set backend service*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxySetBackendServiceCall.html) and [*set proxy header*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetTcpProxySetProxyHeaderCall.html) -* [target vpn gateways](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetVpnGateway.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetVpnGatewayAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetVpnGatewayDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetVpnGatewayGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetVpnGatewayInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.TargetVpnGatewayListCall.html) -* [url maps](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMap.html) - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapInsertCall.html), [*invalidate cache*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapInvalidateCacheCall.html), [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapPatchCall.html), [*update*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapUpdateCall.html) and [*validate*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.UrlMapValidateCall.html) -* [vpn tunnels](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.VpnTunnel.html) - * [*aggregated list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.VpnTunnelAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.VpnTunnelDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.VpnTunnelGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.VpnTunnelInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.VpnTunnelListCall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionOperationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionOperationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionOperationListCall.html) +* [regions](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Region.html) + * [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RegionListCall.html) +* [reservations](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Reservation.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationListCall.html), [*resize*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationResizeCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ReservationTestIamPermissionCall.html) +* [resource policies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicy.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicySetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ResourcePolicyTestIamPermissionCall.html) +* [routers](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Router.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterGetCall.html), [*get nat mapping info*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterGetNatMappingInfoCall.html), [*get router status*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterGetRouterStatuCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterPatchCall.html), [*preview*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterPreviewCall.html) and [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouterUpdateCall.html) +* [routes](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Route.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouteDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouteGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouteInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.RouteListCall.html) +* [security policies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicy.html) + * [*add rule*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyAddRuleCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyGetCall.html), [*get rule*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyGetRuleCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyPatchCall.html), [*patch rule*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyPatchRuleCall.html) and [*remove rule*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SecurityPolicyRemoveRuleCall.html) +* [snapshots](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Snapshot.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotGetIamPolicyCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotListCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotSetIamPolicyCall.html), [*set labels*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotSetLabelCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SnapshotTestIamPermissionCall.html) +* [ssl certificates](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslCertificate.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslCertificateDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslCertificateGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslCertificateInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslCertificateListCall.html) +* [ssl policies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicy.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicyListCall.html), [*list available features*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicyListAvailableFeatureCall.html) and [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SslPolicyPatchCall.html) +* [subnetworks](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Subnetwork.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkDeleteCall.html), [*expand ip cidr range*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkExpandIpCidrRangeCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkGetCall.html), [*get iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkGetIamPolicyCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkListCall.html), [*list usable*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkListUsableCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkPatchCall.html), [*set iam policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkSetIamPolicyCall.html), [*set private ip google access*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkSetPrivateIpGoogleAccesCall.html) and [*test iam permissions*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.SubnetworkTestIamPermissionCall.html) +* [target http proxies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpProxy.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpProxyListCall.html) and [*set url map*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpProxySetUrlMapCall.html) +* [target https proxies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxy.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxyListCall.html), [*set quic override*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxySetQuicOverrideCall.html), [*set ssl certificates*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxySetSslCertificateCall.html), [*set ssl policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxySetSslPolicyCall.html) and [*set url map*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetHttpsProxySetUrlMapCall.html) +* [target instances](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetInstance.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetInstanceAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetInstanceDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetInstanceGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetInstanceInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetInstanceListCall.html) +* [target pools](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPool.html) + * [*add health check*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolAddHealthCheckCall.html), [*add instance*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolAddInstanceCall.html), [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolGetCall.html), [*get health*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolGetHealthCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolListCall.html), [*remove health check*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolRemoveHealthCheckCall.html), [*remove instance*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolRemoveInstanceCall.html) and [*set backup*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetPoolSetBackupCall.html) +* [target ssl proxies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxy.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxyListCall.html), [*set backend service*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxySetBackendServiceCall.html), [*set proxy header*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxySetProxyHeaderCall.html), [*set ssl certificates*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxySetSslCertificateCall.html) and [*set ssl policy*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetSslProxySetSslPolicyCall.html) +* [target tcp proxies](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxy.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxyDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxyGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxyInsertCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxyListCall.html), [*set backend service*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxySetBackendServiceCall.html) and [*set proxy header*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetTcpProxySetProxyHeaderCall.html) +* [target vpn gateways](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetVpnGateway.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetVpnGatewayAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetVpnGatewayDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetVpnGatewayGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetVpnGatewayInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.TargetVpnGatewayListCall.html) +* [url maps](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMap.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapInsertCall.html), [*invalidate cache*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapInvalidateCacheCall.html), [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapListCall.html), [*patch*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapPatchCall.html), [*update*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapUpdateCall.html) and [*validate*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.UrlMapValidateCall.html) +* [vpn tunnels](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.VpnTunnel.html) + * [*aggregated list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.VpnTunnelAggregatedListCall.html), [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.VpnTunnelDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.VpnTunnelGetCall.html), [*insert*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.VpnTunnelInsertCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.VpnTunnelListCall.html) * zone operations - * [*delete*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ZoneOperationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ZoneOperationListCall.html) -* [zones](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.Zone.html) - * [*get*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ZoneGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/struct.ZoneListCall.html) + * [*delete*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ZoneOperationDeleteCall.html), [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ZoneOperationListCall.html) +* [zones](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Zone.html) + * [*get*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ZoneGetCall.html) and [*list*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.ZoneListCall.html) @@ -143,17 +143,17 @@ Handle the following *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/1.0.10+20190618/google_compute1/struct.Compute.html)** +* **[Hub](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/struct.Compute.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.Part.html)** + * **[Parts](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -468,17 +468,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190618/google_compute1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -488,29 +488,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190618/google_compute1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.CallBuilder.html) 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/1.0.11+20190618/google_compute1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190618/google_compute1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-compute1/1.0.10+20190618/google_compute1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.ResponseResult.html) 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/1.0.10+20190618/google_compute1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190618/google_compute1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190618/google_compute1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-compute1/1.0.11+20190618/google_compute1/trait.RequestValue.html) are 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/cmn.rs b/gen/compute1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/compute1/src/cmn.rs +++ b/gen/compute1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/compute1/src/lib.rs b/gen/compute1/src/lib.rs index 0fcf57be30..8406380cc8 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *compute* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *compute* *v1* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/reference/latest/). @@ -682,7 +682,7 @@ impl<'a, C, A> Compute Compute { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/compute/v1/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -873,7 +873,7 @@ impl<'a, C, A> Compute } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/consumersurveys2-cli/Cargo.toml b/gen/consumersurveys2-cli/Cargo.toml index a39342dfac..f68bd8044e 100644 --- a/gen/consumersurveys2-cli/Cargo.toml +++ b/gen/consumersurveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-consumersurveys2-cli" -version = "1.0.10+20170407" +version = "1.0.11+20170407" authors = ["Sebastian Thiel "] description = "A complete library to interact with Consumer Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/consumersurveys2-cli" @@ -26,16 +26,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-consumersurveys2] path = "../consumersurveys2" -version = "1.0.10+20170407" +version = "1.0.11+20170407" diff --git a/gen/consumersurveys2-cli/README.md b/gen/consumersurveys2-cli/README.md index 391f976d89..04d3709ea9 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 *1.0.10*. +This documentation was generated from the *Consumer Surveys* API at revision *20170407*. The CLI is at version *1.0.11*. ```bash consumersurveys2 [options] diff --git a/gen/consumersurveys2-cli/mkdocs.yml b/gen/consumersurveys2-cli/mkdocs.yml index 27ede0efe7..2f99e5a3a4 100644 --- a/gen/consumersurveys2-cli/mkdocs.yml +++ b/gen/consumersurveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Consumer Surveys v1.0.10+20170407 +site_name: Consumer Surveys v1.0.11+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 cd816b5d7c..05672c9b8c 100644 --- a/gen/consumersurveys2-cli/src/main.rs +++ b/gen/consumersurveys2-cli/src/main.rs @@ -1266,7 +1266,7 @@ fn main() { let mut app = App::new("consumersurveys2") .author("Sebastian Thiel ") - .version("1.0.10+20170407") + .version("1.0.11+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 5cb254855d..726e9da4b0 100644 --- a/gen/consumersurveys2/Cargo.toml +++ b/gen/consumersurveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-consumersurveys2" -version = "1.0.10+20170407" +version = "1.0.11+20170407" authors = ["Sebastian Thiel "] description = "A complete library to interact with Consumer Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/consumersurveys2" -documentation = "https://docs.rs/google-consumersurveys2/1.0.10+20170407" +documentation = "https://docs.rs/google-consumersurveys2/1.0.11+20170407" license = "MIT" keywords = ["consumersurveys", "google", "protocol", "web", "api"] autobins = false @@ -23,9 +23,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/consumersurveys2/README.md b/gen/consumersurveys2/README.md index e2720d79ea..97d0861db1 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 *1.0.10+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Consumer Surveys* crate version *1.0.11+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.ConsumerSurveys.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.ConsumerSurveys.html) ... * mobileapppanels - * [*get*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.MobileapppanelGetCall.html), [*list*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.MobileapppanelListCall.html) and [*update*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.MobileapppanelUpdateCall.html) + * [*get*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.MobileapppanelGetCall.html), [*list*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.MobileapppanelListCall.html) and [*update*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.MobileapppanelUpdateCall.html) * results - * [*get*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.ResultGetCall.html) -* [surveys](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.Survey.html) - * [*delete*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyDeleteCall.html), [*get*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyGetCall.html), [*insert*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyInsertCall.html), [*list*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyListCall.html), [*start*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyStartCall.html), [*stop*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyStopCall.html) and [*update*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.SurveyUpdateCall.html) + * [*get*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.ResultGetCall.html) +* [surveys](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.Survey.html) + * [*delete*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyDeleteCall.html), [*get*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyGetCall.html), [*insert*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyInsertCall.html), [*list*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyListCall.html), [*start*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyStartCall.html), [*stop*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyStopCall.html) and [*update*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.SurveyUpdateCall.html) Download supported by ... -* [*get results*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.ResultGetCall.html) +* [*get results*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.ResultGetCall.html) @@ -28,17 +28,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/struct.ConsumerSurveys.html)** +* **[Hub](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/struct.ConsumerSurveys.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.Part.html)** + * **[Parts](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170407/google_consumersurveys2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.CallBuilder.html) 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/1.0.11+20170407/google_consumersurveys2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170407/google_consumersurveys2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-consumersurveys2/1.0.10+20170407/google_consumersurveys2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.ResponseResult.html) 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/1.0.10+20170407/google_consumersurveys2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170407/google_consumersurveys2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170407/google_consumersurveys2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-consumersurveys2/1.0.11+20170407/google_consumersurveys2/trait.RequestValue.html) are 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/cmn.rs b/gen/consumersurveys2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/consumersurveys2/src/cmn.rs +++ b/gen/consumersurveys2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/consumersurveys2/src/lib.rs b/gen/consumersurveys2/src/lib.rs index 0adf887c83..5af090334a 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 *1.0.10+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Consumer Surveys* crate version *1.0.11+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/consumersurveys2). //! # Features //! @@ -342,7 +342,7 @@ impl<'a, C, A> ConsumerSurveys ConsumerSurveys { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/consumersurveys/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -359,7 +359,7 @@ impl<'a, C, A> ConsumerSurveys } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/container1-cli/Cargo.toml b/gen/container1-cli/Cargo.toml index b262737a35..9a07ee6237 100644 --- a/gen/container1-cli/Cargo.toml +++ b/gen/container1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-container1-cli" -version = "1.0.10+20190610" +version = "1.0.11+20190610" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/container1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-container1] path = "../container1" -version = "1.0.10+20190610" +version = "1.0.11+20190610" diff --git a/gen/container1-cli/README.md b/gen/container1-cli/README.md index b7db91439a..b7be205547 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 *20190610*. The CLI is at version *1.0.10*. +This documentation was generated from the *Container* API at revision *20190610*. The CLI is at version *1.0.11*. ```bash container1 [options] diff --git a/gen/container1-cli/mkdocs.yml b/gen/container1-cli/mkdocs.yml index 81947f48a0..03637daeec 100644 --- a/gen/container1-cli/mkdocs.yml +++ b/gen/container1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container v1.0.10+20190610 +site_name: Container v1.0.11+20190610 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 5b895fb291..c5ced4eaca 100644 --- a/gen/container1-cli/src/main.rs +++ b/gen/container1-cli/src/main.rs @@ -7875,7 +7875,7 @@ fn main() { let mut app = App::new("container1") .author("Sebastian Thiel ") - .version("1.0.10+20190610") + .version("1.0.11+20190610") .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 60d44887d6..0facfd1ffa 100644 --- a/gen/container1/Cargo.toml +++ b/gen/container1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-container1" -version = "1.0.10+20190610" +version = "1.0.11+20190610" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/container1" homepage = "https://cloud.google.com/container-engine/" -documentation = "https://docs.rs/google-container1/1.0.10+20190610" +documentation = "https://docs.rs/google-container1/1.0.11+20190610" license = "MIT" keywords = ["container", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/container1/README.md b/gen/container1/README.md index 2de0d1d467..fe43ad73f5 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 *1.0.10+20190610*, where *20190610* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Container* crate version *1.0.11+20190610*, where *20190610* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190610/google_container1/struct.Container.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.Container.html) ... * projects - * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectAggregatedUsableSubnetworkListCall.html), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterCompleteIpRotationCall.html), [*locations clusters create*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterCreateCall.html), [*locations clusters delete*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterDeleteCall.html), [*locations clusters get*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterGetCall.html), [*locations clusters get jwks*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterGetJwkCall.html), [*locations clusters list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterListCall.html), [*locations clusters node pools create*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolCreateCall.html), [*locations clusters node pools delete*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolDeleteCall.html), [*locations clusters node pools get*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolGetCall.html), [*locations clusters node pools list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolListCall.html), [*locations clusters node pools rollback*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolRollbackCall.html), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolSetAutoscalingCall.html), [*locations clusters node pools set management*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolSetManagementCall.html), [*locations clusters node pools set size*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolSetSizeCall.html), [*locations clusters node pools update*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterNodePoolUpdateCall.html), [*locations clusters set addons*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetAddonCall.html), [*locations clusters set legacy abac*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetLegacyAbacCall.html), [*locations clusters set locations*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetLocationCall.html), [*locations clusters set logging*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetLoggingCall.html), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetMaintenancePolicyCall.html), [*locations clusters set master auth*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetMasterAuthCall.html), [*locations clusters set monitoring*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetMonitoringCall.html), [*locations clusters set network policy*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetNetworkPolicyCall.html), [*locations clusters set resource labels*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterSetResourceLabelCall.html), [*locations clusters start ip rotation*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterStartIpRotationCall.html), [*locations clusters update*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterUpdateCall.html), [*locations clusters update master*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterUpdateMasterCall.html), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationClusterWellKnownGetOpenidConfigurationCall.html), [*locations get server config*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationGetServerConfigCall.html), [*locations operations cancel*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationOperationCancelCall.html), [*locations operations get*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationOperationGetCall.html), [*locations operations list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectLocationOperationListCall.html), [*zones clusters addons*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterAddonCall.html), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterCompleteIpRotationCall.html), [*zones clusters create*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterCreateCall.html), [*zones clusters delete*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterDeleteCall.html), [*zones clusters get*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterGetCall.html), [*zones clusters legacy abac*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterLegacyAbacCall.html), [*zones clusters list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterListCall.html), [*zones clusters locations*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterLocationCall.html), [*zones clusters logging*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterLoggingCall.html), [*zones clusters master*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterMasterCall.html), [*zones clusters monitoring*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterMonitoringCall.html), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolAutoscalingCall.html), [*zones clusters node pools create*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolCreateCall.html), [*zones clusters node pools delete*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolDeleteCall.html), [*zones clusters node pools get*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolGetCall.html), [*zones clusters node pools list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolListCall.html), [*zones clusters node pools rollback*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolRollbackCall.html), [*zones clusters node pools set management*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolSetManagementCall.html), [*zones clusters node pools set size*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolSetSizeCall.html), [*zones clusters node pools update*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterNodePoolUpdateCall.html), [*zones clusters resource labels*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterResourceLabelCall.html), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterSetMaintenancePolicyCall.html), [*zones clusters set master auth*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterSetMasterAuthCall.html), [*zones clusters set network policy*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterSetNetworkPolicyCall.html), [*zones clusters start ip rotation*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterStartIpRotationCall.html), [*zones clusters update*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneClusterUpdateCall.html), [*zones get serverconfig*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneGetServerconfigCall.html), [*zones operations cancel*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneOperationCancelCall.html), [*zones operations get*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneOperationGetCall.html) and [*zones operations list*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/struct.ProjectZoneOperationListCall.html) + * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectAggregatedUsableSubnetworkListCall.html), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterCompleteIpRotationCall.html), [*locations clusters create*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterCreateCall.html), [*locations clusters delete*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterDeleteCall.html), [*locations clusters get*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterGetCall.html), [*locations clusters get jwks*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterGetJwkCall.html), [*locations clusters list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterListCall.html), [*locations clusters node pools create*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolCreateCall.html), [*locations clusters node pools delete*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolDeleteCall.html), [*locations clusters node pools get*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolGetCall.html), [*locations clusters node pools list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolListCall.html), [*locations clusters node pools rollback*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolRollbackCall.html), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolSetAutoscalingCall.html), [*locations clusters node pools set management*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolSetManagementCall.html), [*locations clusters node pools set size*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolSetSizeCall.html), [*locations clusters node pools update*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterNodePoolUpdateCall.html), [*locations clusters set addons*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetAddonCall.html), [*locations clusters set legacy abac*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetLegacyAbacCall.html), [*locations clusters set locations*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetLocationCall.html), [*locations clusters set logging*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetLoggingCall.html), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetMaintenancePolicyCall.html), [*locations clusters set master auth*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetMasterAuthCall.html), [*locations clusters set monitoring*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetMonitoringCall.html), [*locations clusters set network policy*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetNetworkPolicyCall.html), [*locations clusters set resource labels*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterSetResourceLabelCall.html), [*locations clusters start ip rotation*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterStartIpRotationCall.html), [*locations clusters update*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterUpdateCall.html), [*locations clusters update master*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterUpdateMasterCall.html), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationClusterWellKnownGetOpenidConfigurationCall.html), [*locations get server config*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationGetServerConfigCall.html), [*locations operations cancel*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationOperationCancelCall.html), [*locations operations get*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationOperationGetCall.html), [*locations operations list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectLocationOperationListCall.html), [*zones clusters addons*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterAddonCall.html), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterCompleteIpRotationCall.html), [*zones clusters create*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterCreateCall.html), [*zones clusters delete*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterDeleteCall.html), [*zones clusters get*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterGetCall.html), [*zones clusters legacy abac*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterLegacyAbacCall.html), [*zones clusters list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterListCall.html), [*zones clusters locations*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterLocationCall.html), [*zones clusters logging*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterLoggingCall.html), [*zones clusters master*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterMasterCall.html), [*zones clusters monitoring*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterMonitoringCall.html), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolAutoscalingCall.html), [*zones clusters node pools create*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolCreateCall.html), [*zones clusters node pools delete*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolDeleteCall.html), [*zones clusters node pools get*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolGetCall.html), [*zones clusters node pools list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolListCall.html), [*zones clusters node pools rollback*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolRollbackCall.html), [*zones clusters node pools set management*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolSetManagementCall.html), [*zones clusters node pools set size*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolSetSizeCall.html), [*zones clusters node pools update*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterNodePoolUpdateCall.html), [*zones clusters resource labels*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterResourceLabelCall.html), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterSetMaintenancePolicyCall.html), [*zones clusters set master auth*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterSetMasterAuthCall.html), [*zones clusters set network policy*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterSetNetworkPolicyCall.html), [*zones clusters start ip rotation*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterStartIpRotationCall.html), [*zones clusters update*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneClusterUpdateCall.html), [*zones get serverconfig*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneGetServerconfigCall.html), [*zones operations cancel*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneOperationCancelCall.html), [*zones operations get*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneOperationGetCall.html) and [*zones operations list*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.ProjectZoneOperationListCall.html) @@ -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/1.0.10+20190610/google_container1/struct.Container.html)** +* **[Hub](https://docs.rs/google-container1/1.0.11+20190610/google_container1/struct.Container.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.Part.html)** + * **[Parts](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/1.0.10+20190610/google_container1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/1.0.11+20190610/google_container1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190610/google_container1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-container1/1.0.11+20190610/google_container1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-container1/1.0.10+20190610/google_container1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.CallBuilder.html) 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/1.0.11+20190610/google_container1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190610/google_container1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-container1/1.0.10+20190610/google_container1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.ResponseResult.html) 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/1.0.10+20190610/google_container1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190610/google_container1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190610/google_container1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-container1/1.0.11+20190610/google_container1/trait.RequestValue.html) are 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/cmn.rs b/gen/container1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/container1/src/cmn.rs +++ b/gen/container1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs index 691a5b7374..0299b09157 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 *1.0.10+20190610*, where *20190610* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Container* crate version *1.0.11+20190610*, where *20190610* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Container* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-engine/). @@ -374,7 +374,7 @@ impl<'a, C, A> Container Container { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://container.googleapis.com/".to_string(), _root_url: "https://container.googleapis.com/".to_string(), } @@ -385,7 +385,7 @@ impl<'a, C, A> Container } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/containeranalysis1_beta1-cli/Cargo.toml b/gen/containeranalysis1_beta1-cli/Cargo.toml index df40a55258..b35b3dc253 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 = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/containeranalysis1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-containeranalysis1_beta1] path = "../containeranalysis1_beta1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/containeranalysis1_beta1-cli/README.md b/gen/containeranalysis1_beta1-cli/README.md index ecd4f94e65..88fdb672b6 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *Container Analysis* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash containeranalysis1-beta1 [options] diff --git a/gen/containeranalysis1_beta1-cli/mkdocs.yml b/gen/containeranalysis1_beta1-cli/mkdocs.yml index 1795a74e68..188d9b52b9 100644 --- a/gen/containeranalysis1_beta1-cli/mkdocs.yml +++ b/gen/containeranalysis1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container Analysis v1.0.10+20190625 +site_name: Container Analysis v1.0.11+20190625 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 34d495cfe2..1077e68ec9 100644 --- a/gen/containeranalysis1_beta1-cli/src/main.rs +++ b/gen/containeranalysis1_beta1-cli/src/main.rs @@ -2829,7 +2829,7 @@ fn main() { let mut app = App::new("containeranalysis1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .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 b8a954bcc1..92637eaf58 100644 --- a/gen/containeranalysis1_beta1/Cargo.toml +++ b/gen/containeranalysis1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-containeranalysis1_beta1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/containeranalysis1_beta1" homepage = "https://cloud.google.com/container-analysis/api/reference/rest/" -documentation = "https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625" +documentation = "https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625" license = "MIT" keywords = ["containeranalysis", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/containeranalysis1_beta1/README.md b/gen/containeranalysis1_beta1/README.md index c66f47aeb9..ebe22ae015 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Container Analysis* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190625/google_containeranalysis1_beta1/struct.ContainerAnalysis.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ContainerAnalysis.html) ... * projects - * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteBatchCreateCall.html), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteCreateCall.html), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteDeleteCall.html), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteGetCall.html), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteGetIamPolicyCall.html), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteListCall.html), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteOccurrenceListCall.html), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNotePatchCall.html), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteSetIamPolicyCall.html), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectNoteTestIamPermissionCall.html), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceBatchCreateCall.html), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceCreateCall.html), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceDeleteCall.html), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetCall.html), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetIamPolicyCall.html), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetNoteCall.html), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetVulnerabilitySummaryCall.html), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceListCall.html), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrencePatchCall.html), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceSetIamPolicyCall.html), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceTestIamPermissionCall.html), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectScanConfigGetCall.html), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectScanConfigListCall.html) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/struct.ProjectScanConfigUpdateCall.html) + * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteBatchCreateCall.html), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteCreateCall.html), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteDeleteCall.html), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteGetCall.html), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteGetIamPolicyCall.html), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteListCall.html), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteOccurrenceListCall.html), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNotePatchCall.html), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteSetIamPolicyCall.html), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectNoteTestIamPermissionCall.html), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceBatchCreateCall.html), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceCreateCall.html), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceDeleteCall.html), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetCall.html), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetIamPolicyCall.html), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetNoteCall.html), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceGetVulnerabilitySummaryCall.html), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceListCall.html), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrencePatchCall.html), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceSetIamPolicyCall.html), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectOccurrenceTestIamPermissionCall.html), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectScanConfigGetCall.html), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectScanConfigListCall.html) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ProjectScanConfigUpdateCall.html) @@ -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/1.0.10+20190625/google_containeranalysis1_beta1/struct.ContainerAnalysis.html)** +* **[Hub](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/struct.ContainerAnalysis.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/enum.Result.html) 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/1.0.10+20190625/google_containeranalysis1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_containeranalysis1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html) 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/1.0.11+20190625/google_containeranalysis1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_containeranalysis1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-containeranalysis1_beta1/1.0.10+20190625/google_containeranalysis1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.ResponseResult.html) 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/1.0.10+20190625/google_containeranalysis1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_containeranalysis1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-containeranalysis1_beta1/1.0.11+20190625/google_containeranalysis1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/containeranalysis1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/containeranalysis1_beta1/src/cmn.rs +++ b/gen/containeranalysis1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/containeranalysis1_beta1/src/lib.rs b/gen/containeranalysis1_beta1/src/lib.rs index a804bab13e..b61ef9ae1b 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Container Analysis* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -334,7 +334,7 @@ impl<'a, C, A> ContainerAnalysis ContainerAnalysis { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://containeranalysis.googleapis.com/".to_string(), _root_url: "https://containeranalysis.googleapis.com/".to_string(), } @@ -345,7 +345,7 @@ impl<'a, C, A> ContainerAnalysis } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/content2-cli/Cargo.toml b/gen/content2-cli/Cargo.toml index 027b305616..640d7871d6 100644 --- a/gen/content2-cli/Cargo.toml +++ b/gen/content2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-content2] path = "../content2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/content2-cli/README.md b/gen/content2-cli/README.md index 23f901e716..1ce1a649b5 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Shopping Content* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash content2 [options] diff --git a/gen/content2-cli/mkdocs.yml b/gen/content2-cli/mkdocs.yml index 19785ff78b..4c2d016f67 100644 --- a/gen/content2-cli/mkdocs.yml +++ b/gen/content2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v1.0.10+20190702 +site_name: Shopping Content v1.0.11+20190702 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 fb3581be35..f1c11ffdec 100644 --- a/gen/content2-cli/src/main.rs +++ b/gen/content2-cli/src/main.rs @@ -10688,7 +10688,7 @@ fn main() { let mut app = App::new("content2") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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_cli") .arg(Arg::with_name("url") diff --git a/gen/content2/Cargo.toml b/gen/content2/Cargo.toml index 179bd60b7c..70a63b282f 100644 --- a/gen/content2/Cargo.toml +++ b/gen/content2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2" homepage = "https://developers.google.com/shopping-content" -documentation = "https://docs.rs/google-content2/1.0.10+20190702" +documentation = "https://docs.rs/google-content2/1.0.11+20190702" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/content2/README.md b/gen/content2/README.md index f24834bcd0..73836f0901 100644 --- a/gen/content2/README.md +++ b/gen/content2/README.md @@ -5,46 +5,46 @@ 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Shopping Content* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Shopping Content* *v2* 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/1.0.10+20190702/google_content2/struct.ShoppingContent.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShoppingContent.html) ... -* [accounts](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.Account.html) - * [*authinfo*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountAuthinfoCall.html), [*claimwebsite*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountClaimwebsiteCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountInsertCall.html), [*link*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountLinkCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountUpdateCall.html) +* [accounts](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.Account.html) + * [*authinfo*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountAuthinfoCall.html), [*claimwebsite*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountClaimwebsiteCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountInsertCall.html), [*link*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountLinkCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountUpdateCall.html) * accountstatuses - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccountstatuseListCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccountstatuseListCall.html) * accounttax - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccounttaxCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccounttaxGetCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccounttaxListCall.html), [*patch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccounttaxPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.AccounttaxUpdateCall.html) -* [datafeeds](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.Datafeed.html) - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedDeleteCall.html), [*fetchnow*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedFetchnowCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedListCall.html), [*patch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedUpdateCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccounttaxCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccounttaxGetCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccounttaxListCall.html), [*patch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccounttaxPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.AccounttaxUpdateCall.html) +* [datafeeds](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.Datafeed.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedDeleteCall.html), [*fetchnow*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedFetchnowCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedListCall.html), [*patch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedUpdateCall.html) * datafeedstatuses - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.DatafeedstatuseListCall.html) -* [inventory](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.Inventory.html) - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.InventoryCustombatchCall.html) and [*set*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.InventorySetCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.DatafeedstatuseListCall.html) +* [inventory](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.Inventory.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.InventoryCustombatchCall.html) and [*set*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.InventorySetCall.html) * liasettings - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingGetCall.html), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingGetaccessiblegmbaccountCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingListCall.html), [*listposdataproviders*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingListposdataproviderCall.html), [*patch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingPatchCall.html), [*requestgmbaccess*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingRequestgmbaccesCall.html), [*requestinventoryverification*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingRequestinventoryverificationCall.html), [*setinventoryverificationcontact*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingSetinventoryverificationcontactCall.html), [*setposdataprovider*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingSetposdataproviderCall.html) and [*update*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.LiasettingUpdateCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingGetCall.html), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingGetaccessiblegmbaccountCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingListCall.html), [*listposdataproviders*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingListposdataproviderCall.html), [*patch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingPatchCall.html), [*requestgmbaccess*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingRequestgmbaccesCall.html), [*requestinventoryverification*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingRequestinventoryverificationCall.html), [*setinventoryverificationcontact*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingSetinventoryverificationcontactCall.html), [*setposdataprovider*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingSetposdataproviderCall.html) and [*update*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.LiasettingUpdateCall.html) * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderinvoiceCreatechargeinvoiceCall.html) and [*createrefundinvoice*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderinvoiceCreaterefundinvoiceCall.html) + * [*createchargeinvoice*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderinvoiceCreatechargeinvoiceCall.html) and [*createrefundinvoice*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderinvoiceCreaterefundinvoiceCall.html) * orderpayments - * [*notifyauthapproved*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderpaymentNotifyauthapprovedCall.html), [*notifyauthdeclined*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderpaymentNotifyauthdeclinedCall.html), [*notifycharge*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderpaymentNotifychargeCall.html) and [*notifyrefund*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderpaymentNotifyrefundCall.html) + * [*notifyauthapproved*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderpaymentNotifyauthapprovedCall.html), [*notifyauthdeclined*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderpaymentNotifyauthdeclinedCall.html), [*notifycharge*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderpaymentNotifychargeCall.html) and [*notifyrefund*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderpaymentNotifyrefundCall.html) * orderreports - * [*listdisbursements*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderreportListdisbursementCall.html) and [*listtransactions*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderreportListtransactionCall.html) + * [*listdisbursements*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderreportListdisbursementCall.html) and [*listtransactions*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderreportListtransactionCall.html) * orderreturns - * [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderreturnGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderreturnListCall.html) -* [orders](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.Order.html) - * [*acknowledge*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderCancellineitemCall.html), [*canceltestorderbycustomer*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderCanceltestorderbycustomerCall.html), [*createtestorder*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderCreatetestorderCall.html), [*createtestreturn*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderCreatetestreturnCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderGettestordertemplateCall.html), [*instorerefundlineitem*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderInstorerefundlineitemCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderRefundCall.html), [*rejectreturnlineitem*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderRejectreturnlineitemCall.html), [*returnlineitem*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderReturnlineitemCall.html), [*returnrefundlineitem*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderReturnrefundlineitemCall.html), [*setlineitemmetadata*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderSetlineitemmetadataCall.html), [*shiplineitems*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderShiplineitemCall.html), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderUpdatelineitemshippingdetailCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.OrderUpdateshipmentCall.html) + * [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderreturnGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderreturnListCall.html) +* [orders](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.Order.html) + * [*acknowledge*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderCancellineitemCall.html), [*canceltestorderbycustomer*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderCanceltestorderbycustomerCall.html), [*createtestorder*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderCreatetestorderCall.html), [*createtestreturn*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderCreatetestreturnCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderGettestordertemplateCall.html), [*instorerefundlineitem*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderInstorerefundlineitemCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderRefundCall.html), [*rejectreturnlineitem*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderRejectreturnlineitemCall.html), [*returnlineitem*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderReturnlineitemCall.html), [*returnrefundlineitem*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderReturnrefundlineitemCall.html), [*setlineitemmetadata*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderSetlineitemmetadataCall.html), [*shiplineitems*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderShiplineitemCall.html), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderUpdatelineitemshippingdetailCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.OrderUpdateshipmentCall.html) * pos - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoInsertCall.html), [*inventory*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoInventoryCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoListCall.html) and [*sale*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.PoSaleCall.html) -* [products](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.Product.html) - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductInsertCall.html) and [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductListCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoInsertCall.html), [*inventory*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoInventoryCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoListCall.html) and [*sale*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.PoSaleCall.html) +* [products](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.Product.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductInsertCall.html) and [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductListCall.html) * productstatuses - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ProductstatuseListCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ProductstatuseListCall.html) * shippingsettings - * [*custombatch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingGetCall.html), [*getsupportedcarriers*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingGetsupportedcarrierCall.html), [*getsupportedholidays*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingGetsupportedholidayCall.html), [*list*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/struct.ShippingsettingUpdateCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingGetCall.html), [*getsupportedcarriers*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingGetsupportedcarrierCall.html), [*getsupportedholidays*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingGetsupportedholidayCall.html), [*list*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShippingsettingUpdateCall.html) @@ -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-content2/1.0.10+20190702/google_content2/struct.ShoppingContent.html)** +* **[Hub](https://docs.rs/google-content2/1.0.11+20190702/google_content2/struct.ShoppingContent.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.Part.html)** + * **[Parts](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -182,17 +182,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/1.0.10+20190702/google_content2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/1.0.11+20190702/google_content2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_content2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/1.0.11+20190702/google_content2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -202,29 +202,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190702/google_content2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.CallBuilder.html) 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/1.0.11+20190702/google_content2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_content2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-content2/1.0.10+20190702/google_content2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.ResponseResult.html) 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/1.0.10+20190702/google_content2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_content2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_content2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-content2/1.0.11+20190702/google_content2/trait.RequestValue.html) are 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/cmn.rs b/gen/content2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/content2/src/cmn.rs +++ b/gen/content2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs index 64791dc648..26f7c004ed 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Shopping Content* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Shopping Content* *v2* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). @@ -382,7 +382,7 @@ impl<'a, C, A> ShoppingContent ShoppingContent { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/content/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -438,7 +438,7 @@ impl<'a, C, A> ShoppingContent } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/content2_sandbox-cli/Cargo.toml b/gen/content2_sandbox-cli/Cargo.toml index 3d888e9580..0d2785a4e5 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 = "1.0.10+20181009" +version = "1.0.11+20181009" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2_sandbox-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-content2_sandbox] path = "../content2_sandbox" -version = "1.0.10+20181009" +version = "1.0.11+20181009" diff --git a/gen/content2_sandbox-cli/README.md b/gen/content2_sandbox-cli/README.md index b8a8ad327c..bc92dab4b7 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 *1.0.10*. +This documentation was generated from the *Shopping Content* API at revision *20181009*. The CLI is at version *1.0.11*. ```bash content2-sandbox [options] diff --git a/gen/content2_sandbox-cli/mkdocs.yml b/gen/content2_sandbox-cli/mkdocs.yml index 580a7ef691..d39caffe91 100644 --- a/gen/content2_sandbox-cli/mkdocs.yml +++ b/gen/content2_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v1.0.10+20181009 +site_name: Shopping Content v1.0.11+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 785d63e961..739c4e744b 100644 --- a/gen/content2_sandbox-cli/src/main.rs +++ b/gen/content2_sandbox-cli/src/main.rs @@ -3693,7 +3693,7 @@ fn main() { let mut app = App::new("content2-sandbox") .author("Sebastian Thiel ") - .version("1.0.10+20181009") + .version("1.0.11+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 380b15ff15..f89d95fc49 100644 --- a/gen/content2_sandbox/Cargo.toml +++ b/gen/content2_sandbox/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2_sandbox" -version = "1.0.10+20181009" +version = "1.0.11+20181009" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2_sandbox" homepage = "https://developers.google.com/shopping-content" -documentation = "https://docs.rs/google-content2_sandbox/1.0.10+20181009" +documentation = "https://docs.rs/google-content2_sandbox/1.0.11+20181009" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/content2_sandbox/README.md b/gen/content2_sandbox/README.md index a954c85793..25d3fb86bd 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 *1.0.10+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Shopping Content* crate version *1.0.11+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20181009/google_content2_sandbox/struct.ShoppingContent.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.ShoppingContent.html) ... * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderinvoiceCreatechargeinvoiceCall.html) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderinvoiceCreaterefundinvoiceCall.html) + * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderinvoiceCreatechargeinvoiceCall.html) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderinvoiceCreaterefundinvoiceCall.html) * orderpayments - * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderpaymentNotifyauthapprovedCall.html), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderpaymentNotifyauthdeclinedCall.html), [*notifycharge*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderpaymentNotifychargeCall.html) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderpaymentNotifyrefundCall.html) + * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderpaymentNotifyauthapprovedCall.html), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderpaymentNotifyauthdeclinedCall.html), [*notifycharge*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderpaymentNotifychargeCall.html) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderpaymentNotifyrefundCall.html) * orderreturns - * [*get*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderreturnGetCall.html) and [*list*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderreturnListCall.html) -* [orders](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.Order.html) - * [*acknowledge*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderCancellineitemCall.html), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderCanceltestorderbycustomerCall.html), [*createtestorder*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderCreatetestorderCall.html), [*createtestreturn*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderCreatetestreturnCall.html), [*custombatch*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderGettestordertemplateCall.html), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderInstorerefundlineitemCall.html), [*list*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderRefundCall.html), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderRejectreturnlineitemCall.html), [*returnlineitem*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderReturnlineitemCall.html), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderReturnrefundlineitemCall.html), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderSetlineitemmetadataCall.html), [*shiplineitems*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderShiplineitemCall.html), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderUpdatelineitemshippingdetailCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/struct.OrderUpdateshipmentCall.html) + * [*get*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderreturnGetCall.html) and [*list*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderreturnListCall.html) +* [orders](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.Order.html) + * [*acknowledge*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderCancellineitemCall.html), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderCanceltestorderbycustomerCall.html), [*createtestorder*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderCreatetestorderCall.html), [*createtestreturn*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderCreatetestreturnCall.html), [*custombatch*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderGettestordertemplateCall.html), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderInstorerefundlineitemCall.html), [*list*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderRefundCall.html), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderRejectreturnlineitemCall.html), [*returnlineitem*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderReturnlineitemCall.html), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderReturnrefundlineitemCall.html), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderSetlineitemmetadataCall.html), [*shiplineitems*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderShiplineitemCall.html), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderUpdatelineitemshippingdetailCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.OrderUpdateshipmentCall.html) @@ -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/1.0.10+20181009/google_content2_sandbox/struct.ShoppingContent.html)** +* **[Hub](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/struct.ShoppingContent.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.Part.html)** + * **[Parts](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -158,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/enum.Result.html) 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/1.0.10+20181009/google_content2_sandbox/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181009/google_content2_sandbox/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.CallBuilder.html) 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/1.0.11+20181009/google_content2_sandbox/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181009/google_content2_sandbox/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.RequestValue.html) and -[decodable](https://docs.rs/google-content2_sandbox/1.0.10+20181009/google_content2_sandbox/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.RequestValue.html) and +[decodable](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.ResponseResult.html) 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/1.0.10+20181009/google_content2_sandbox/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181009/google_content2_sandbox/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181009/google_content2_sandbox/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-content2_sandbox/1.0.11+20181009/google_content2_sandbox/trait.RequestValue.html) are 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/cmn.rs b/gen/content2_sandbox/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/content2_sandbox/src/cmn.rs +++ b/gen/content2_sandbox/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs index 17e398e8fb..6ded554732 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 *1.0.10+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Shopping Content* crate version *1.0.11+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Shopping Content* *v2_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). @@ -358,7 +358,7 @@ impl<'a, C, A> ShoppingContent ShoppingContent { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/content/v2sandbox/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -378,7 +378,7 @@ impl<'a, C, A> ShoppingContent } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/coordinate1-cli/Cargo.toml b/gen/coordinate1-cli/Cargo.toml index 6a907a0c3e..aee6c81510 100644 --- a/gen/coordinate1-cli/Cargo.toml +++ b/gen/coordinate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-coordinate1-cli" -version = "1.0.10+20150811" +version = "1.0.11+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/coordinate1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-coordinate1] path = "../coordinate1" -version = "1.0.10+20150811" +version = "1.0.11+20150811" diff --git a/gen/coordinate1-cli/README.md b/gen/coordinate1-cli/README.md index 4ed8e0c95a..b42310bb21 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 *1.0.10*. +This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *1.0.11*. ```bash coordinate1 [options] diff --git a/gen/coordinate1-cli/mkdocs.yml b/gen/coordinate1-cli/mkdocs.yml index daccdf58b8..e8f1802cb5 100644 --- a/gen/coordinate1-cli/mkdocs.yml +++ b/gen/coordinate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: coordinate v1.0.10+20150811 +site_name: coordinate v1.0.11+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 b1c3ad60f8..0da9fe8e39 100644 --- a/gen/coordinate1-cli/src/main.rs +++ b/gen/coordinate1-cli/src/main.rs @@ -1571,7 +1571,7 @@ fn main() { let mut app = App::new("coordinate1") .author("Sebastian Thiel ") - .version("1.0.10+20150811") + .version("1.0.11+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 03dc1cdaec..dbb6b4e1ea 100644 --- a/gen/coordinate1/Cargo.toml +++ b/gen/coordinate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-coordinate1" -version = "1.0.10+20150811" +version = "1.0.11+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/coordinate1" homepage = "https://developers.google.com/coordinate/" -documentation = "https://docs.rs/google-coordinate1/1.0.10+20150811" +documentation = "https://docs.rs/google-coordinate1/1.0.11+20150811" license = "MIT" keywords = ["coordinate", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/coordinate1/README.md b/gen/coordinate1/README.md index e8da7a01b8..fdd0891ffb 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 *1.0.10+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *coordinate* crate version *1.0.11+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20150811/google_coordinate1/struct.Coordinate.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Coordinate.html) ... -* [custom field def](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.CustomFieldDef.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.CustomFieldDefListCall.html) -* [jobs](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.Job.html) - * [*get*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.JobGetCall.html), [*insert*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.JobInsertCall.html), [*list*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.JobListCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.JobPatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.JobUpdateCall.html) -* [location](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.Location.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.LocationListCall.html) -* [schedule](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.Schedule.html) - * [*get*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.ScheduleGetCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.SchedulePatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.ScheduleUpdateCall.html) -* [team](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.Team.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.TeamListCall.html) -* [worker](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.Worker.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/struct.WorkerListCall.html) +* [custom field def](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.CustomFieldDef.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.CustomFieldDefListCall.html) +* [jobs](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Job.html) + * [*get*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.JobGetCall.html), [*insert*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.JobInsertCall.html), [*list*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.JobListCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.JobPatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.JobUpdateCall.html) +* [location](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Location.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.LocationListCall.html) +* [schedule](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Schedule.html) + * [*get*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.ScheduleGetCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.SchedulePatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.ScheduleUpdateCall.html) +* [team](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Team.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.TeamListCall.html) +* [worker](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Worker.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.WorkerListCall.html) @@ -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/1.0.10+20150811/google_coordinate1/struct.Coordinate.html)** +* **[Hub](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/struct.Coordinate.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.Part.html)** + * **[Parts](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -154,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20150811/google_coordinate1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-coordinate1/1.0.10+20150811/google_coordinate1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.CallBuilder.html) 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/1.0.11+20150811/google_coordinate1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20150811/google_coordinate1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-coordinate1/1.0.10+20150811/google_coordinate1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.ResponseResult.html) 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/1.0.10+20150811/google_coordinate1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20150811/google_coordinate1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20150811/google_coordinate1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-coordinate1/1.0.11+20150811/google_coordinate1/trait.RequestValue.html) are 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/cmn.rs b/gen/coordinate1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/coordinate1/src/cmn.rs +++ b/gen/coordinate1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/coordinate1/src/lib.rs b/gen/coordinate1/src/lib.rs index 44e1dec533..8d4879cc6b 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 *1.0.10+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *coordinate* crate version *1.0.11+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *coordinate* *v1* API can be found at the //! [official documentation site](https://developers.google.com/coordinate/). @@ -367,7 +367,7 @@ impl<'a, C, A> Coordinate Coordinate { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/coordinate/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -393,7 +393,7 @@ impl<'a, C, A> Coordinate } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/customsearch1-cli/Cargo.toml b/gen/customsearch1-cli/Cargo.toml index 2a23174425..056a5847c4 100644 --- a/gen/customsearch1-cli/Cargo.toml +++ b/gen/customsearch1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-customsearch1-cli" -version = "1.0.10+20181001" +version = "1.0.11+20181001" authors = ["Sebastian Thiel "] description = "A complete library to interact with customsearch (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/customsearch1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-customsearch1] path = "../customsearch1" -version = "1.0.10+20181001" +version = "1.0.11+20181001" diff --git a/gen/customsearch1-cli/README.md b/gen/customsearch1-cli/README.md index 18a0479be3..6daf23ef62 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 at revision *20181001*. The CLI is at version *1.0.10*. +This documentation was generated from the *customsearch* API at revision *20181001*. The CLI is at version *1.0.11*. ```bash customsearch1 [options] diff --git a/gen/customsearch1-cli/mkdocs.yml b/gen/customsearch1-cli/mkdocs.yml index 4858dc48bb..eade86c270 100644 --- a/gen/customsearch1-cli/mkdocs.yml +++ b/gen/customsearch1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: customsearch v1.0.10+20181001 +site_name: customsearch v1.0.11+20181001 site_url: http://byron.github.io/google-apis-rs/google-customsearch1-cli site_description: A complete library to interact with customsearch (protocol v1) diff --git a/gen/customsearch1-cli/src/main.rs b/gen/customsearch1-cli/src/main.rs index ecf29f8971..1046e96af6 100644 --- a/gen/customsearch1-cli/src/main.rs +++ b/gen/customsearch1-cli/src/main.rs @@ -478,7 +478,7 @@ fn main() { let mut app = App::new("customsearch1") .author("Sebastian Thiel ") - .version("1.0.10+20181001") + .version("1.0.11+20181001") .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 f9d32433f9..d31fe6eff4 100644 --- a/gen/customsearch1/Cargo.toml +++ b/gen/customsearch1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-customsearch1" -version = "1.0.10+20181001" +version = "1.0.11+20181001" authors = ["Sebastian Thiel "] description = "A complete library to interact with customsearch (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/customsearch1" homepage = "https://developers.google.com/custom-search/v1/using_rest" -documentation = "https://docs.rs/google-customsearch1/1.0.10+20181001" +documentation = "https://docs.rs/google-customsearch1/1.0.11+20181001" license = "MIT" keywords = ["customsearch", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/customsearch1/README.md b/gen/customsearch1/README.md index 1e071bd493..f9948267da 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* service. -This documentation was generated from *customsearch* crate version *1.0.10+20181001*, where *20181001* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *customsearch* crate version *1.0.11+20181001*, where *20181001* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *customsearch* *v1* API can be found at the [official documentation site](https://developers.google.com/custom-search/v1/using_rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/struct.Customsearch.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/struct.Customsearch.html) ... * cse - * [*list*](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/struct.CseListCall.html) and [*siterestrict list*](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/struct.CseSiterestrictListCall.html) + * [*list*](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/struct.CseListCall.html) and [*siterestrict list*](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/struct.CseSiterestrictListCall.html) @@ -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/1.0.10+20181001/google_customsearch1/struct.Customsearch.html)** +* **[Hub](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/struct.Customsearch.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.Part.html)** + * **[Parts](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -155,17 +155,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181001/google_customsearch1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -175,29 +175,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20181001/google_customsearch1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.CallBuilder.html) 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/1.0.11+20181001/google_customsearch1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181001/google_customsearch1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-customsearch1/1.0.10+20181001/google_customsearch1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.ResponseResult.html) 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/1.0.10+20181001/google_customsearch1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181001/google_customsearch1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181001/google_customsearch1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-customsearch1/1.0.11+20181001/google_customsearch1/trait.RequestValue.html) are 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/cmn.rs b/gen/customsearch1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/customsearch1/src/cmn.rs +++ b/gen/customsearch1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/customsearch1/src/lib.rs b/gen/customsearch1/src/lib.rs index 92bf0bc289..36e0c1a25c 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* crate version *1.0.10+20181001*, where *20181001* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *customsearch* crate version *1.0.11+20181001*, where *20181001* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *customsearch* *v1* API can be found at the //! [official documentation site](https://developers.google.com/custom-search/v1/using_rest). @@ -356,7 +356,7 @@ impl<'a, C, A> Customsearch Customsearch { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/customsearch/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -367,7 +367,7 @@ impl<'a, C, A> Customsearch } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datafusion1_beta1-cli/Cargo.toml b/gen/datafusion1_beta1-cli/Cargo.toml index 36d1ee68e9..6a201f87a8 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 = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/datafusion1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-datafusion1_beta1] path = "../datafusion1_beta1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" diff --git a/gen/datafusion1_beta1-cli/README.md b/gen/datafusion1_beta1-cli/README.md index 63eb3f8e5f..bcb589b03a 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 *20190617*. The CLI is at version *1.0.10*. +This documentation was generated from the *Data Fusion* API at revision *20190617*. The CLI is at version *1.0.11*. ```bash datafusion1-beta1 [options] diff --git a/gen/datafusion1_beta1-cli/mkdocs.yml b/gen/datafusion1_beta1-cli/mkdocs.yml index 770363cf8a..0529a1c894 100644 --- a/gen/datafusion1_beta1-cli/mkdocs.yml +++ b/gen/datafusion1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Fusion v1.0.10+20190617 +site_name: Data Fusion v1.0.11+20190617 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 58dc825578..4061773469 100644 --- a/gen/datafusion1_beta1-cli/src/main.rs +++ b/gen/datafusion1_beta1-cli/src/main.rs @@ -1781,7 +1781,7 @@ fn main() { let mut app = App::new("datafusion1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190617") + .version("1.0.11+20190617") .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 diff --git a/gen/datafusion1_beta1/Cargo.toml b/gen/datafusion1_beta1/Cargo.toml index 66b7f70bb1..776772a577 100644 --- a/gen/datafusion1_beta1/Cargo.toml +++ b/gen/datafusion1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datafusion1_beta1" -version = "1.0.10+20190617" +version = "1.0.11+20190617" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/datafusion1_beta1" homepage = "https://cloud.google.com/data-fusion/docs" -documentation = "https://docs.rs/google-datafusion1_beta1/1.0.10+20190617" +documentation = "https://docs.rs/google-datafusion1_beta1/1.0.11+20190617" license = "MIT" keywords = ["datafusion", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/datafusion1_beta1/README.md b/gen/datafusion1_beta1/README.md index 2098594241..c3870e5d8f 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Data Fusion* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190617/google_datafusion1_beta1/struct.DataFusion.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.DataFusion.html) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceGetCall.html), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceGetIamPolicyCall.html), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstancePatchCall.html), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceRestartCall.html), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceSetIamPolicyCall.html), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceTestIamPermissionCall.html), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceUpgradeCall.html), [*locations list*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationListCall.html) + * [*locations get*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceGetCall.html), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceGetIamPolicyCall.html), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstancePatchCall.html), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceRestartCall.html), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceSetIamPolicyCall.html), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceTestIamPermissionCall.html), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationInstanceUpgradeCall.html), [*locations list*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.ProjectLocationOperationListCall.html) @@ -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/1.0.10+20190617/google_datafusion1_beta1/struct.DataFusion.html)** +* **[Hub](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/struct.DataFusion.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/enum.Result.html) 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/1.0.10+20190617/google_datafusion1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190617/google_datafusion1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.CallBuilder.html) 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/1.0.11+20190617/google_datafusion1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190617/google_datafusion1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-datafusion1_beta1/1.0.10+20190617/google_datafusion1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.ResponseResult.html) 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/1.0.10+20190617/google_datafusion1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190617/google_datafusion1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190617/google_datafusion1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-datafusion1_beta1/1.0.11+20190617/google_datafusion1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/datafusion1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/datafusion1_beta1/src/cmn.rs +++ b/gen/datafusion1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/datafusion1_beta1/src/lib.rs b/gen/datafusion1_beta1/src/lib.rs index 3105a56531..e93b3159a9 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 *1.0.10+20190617*, where *20190617* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Data Fusion* crate version *1.0.11+20190617*, where *20190617* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Data Fusion* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). @@ -336,7 +336,7 @@ impl<'a, C, A> DataFusion DataFusion { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://datafusion.googleapis.com/".to_string(), _root_url: "https://datafusion.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> DataFusion } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dataproc1-cli/Cargo.toml b/gen/dataproc1-cli/Cargo.toml index e145dd7b3e..0a7ec2c84a 100644 --- a/gen/dataproc1-cli/Cargo.toml +++ b/gen/dataproc1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dataproc1-cli" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dataproc1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dataproc1] path = "../dataproc1" -version = "1.0.10+20190620" +version = "1.0.11+20190620" diff --git a/gen/dataproc1-cli/README.md b/gen/dataproc1-cli/README.md index 5ad99811d1..d6ec6e3c2b 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 *20190620*. The CLI is at version *1.0.10*. +This documentation was generated from the *Dataproc* API at revision *20190620*. The CLI is at version *1.0.11*. ```bash dataproc1 [options] diff --git a/gen/dataproc1-cli/mkdocs.yml b/gen/dataproc1-cli/mkdocs.yml index b920bde7e0..78b4aa7c7e 100644 --- a/gen/dataproc1-cli/mkdocs.yml +++ b/gen/dataproc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dataproc v1.0.10+20190620 +site_name: Dataproc v1.0.11+20190620 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 12d3be7e19..7e72fdd007 100644 --- a/gen/dataproc1-cli/src/main.rs +++ b/gen/dataproc1-cli/src/main.rs @@ -6303,7 +6303,7 @@ fn main() { let mut app = App::new("dataproc1") .author("Sebastian Thiel ") - .version("1.0.10+20190620") + .version("1.0.11+20190620") .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 8ab26a3d63..84c5b91b67 100644 --- a/gen/dataproc1/Cargo.toml +++ b/gen/dataproc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dataproc1" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dataproc1" homepage = "https://cloud.google.com/dataproc/" -documentation = "https://docs.rs/google-dataproc1/1.0.10+20190620" +documentation = "https://docs.rs/google-dataproc1/1.0.11+20190620" license = "MIT" keywords = ["dataproc", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dataproc1/README.md b/gen/dataproc1/README.md index 8e658afcf1..2cb5bbc15f 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Dataproc* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190620/google_dataproc1/struct.Dataproc.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.Dataproc.html) ... * projects - * [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationAutoscalingPolicyGetIamPolicyCall.html), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationAutoscalingPolicySetIamPolicyCall.html), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationAutoscalingPolicyTestIamPermissionCall.html), [*locations workflow templates create*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateCreateCall.html), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateDeleteCall.html), [*locations workflow templates get*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateGetCall.html), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateGetIamPolicyCall.html), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateInstantiateCall.html), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateInstantiateInlineCall.html), [*locations workflow templates list*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateListCall.html), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateSetIamPolicyCall.html), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateTestIamPermissionCall.html), [*locations workflow templates update*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateUpdateCall.html), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionAutoscalingPolicyGetIamPolicyCall.html), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionAutoscalingPolicySetIamPolicyCall.html), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionAutoscalingPolicyTestIamPermissionCall.html), [*regions clusters create*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterCreateCall.html), [*regions clusters delete*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterDeleteCall.html), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterDiagnoseCall.html), [*regions clusters get*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterGetCall.html), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterGetIamPolicyCall.html), [*regions clusters list*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterListCall.html), [*regions clusters patch*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterPatchCall.html), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterSetIamPolicyCall.html), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionClusterTestIamPermissionCall.html), [*regions jobs cancel*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobCancelCall.html), [*regions jobs delete*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobDeleteCall.html), [*regions jobs get*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobGetCall.html), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobGetIamPolicyCall.html), [*regions jobs list*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobListCall.html), [*regions jobs patch*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobPatchCall.html), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobSetIamPolicyCall.html), [*regions jobs submit*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobSubmitCall.html), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionJobTestIamPermissionCall.html), [*regions operations cancel*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationCancelCall.html), [*regions operations delete*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationDeleteCall.html), [*regions operations get*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationGetCall.html), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationGetIamPolicyCall.html), [*regions operations list*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationListCall.html), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationSetIamPolicyCall.html), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionOperationTestIamPermissionCall.html), [*regions workflow templates create*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateCreateCall.html), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateDeleteCall.html), [*regions workflow templates get*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateGetCall.html), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateGetIamPolicyCall.html), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateInstantiateCall.html), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateInstantiateInlineCall.html), [*regions workflow templates list*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateListCall.html), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateSetIamPolicyCall.html), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateTestIamPermissionCall.html) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateUpdateCall.html) + * [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationAutoscalingPolicyGetIamPolicyCall.html), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationAutoscalingPolicySetIamPolicyCall.html), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationAutoscalingPolicyTestIamPermissionCall.html), [*locations workflow templates create*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateCreateCall.html), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateDeleteCall.html), [*locations workflow templates get*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateGetCall.html), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateGetIamPolicyCall.html), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateInstantiateCall.html), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateInstantiateInlineCall.html), [*locations workflow templates list*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateListCall.html), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateSetIamPolicyCall.html), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateTestIamPermissionCall.html), [*locations workflow templates update*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectLocationWorkflowTemplateUpdateCall.html), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionAutoscalingPolicyGetIamPolicyCall.html), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionAutoscalingPolicySetIamPolicyCall.html), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionAutoscalingPolicyTestIamPermissionCall.html), [*regions clusters create*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterCreateCall.html), [*regions clusters delete*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterDeleteCall.html), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterDiagnoseCall.html), [*regions clusters get*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterGetCall.html), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterGetIamPolicyCall.html), [*regions clusters list*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterListCall.html), [*regions clusters patch*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterPatchCall.html), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterSetIamPolicyCall.html), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionClusterTestIamPermissionCall.html), [*regions jobs cancel*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobCancelCall.html), [*regions jobs delete*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobDeleteCall.html), [*regions jobs get*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobGetCall.html), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobGetIamPolicyCall.html), [*regions jobs list*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobListCall.html), [*regions jobs patch*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobPatchCall.html), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobSetIamPolicyCall.html), [*regions jobs submit*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobSubmitCall.html), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionJobTestIamPermissionCall.html), [*regions operations cancel*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationCancelCall.html), [*regions operations delete*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationDeleteCall.html), [*regions operations get*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationGetCall.html), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationGetIamPolicyCall.html), [*regions operations list*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationListCall.html), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationSetIamPolicyCall.html), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionOperationTestIamPermissionCall.html), [*regions workflow templates create*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateCreateCall.html), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateDeleteCall.html), [*regions workflow templates get*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateGetCall.html), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateGetIamPolicyCall.html), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateInstantiateCall.html), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateInstantiateInlineCall.html), [*regions workflow templates list*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateListCall.html), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateSetIamPolicyCall.html), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateTestIamPermissionCall.html) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.ProjectRegionWorkflowTemplateUpdateCall.html) @@ -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/1.0.10+20190620/google_dataproc1/struct.Dataproc.html)** +* **[Hub](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/struct.Dataproc.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190620/google_dataproc1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-dataproc1/1.0.10+20190620/google_dataproc1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.CallBuilder.html) 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/1.0.11+20190620/google_dataproc1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190620/google_dataproc1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dataproc1/1.0.10+20190620/google_dataproc1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.ResponseResult.html) 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/1.0.10+20190620/google_dataproc1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190620/google_dataproc1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190620/google_dataproc1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dataproc1/1.0.11+20190620/google_dataproc1/trait.RequestValue.html) are 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/cmn.rs b/gen/dataproc1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dataproc1/src/cmn.rs +++ b/gen/dataproc1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dataproc1/src/lib.rs b/gen/dataproc1/src/lib.rs index bb3fd130b2..fb1d546199 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Dataproc* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Dataproc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc/). @@ -342,7 +342,7 @@ impl<'a, C, A> Dataproc Dataproc { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://dataproc.googleapis.com/".to_string(), _root_url: "https://dataproc.googleapis.com/".to_string(), } @@ -353,7 +353,7 @@ impl<'a, C, A> Dataproc } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datastore1-cli/Cargo.toml b/gen/datastore1-cli/Cargo.toml index 59873d462e..82e2997e44 100644 --- a/gen/datastore1-cli/Cargo.toml +++ b/gen/datastore1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datastore1-cli" -version = "1.0.10+20190421" +version = "1.0.11+20190421" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/datastore1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-datastore1] path = "../datastore1" -version = "1.0.10+20190421" +version = "1.0.11+20190421" diff --git a/gen/datastore1-cli/README.md b/gen/datastore1-cli/README.md index e4074b3f44..11f9b560c8 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 *20190421*. The CLI is at version *1.0.10*. +This documentation was generated from the *datastore* API at revision *20190421*. The CLI is at version *1.0.11*. ```bash datastore1 [options] diff --git a/gen/datastore1-cli/mkdocs.yml b/gen/datastore1-cli/mkdocs.yml index ad9f703ac2..fbb29074c0 100644 --- a/gen/datastore1-cli/mkdocs.yml +++ b/gen/datastore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v1.0.10+20190421 +site_name: datastore v1.0.11+20190421 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 1f5a65b7ab..80db416da5 100644 --- a/gen/datastore1-cli/src/main.rs +++ b/gen/datastore1-cli/src/main.rs @@ -1756,7 +1756,7 @@ fn main() { let mut app = App::new("datastore1") .author("Sebastian Thiel ") - .version("1.0.10+20190421") + .version("1.0.11+20190421") .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") diff --git a/gen/datastore1/Cargo.toml b/gen/datastore1/Cargo.toml index 6bcbbc7e67..3deb76caff 100644 --- a/gen/datastore1/Cargo.toml +++ b/gen/datastore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1" -version = "1.0.10+20190421" +version = "1.0.11+20190421" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/datastore1" homepage = "https://cloud.google.com/datastore/" -documentation = "https://docs.rs/google-datastore1/1.0.10+20190421" +documentation = "https://docs.rs/google-datastore1/1.0.11+20190421" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/datastore1/README.md b/gen/datastore1/README.md index f5bfaf280b..80c7efb27d 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 *1.0.10+20190421*, where *20190421* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *datastore* crate version *1.0.11+20190421*, where *20190421* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190421/google_datastore1/struct.Datastore.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.Datastore.html) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectAllocateIdCall.html), [*begin transaction*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectBeginTransactionCall.html), [*commit*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectCommitCall.html), [*export*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectExportCall.html), [*import*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectImportCall.html), [*indexes get*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectIndexeGetCall.html), [*indexes list*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectIndexeListCall.html), [*lookup*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectLookupCall.html), [*operations cancel*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectOperationCancelCall.html), [*operations delete*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectOperationDeleteCall.html), [*operations get*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectOperationGetCall.html), [*operations list*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectOperationListCall.html), [*reserve ids*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectReserveIdCall.html), [*rollback*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectRollbackCall.html) and [*run query*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/struct.ProjectRunQueryCall.html) + * [*allocate ids*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectAllocateIdCall.html), [*begin transaction*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectBeginTransactionCall.html), [*commit*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectCommitCall.html), [*export*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectExportCall.html), [*import*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectImportCall.html), [*indexes get*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectIndexeGetCall.html), [*indexes list*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectIndexeListCall.html), [*lookup*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectLookupCall.html), [*operations cancel*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectOperationCancelCall.html), [*operations delete*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectOperationDeleteCall.html), [*operations get*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectOperationGetCall.html), [*operations list*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectOperationListCall.html), [*reserve ids*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectReserveIdCall.html), [*rollback*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectRollbackCall.html) and [*run query*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.ProjectRunQueryCall.html) @@ -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/1.0.10+20190421/google_datastore1/struct.Datastore.html)** +* **[Hub](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/struct.Datastore.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.Part.html)** + * **[Parts](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190421/google_datastore1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-datastore1/1.0.10+20190421/google_datastore1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.CallBuilder.html) 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/1.0.11+20190421/google_datastore1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190421/google_datastore1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-datastore1/1.0.10+20190421/google_datastore1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.ResponseResult.html) 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/1.0.10+20190421/google_datastore1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190421/google_datastore1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190421/google_datastore1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-datastore1/1.0.11+20190421/google_datastore1/trait.RequestValue.html) are 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/cmn.rs b/gen/datastore1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/datastore1/src/cmn.rs +++ b/gen/datastore1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/datastore1/src/lib.rs b/gen/datastore1/src/lib.rs index 96aa7c6b40..2108b9a394 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 *1.0.10+20190421*, where *20190421* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *datastore* crate version *1.0.11+20190421*, where *20190421* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *datastore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). @@ -335,7 +335,7 @@ impl<'a, C, A> Datastore Datastore { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://datastore.googleapis.com/".to_string(), _root_url: "https://datastore.googleapis.com/".to_string(), } @@ -346,7 +346,7 @@ impl<'a, C, A> Datastore } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datastore1_beta3-cli/Cargo.toml b/gen/datastore1_beta3-cli/Cargo.toml index 1045d2ad1f..6238d3f22c 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 = "1.0.10+20190421" +version = "1.0.11+20190421" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/datastore1_beta3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-datastore1_beta3] path = "../datastore1_beta3" -version = "1.0.10+20190421" +version = "1.0.11+20190421" diff --git a/gen/datastore1_beta3-cli/README.md b/gen/datastore1_beta3-cli/README.md index 815cb9ea89..659fb8d0d3 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 *20190421*. The CLI is at version *1.0.10*. +This documentation was generated from the *datastore* API at revision *20190421*. The CLI is at version *1.0.11*. ```bash datastore1-beta3 [options] diff --git a/gen/datastore1_beta3-cli/mkdocs.yml b/gen/datastore1_beta3-cli/mkdocs.yml index de2d66513b..49a5f66318 100644 --- a/gen/datastore1_beta3-cli/mkdocs.yml +++ b/gen/datastore1_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v1.0.10+20190421 +site_name: datastore v1.0.11+20190421 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 064bf2aa9d..942219acd9 100644 --- a/gen/datastore1_beta3-cli/src/main.rs +++ b/gen/datastore1_beta3-cli/src/main.rs @@ -994,7 +994,7 @@ fn main() { let mut app = App::new("datastore1-beta3") .author("Sebastian Thiel ") - .version("1.0.10+20190421") + .version("1.0.11+20190421") .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") diff --git a/gen/datastore1_beta3/Cargo.toml b/gen/datastore1_beta3/Cargo.toml index f081fe9b2b..8496b45b0b 100644 --- a/gen/datastore1_beta3/Cargo.toml +++ b/gen/datastore1_beta3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1_beta3" -version = "1.0.10+20190421" +version = "1.0.11+20190421" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/datastore1_beta3" homepage = "https://cloud.google.com/datastore/" -documentation = "https://docs.rs/google-datastore1_beta3/1.0.10+20190421" +documentation = "https://docs.rs/google-datastore1_beta3/1.0.11+20190421" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/datastore1_beta3/README.md b/gen/datastore1_beta3/README.md index bffb6e9562..292d40bc5a 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 *1.0.10+20190421*, where *20190421* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *datastore* crate version *1.0.11+20190421*, where *20190421* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190421/google_datastore1_beta3/struct.Datastore.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.Datastore.html) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectAllocateIdCall.html), [*begin transaction*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectBeginTransactionCall.html), [*commit*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectCommitCall.html), [*lookup*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectLookupCall.html), [*reserve ids*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectReserveIdCall.html), [*rollback*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectRollbackCall.html) and [*run query*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/struct.ProjectRunQueryCall.html) + * [*allocate ids*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectAllocateIdCall.html), [*begin transaction*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectBeginTransactionCall.html), [*commit*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectCommitCall.html), [*lookup*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectLookupCall.html), [*reserve ids*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectReserveIdCall.html), [*rollback*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectRollbackCall.html) and [*run query*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.ProjectRunQueryCall.html) @@ -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/1.0.10+20190421/google_datastore1_beta3/struct.Datastore.html)** +* **[Hub](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/struct.Datastore.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.Part.html)** + * **[Parts](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/enum.Result.html) 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/1.0.10+20190421/google_datastore1_beta3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190421/google_datastore1_beta3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.CallBuilder.html) 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/1.0.11+20190421/google_datastore1_beta3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190421/google_datastore1_beta3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-datastore1_beta3/1.0.10+20190421/google_datastore1_beta3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.ResponseResult.html) 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/1.0.10+20190421/google_datastore1_beta3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190421/google_datastore1_beta3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190421/google_datastore1_beta3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-datastore1_beta3/1.0.11+20190421/google_datastore1_beta3/trait.RequestValue.html) are 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/cmn.rs b/gen/datastore1_beta3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/datastore1_beta3/src/cmn.rs +++ b/gen/datastore1_beta3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/datastore1_beta3/src/lib.rs b/gen/datastore1_beta3/src/lib.rs index d804d09df1..fd7f33353f 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 *1.0.10+20190421*, where *20190421* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *datastore* crate version *1.0.11+20190421*, where *20190421* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *datastore* *v1_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). @@ -333,7 +333,7 @@ impl<'a, C, A> Datastore Datastore { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://datastore.googleapis.com/".to_string(), _root_url: "https://datastore.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> Datastore } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/deploymentmanager2-cli/Cargo.toml b/gen/deploymentmanager2-cli/Cargo.toml index 601f8adfdc..8d38909845 100644 --- a/gen/deploymentmanager2-cli/Cargo.toml +++ b/gen/deploymentmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2-cli" -version = "1.0.10+20181207" +version = "1.0.11+20181207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-deploymentmanager2] path = "../deploymentmanager2" -version = "1.0.10+20181207" +version = "1.0.11+20181207" diff --git a/gen/deploymentmanager2-cli/README.md b/gen/deploymentmanager2-cli/README.md index ac8c7da07f..d0a26e4d6f 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 *20181207*. The CLI is at version *1.0.10*. +This documentation was generated from the *Deployment Manager* API at revision *20181207*. The CLI is at version *1.0.11*. ```bash deploymentmanager2 [options] diff --git a/gen/deploymentmanager2-cli/mkdocs.yml b/gen/deploymentmanager2-cli/mkdocs.yml index ef8eda9247..9545834645 100644 --- a/gen/deploymentmanager2-cli/mkdocs.yml +++ b/gen/deploymentmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v1.0.10+20181207 +site_name: Deployment Manager v1.0.11+20181207 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 2bf188d2ac..7d9111a2a8 100644 --- a/gen/deploymentmanager2-cli/src/main.rs +++ b/gen/deploymentmanager2-cli/src/main.rs @@ -2139,7 +2139,7 @@ fn main() { let mut app = App::new("deploymentmanager2") .author("Sebastian Thiel ") - .version("1.0.10+20181207") + .version("1.0.11+20181207") .about("Declares, configures, and deploys complex solutions on Google Cloud Platform.") .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 c98ec74564..0ac4cc2a14 100644 --- a/gen/deploymentmanager2/Cargo.toml +++ b/gen/deploymentmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2" -version = "1.0.10+20181207" +version = "1.0.11+20181207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2" homepage = "https://cloud.google.com/deployment-manager/" -documentation = "https://docs.rs/google-deploymentmanager2/1.0.10+20181207" +documentation = "https://docs.rs/google-deploymentmanager2/1.0.11+20181207" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/deploymentmanager2/README.md b/gen/deploymentmanager2/README.md index d7e75c4a42..199dd926b7 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 *1.0.10+20181207*, where *20181207* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Deployment Manager* crate version *1.0.11+20181207*, where *20181207* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentManager.html) ... -* [deployments](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.Deployment.html) - * [*cancel preview*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentCancelPreviewCall.html), [*delete*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentGetCall.html), [*get iam policy*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentGetIamPolicyCall.html), [*insert*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentPatchCall.html), [*set iam policy*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentSetIamPolicyCall.html), [*stop*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentStopCall.html), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentTestIamPermissionCall.html) and [*update*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentUpdateCall.html) -* [manifests](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.Manifest.html) - * [*get*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.ManifestListCall.html) -* [operations](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.Operation.html) - * [*get*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.OperationListCall.html) -* [resources](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.ResourceType.html) - * [*get*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.ResourceListCall.html) -* [types](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.Type.html) - * [*list*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/struct.TypeListCall.html) +* [deployments](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.Deployment.html) + * [*cancel preview*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentCancelPreviewCall.html), [*delete*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentGetCall.html), [*get iam policy*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentGetIamPolicyCall.html), [*insert*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentPatchCall.html), [*set iam policy*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentSetIamPolicyCall.html), [*stop*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentStopCall.html), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentTestIamPermissionCall.html) and [*update*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentUpdateCall.html) +* [manifests](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.Manifest.html) + * [*get*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.ManifestListCall.html) +* [operations](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.Operation.html) + * [*get*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.OperationListCall.html) +* [resources](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.ResourceType.html) + * [*get*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.ResourceListCall.html) +* [types](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.Type.html) + * [*list*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.TypeListCall.html) @@ -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/1.0.10+20181207/google_deploymentmanager2/struct.DeploymentManager.html)** +* **[Hub](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/struct.DeploymentManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.Part.html)** + * **[Parts](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181207/google_deploymentmanager2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.CallBuilder.html) 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/1.0.11+20181207/google_deploymentmanager2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181207/google_deploymentmanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-deploymentmanager2/1.0.10+20181207/google_deploymentmanager2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.ResponseResult.html) 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/1.0.10+20181207/google_deploymentmanager2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181207/google_deploymentmanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181207/google_deploymentmanager2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-deploymentmanager2/1.0.11+20181207/google_deploymentmanager2/trait.RequestValue.html) are 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/cmn.rs b/gen/deploymentmanager2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/deploymentmanager2/src/cmn.rs +++ b/gen/deploymentmanager2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/deploymentmanager2/src/lib.rs b/gen/deploymentmanager2/src/lib.rs index ddbc4c86a4..f06f473bdd 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 *1.0.10+20181207*, where *20181207* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Deployment Manager* crate version *1.0.11+20181207*, where *20181207* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Deployment Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/). @@ -365,7 +365,7 @@ impl<'a, C, A> DeploymentManager DeploymentManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/deploymentmanager/v2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -388,7 +388,7 @@ impl<'a, C, A> DeploymentManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/deploymentmanager2_beta2-cli/Cargo.toml b/gen/deploymentmanager2_beta2-cli/Cargo.toml index c8f1d60869..5c14b6350d 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 = "1.0.10+20160201" +version = "1.0.11+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-deploymentmanager2_beta2] path = "../deploymentmanager2_beta2" -version = "1.0.10+20160201" +version = "1.0.11+20160201" diff --git a/gen/deploymentmanager2_beta2-cli/README.md b/gen/deploymentmanager2_beta2-cli/README.md index 7be01cfa2f..39fdca9f3f 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 *1.0.10*. +This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *1.0.11*. ```bash deploymentmanager2-beta2 [options] diff --git a/gen/deploymentmanager2_beta2-cli/mkdocs.yml b/gen/deploymentmanager2_beta2-cli/mkdocs.yml index bd1aac7cd9..366ff54286 100644 --- a/gen/deploymentmanager2_beta2-cli/mkdocs.yml +++ b/gen/deploymentmanager2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v1.0.10+20160201 +site_name: Deployment Manager v1.0.11+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 c5c4aed8fd..8a31910e94 100644 --- a/gen/deploymentmanager2_beta2-cli/src/main.rs +++ b/gen/deploymentmanager2_beta2-cli/src/main.rs @@ -1479,7 +1479,7 @@ fn main() { let mut app = App::new("deploymentmanager2-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20160201") + .version("1.0.11+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 85f88436a2..15c24d9235 100644 --- a/gen/deploymentmanager2_beta2/Cargo.toml +++ b/gen/deploymentmanager2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2_beta2" -version = "1.0.10+20160201" +version = "1.0.11+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201" +documentation = "https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/deploymentmanager2_beta2/README.md b/gen/deploymentmanager2_beta2/README.md index de1db3e8ef..a00453d65c 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 *1.0.10+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Deployment Manager* crate version *1.0.11+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html) ... -* [deployments](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.Deployment.html) - * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentPatchCall.html) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentUpdateCall.html) -* [manifests](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.Manifest.html) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.ManifestListCall.html) -* [operations](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.Operation.html) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.OperationListCall.html) -* [resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.ResourceType.html) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.ResourceListCall.html) -* [types](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.Type.html) - * [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/struct.TypeListCall.html) +* [deployments](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.Deployment.html) + * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentPatchCall.html) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentUpdateCall.html) +* [manifests](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.Manifest.html) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.ManifestListCall.html) +* [operations](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.Operation.html) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.OperationListCall.html) +* [resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.ResourceType.html) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.ResourceListCall.html) +* [types](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.Type.html) + * [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.TypeListCall.html) @@ -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/1.0.10+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html)** +* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/enum.Result.html) 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/1.0.10+20160201/google_deploymentmanager2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160201/google_deploymentmanager2_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html) 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/1.0.11+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-deploymentmanager2_beta2/1.0.10+20160201/google_deploymentmanager2_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.ResponseResult.html) 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/1.0.10+20160201/google_deploymentmanager2_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-deploymentmanager2_beta2/1.0.11+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/deploymentmanager2_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/deploymentmanager2_beta2/src/cmn.rs +++ b/gen/deploymentmanager2_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/deploymentmanager2_beta2/src/lib.rs b/gen/deploymentmanager2_beta2/src/lib.rs index 9a283b1e6b..e909692137 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 *1.0.10+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Deployment Manager* crate version *1.0.11+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Deployment Manager* *v2_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). @@ -360,7 +360,7 @@ impl<'a, C, A> DeploymentManager DeploymentManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/deploymentmanager/v2beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -383,7 +383,7 @@ impl<'a, C, A> DeploymentManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d8-cli/Cargo.toml b/gen/dfareporting2d8-cli/Cargo.toml index 6bfc480b47..e691e3356b 100644 --- a/gen/dfareporting2d8-cli/Cargo.toml +++ b/gen/dfareporting2d8-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d8-cli" -version = "1.0.10+20180830" +version = "1.0.11+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.8)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d8-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dfareporting2d8] path = "../dfareporting2d8" -version = "1.0.10+20180830" +version = "1.0.11+20180830" diff --git a/gen/dfareporting2d8-cli/README.md b/gen/dfareporting2d8-cli/README.md index c4b04e464d..3601e1b37c 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 *1.0.10*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *1.0.11*. ```bash dfareporting2d8 [options] diff --git a/gen/dfareporting2d8-cli/mkdocs.yml b/gen/dfareporting2d8-cli/mkdocs.yml index 7d0c7948f1..c5587d6a36 100644 --- a/gen/dfareporting2d8-cli/mkdocs.yml +++ b/gen/dfareporting2d8-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.10+20180830 +site_name: dfareporting v1.0.11+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 897b96ea3f..aa6e1cd642 100644 --- a/gen/dfareporting2d8-cli/src/main.rs +++ b/gen/dfareporting2d8-cli/src/main.rs @@ -23769,7 +23769,7 @@ fn main() { let mut app = App::new("dfareporting2d8") .author("Sebastian Thiel ") - .version("1.0.10+20180830") + .version("1.0.11+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 1809dfde65..bc6c309346 100644 --- a/gen/dfareporting2d8/Cargo.toml +++ b/gen/dfareporting2d8/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting2d8" -version = "1.0.10+20180830" +version = "1.0.11+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.8)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d8" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting2d8/1.0.10+20180830" +documentation = "https://docs.rs/google-dfareporting2d8/1.0.11+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dfareporting2d8/README.md b/gen/dfareporting2d8/README.md index fdbab6bbc7..04040dd4d8 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 *1.0.10+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *dfareporting* crate version *1.0.11+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20180830/google_dfareporting2d8/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ConversionBatchupdateCall.html) -* [countries](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LandingPageUpdateCall.html) -* [languages](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Language.html) - * [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.LanguageListCall.html) -* [metros](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetableRemarketingListListCall.html) -* [targeting templates](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetingTemplate.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.TargetingTemplateUpdateCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.UserRoleUpdateCall.html) -* [video formats](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.VideoFormat.html) - * [*get*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.VideoFormatListCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ConversionBatchupdateCall.html) +* [countries](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LandingPageUpdateCall.html) +* [languages](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Language.html) + * [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.LanguageListCall.html) +* [metros](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetableRemarketingListListCall.html) +* [targeting templates](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetingTemplate.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.TargetingTemplateUpdateCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.UserRoleUpdateCall.html) +* [video formats](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.VideoFormat.html) + * [*get*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.VideoFormatListCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.ReportFileGetCall.html) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -265,17 +265,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20180830/google_dfareporting2d8/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -285,29 +285,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20180830/google_dfareporting2d8/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.CallBuilder.html) 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/1.0.11+20180830/google_dfareporting2d8/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20180830/google_dfareporting2d8/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d8/1.0.10+20180830/google_dfareporting2d8/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.ResponseResult.html) 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/1.0.10+20180830/google_dfareporting2d8/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20180830/google_dfareporting2d8/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20180830/google_dfareporting2d8/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d8/1.0.11+20180830/google_dfareporting2d8/trait.RequestValue.html) are 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/cmn.rs b/gen/dfareporting2d8/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dfareporting2d8/src/cmn.rs +++ b/gen/dfareporting2d8/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dfareporting2d8/src/lib.rs b/gen/dfareporting2d8/src/lib.rs index e628eb4e98..f28275ac17 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 *1.0.10+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *dfareporting* crate version *1.0.11+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *dfareporting* *v2d8* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -471,7 +471,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v2.8/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -659,7 +659,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting3-cli/Cargo.toml b/gen/dfareporting3-cli/Cargo.toml index 13682bd851..fe9194d63e 100644 --- a/gen/dfareporting3-cli/Cargo.toml +++ b/gen/dfareporting3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3-cli" -version = "1.0.10+20180830" +version = "1.0.11+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.0)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dfareporting3] path = "../dfareporting3" -version = "1.0.10+20180830" +version = "1.0.11+20180830" diff --git a/gen/dfareporting3-cli/README.md b/gen/dfareporting3-cli/README.md index 03b332ea72..a1c0a86b17 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 *1.0.10*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *1.0.11*. ```bash dfareporting3 [options] diff --git a/gen/dfareporting3-cli/mkdocs.yml b/gen/dfareporting3-cli/mkdocs.yml index 6aa0fd811a..a1bbb3f457 100644 --- a/gen/dfareporting3-cli/mkdocs.yml +++ b/gen/dfareporting3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.10+20180830 +site_name: dfareporting v1.0.11+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 207fe964da..5e7fa79bc9 100644 --- a/gen/dfareporting3-cli/src/main.rs +++ b/gen/dfareporting3-cli/src/main.rs @@ -23698,7 +23698,7 @@ fn main() { let mut app = App::new("dfareporting3") .author("Sebastian Thiel ") - .version("1.0.10+20180830") + .version("1.0.11+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 1bed194c1a..d45a8b2ec9 100644 --- a/gen/dfareporting3/Cargo.toml +++ b/gen/dfareporting3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3" -version = "1.0.10+20180830" +version = "1.0.11+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.0)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3/1.0.10+20180830" +documentation = "https://docs.rs/google-dfareporting3/1.0.11+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dfareporting3/README.md b/gen/dfareporting3/README.md index 3ca97b7335..baa92ea379 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 *1.0.10+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *dfareporting* crate version *1.0.11+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20180830/google_dfareporting3/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGroupUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGroupUpdateCall.html) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserLandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserLandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserLandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserLandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserLandingPageUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ConversionBatchupdateCall.html) -* [countries](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.InventoryItemListCall.html) -* [languages](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Language.html) - * [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.LanguageListCall.html) -* [metros](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetableRemarketingListListCall.html) -* [targeting templates](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetingTemplate.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.TargetingTemplateUpdateCall.html) -* [user profiles](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.UserRoleUpdateCall.html) -* [video formats](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.VideoFormat.html) - * [*get*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.VideoFormatListCall.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserLandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserLandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserLandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserLandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserLandingPageUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ConversionBatchupdateCall.html) +* [countries](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.InventoryItemListCall.html) +* [languages](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Language.html) + * [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.LanguageListCall.html) +* [metros](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetableRemarketingListListCall.html) +* [targeting templates](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetingTemplate.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.TargetingTemplateUpdateCall.html) +* [user profiles](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.UserRoleUpdateCall.html) +* [video formats](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.VideoFormat.html) + * [*get*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.VideoFormatListCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.ReportFileGetCall.html) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -265,17 +265,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20180830/google_dfareporting3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -285,29 +285,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20180830/google_dfareporting3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.CallBuilder.html) 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/1.0.11+20180830/google_dfareporting3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20180830/google_dfareporting3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting3/1.0.10+20180830/google_dfareporting3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.ResponseResult.html) 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/1.0.10+20180830/google_dfareporting3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20180830/google_dfareporting3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20180830/google_dfareporting3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting3/1.0.11+20180830/google_dfareporting3/trait.RequestValue.html) are 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/cmn.rs b/gen/dfareporting3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dfareporting3/src/cmn.rs +++ b/gen/dfareporting3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dfareporting3/src/lib.rs b/gen/dfareporting3/src/lib.rs index f1adb525cf..c8d961d83e 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 *1.0.10+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *dfareporting* crate version *1.0.11+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *dfareporting* *v3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -471,7 +471,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.0/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -659,7 +659,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting3d2-cli/Cargo.toml b/gen/dfareporting3d2-cli/Cargo.toml index c6d6acfce8..ebe6f983e4 100644 --- a/gen/dfareporting3d2-cli/Cargo.toml +++ b/gen/dfareporting3d2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d2-cli" -version = "1.0.10+20190531" +version = "1.0.11+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3d2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dfareporting3d2] path = "../dfareporting3d2" -version = "1.0.10+20190531" +version = "1.0.11+20190531" diff --git a/gen/dfareporting3d2-cli/README.md b/gen/dfareporting3d2-cli/README.md index 7fa325b773..4bf14e094a 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 *1.0.10*. +This documentation was generated from the *dfareporting* API at revision *20190531*. The CLI is at version *1.0.11*. ```bash dfareporting3d2 [options] diff --git a/gen/dfareporting3d2-cli/mkdocs.yml b/gen/dfareporting3d2-cli/mkdocs.yml index 5562aafd3c..06ee9e05a6 100644 --- a/gen/dfareporting3d2-cli/mkdocs.yml +++ b/gen/dfareporting3d2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.10+20190531 +site_name: dfareporting v1.0.11+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 b321b292b5..8c7a826821 100644 --- a/gen/dfareporting3d2-cli/src/main.rs +++ b/gen/dfareporting3d2-cli/src/main.rs @@ -23888,7 +23888,7 @@ fn main() { let mut app = App::new("dfareporting3d2") .author("Sebastian Thiel ") - .version("1.0.10+20190531") + .version("1.0.11+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 53890a8989..3b8f708550 100644 --- a/gen/dfareporting3d2/Cargo.toml +++ b/gen/dfareporting3d2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d2" -version = "1.0.10+20190531" +version = "1.0.11+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3d2" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d2/1.0.10+20190531" +documentation = "https://docs.rs/google-dfareporting3d2/1.0.11+20190531" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dfareporting3d2/README.md b/gen/dfareporting3d2/README.md index a94c738be7..185492aa85 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 *1.0.10+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *dfareporting* crate version *1.0.11+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190531/google_dfareporting3d2/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGroupUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGroupUpdateCall.html) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserLandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ConversionBatchupdateCall.html) -* [countries](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.InventoryItemListCall.html) -* [languages](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Language.html) - * [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.LanguageListCall.html) -* [metros](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MetroListCall.html) -* [mobile apps](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MobileApp.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MobileAppGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MobileAppListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetableRemarketingListListCall.html) -* [targeting templates](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetingTemplate.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.TargetingTemplateUpdateCall.html) -* [user profiles](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.UserRoleUpdateCall.html) -* [video formats](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.VideoFormat.html) - * [*get*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.VideoFormatListCall.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserLandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserLandingPageUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ConversionBatchupdateCall.html) +* [countries](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.InventoryItemListCall.html) +* [languages](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Language.html) + * [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.LanguageListCall.html) +* [metros](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MetroListCall.html) +* [mobile apps](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MobileApp.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MobileAppGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MobileAppListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetableRemarketingListListCall.html) +* [targeting templates](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetingTemplate.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.TargetingTemplateUpdateCall.html) +* [user profiles](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.UserRoleUpdateCall.html) +* [video formats](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.VideoFormat.html) + * [*get*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.VideoFormatListCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.ReportFileGetCall.html) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -267,17 +267,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190531/google_dfareporting3d2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -287,29 +287,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190531/google_dfareporting3d2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.CallBuilder.html) 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/1.0.11+20190531/google_dfareporting3d2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190531/google_dfareporting3d2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting3d2/1.0.10+20190531/google_dfareporting3d2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.ResponseResult.html) 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/1.0.10+20190531/google_dfareporting3d2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190531/google_dfareporting3d2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190531/google_dfareporting3d2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting3d2/1.0.11+20190531/google_dfareporting3d2/trait.RequestValue.html) are 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/cmn.rs b/gen/dfareporting3d2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dfareporting3d2/src/cmn.rs +++ b/gen/dfareporting3d2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dfareporting3d2/src/lib.rs b/gen/dfareporting3d2/src/lib.rs index aa461d65d7..61db9accd0 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 *1.0.10+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *dfareporting* crate version *1.0.11+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *dfareporting* *v3d2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -473,7 +473,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -664,7 +664,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting3d3-cli/Cargo.toml b/gen/dfareporting3d3-cli/Cargo.toml index 6d38f3c6f5..997979f43f 100644 --- a/gen/dfareporting3d3-cli/Cargo.toml +++ b/gen/dfareporting3d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d3-cli" -version = "1.0.10+20190531" +version = "1.0.11+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3d3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dfareporting3d3] path = "../dfareporting3d3" -version = "1.0.10+20190531" +version = "1.0.11+20190531" diff --git a/gen/dfareporting3d3-cli/README.md b/gen/dfareporting3d3-cli/README.md index 22e01d192e..c380eb7aa1 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 *20190531*. The CLI is at version *1.0.10*. +This documentation was generated from the *dfareporting* API at revision *20190531*. The CLI is at version *1.0.11*. ```bash dfareporting3d3 [options] diff --git a/gen/dfareporting3d3-cli/mkdocs.yml b/gen/dfareporting3d3-cli/mkdocs.yml index 62ede4075b..b49e579f11 100644 --- a/gen/dfareporting3d3-cli/mkdocs.yml +++ b/gen/dfareporting3d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.10+20190531 +site_name: dfareporting v1.0.11+20190531 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 393a6470aa..5a5ffda939 100644 --- a/gen/dfareporting3d3-cli/src/main.rs +++ b/gen/dfareporting3d3-cli/src/main.rs @@ -23712,7 +23712,7 @@ fn main() { let mut app = App::new("dfareporting3d3") .author("Sebastian Thiel ") - .version("1.0.10+20190531") + .version("1.0.11+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_dfareporting3d3_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d3/Cargo.toml b/gen/dfareporting3d3/Cargo.toml index 2276f18a62..d1e1737f6e 100644 --- a/gen/dfareporting3d3/Cargo.toml +++ b/gen/dfareporting3d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d3" -version = "1.0.10+20190531" +version = "1.0.11+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3d3" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d3/1.0.10+20190531" +documentation = "https://docs.rs/google-dfareporting3d3/1.0.11+20190531" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dfareporting3d3/README.md b/gen/dfareporting3d3/README.md index 96d964d88d..dc1421a3c3 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 *1.0.10+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *dfareporting* crate version *1.0.11+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190531/google_dfareporting3d3/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGroupUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGroupUpdateCall.html) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserLandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ConversionBatchupdateCall.html) -* [countries](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DimensionValueQueryCall.html) -* [directory sites](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.InventoryItemListCall.html) -* [languages](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Language.html) - * [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.LanguageListCall.html) -* [metros](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MetroListCall.html) -* [mobile apps](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MobileApp.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MobileAppGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MobileAppListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetableRemarketingListListCall.html) -* [targeting templates](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetingTemplate.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.TargetingTemplateUpdateCall.html) -* [user profiles](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.UserRoleUpdateCall.html) -* [video formats](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.VideoFormat.html) - * [*get*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.VideoFormatListCall.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserLandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserLandingPageUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ConversionBatchinsertCall.html) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ConversionBatchupdateCall.html) +* [countries](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DimensionValueQueryCall.html) +* [directory sites](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.InventoryItemListCall.html) +* [languages](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Language.html) + * [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.LanguageListCall.html) +* [metros](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MetroListCall.html) +* [mobile apps](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MobileApp.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MobileAppGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MobileAppListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetableRemarketingListListCall.html) +* [targeting templates](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetingTemplate.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.TargetingTemplateUpdateCall.html) +* [user profiles](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.UserRoleUpdateCall.html) +* [video formats](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.VideoFormat.html) + * [*get*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.VideoFormatListCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.ReportFileGetCall.html) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -265,17 +265,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190531/google_dfareporting3d3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -285,29 +285,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190531/google_dfareporting3d3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.CallBuilder.html) 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/1.0.11+20190531/google_dfareporting3d3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190531/google_dfareporting3d3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting3d3/1.0.10+20190531/google_dfareporting3d3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.ResponseResult.html) 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/1.0.10+20190531/google_dfareporting3d3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190531/google_dfareporting3d3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190531/google_dfareporting3d3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting3d3/1.0.11+20190531/google_dfareporting3d3/trait.RequestValue.html) are 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/cmn.rs b/gen/dfareporting3d3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dfareporting3d3/src/cmn.rs +++ b/gen/dfareporting3d3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dfareporting3d3/src/lib.rs b/gen/dfareporting3d3/src/lib.rs index aa2bf42c2e..b542dc69b7 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 *1.0.10+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *dfareporting* crate version *1.0.11+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *dfareporting* *v3d3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -471,7 +471,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -659,7 +659,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dialogflow2-cli/Cargo.toml b/gen/dialogflow2-cli/Cargo.toml index dc755eac16..a3e4ae40b0 100644 --- a/gen/dialogflow2-cli/Cargo.toml +++ b/gen/dialogflow2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow2-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dialogflow2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dialogflow2] path = "../dialogflow2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/dialogflow2-cli/README.md b/gen/dialogflow2-cli/README.md index 517891844e..7135a86ef7 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Dialogflow* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash dialogflow2 [options] diff --git a/gen/dialogflow2-cli/mkdocs.yml b/gen/dialogflow2-cli/mkdocs.yml index 50c3a178ec..d79b7936cf 100644 --- a/gen/dialogflow2-cli/mkdocs.yml +++ b/gen/dialogflow2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v1.0.10+20190629 +site_name: Dialogflow v1.0.11+20190629 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 a79f58d814..3d9e67c1f2 100644 --- a/gen/dialogflow2-cli/src/main.rs +++ b/gen/dialogflow2-cli/src/main.rs @@ -4167,7 +4167,7 @@ fn main() { let mut app = App::new("dialogflow2") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .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 e3d6dffbbd..fc54718d2c 100644 --- a/gen/dialogflow2/Cargo.toml +++ b/gen/dialogflow2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dialogflow2" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow2/1.0.10+20190629" +documentation = "https://docs.rs/google-dialogflow2/1.0.11+20190629" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dialogflow2/README.md b/gen/dialogflow2/README.md index bb517db42a..d94da7d051 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Dialogflow* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_dialogflow2/struct.Dialogflow.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.Dialogflow.html) ... * projects - * [*agent*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentCall.html), [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeBatchDeleteCall.html), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeBatchUpdateCall.html), [*agent entity types create*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeCreateCall.html), [*agent entity types delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeDeleteCall.html), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeEntityBatchCreateCall.html), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeEntityBatchDeleteCall.html), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeEntityBatchUpdateCall.html), [*agent entity types get*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeGetCall.html), [*agent entity types list*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeListCall.html), [*agent entity types patch*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentEntityTypePatchCall.html), [*agent export*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentExportCall.html), [*agent import*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentImportCall.html), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentBatchDeleteCall.html), [*agent intents batch update*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentBatchUpdateCall.html), [*agent intents create*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentCreateCall.html), [*agent intents delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentDeleteCall.html), [*agent intents get*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentGetCall.html), [*agent intents list*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentListCall.html), [*agent intents patch*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentIntentPatchCall.html), [*agent restore*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentRestoreCall.html), [*agent search*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSearchCall.html), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionContextCreateCall.html), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionContextDeleteCall.html), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionContextGetCall.html), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionContextListCall.html), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionContextPatchCall.html), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionDeleteContextCall.html), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionDetectIntentCall.html), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeCreateCall.html), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeDeleteCall.html), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeGetCall.html), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeListCall.html), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypePatchCall.html), [*agent train*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectAgentTrainCall.html), [*delete agent*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectDeleteAgentCall.html), [*get agent*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectGetAgentCall.html) and [*operations get*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/struct.ProjectOperationGetCall.html) + * [*agent*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentCall.html), [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeBatchDeleteCall.html), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeBatchUpdateCall.html), [*agent entity types create*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeCreateCall.html), [*agent entity types delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeDeleteCall.html), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeEntityBatchCreateCall.html), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeEntityBatchDeleteCall.html), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeEntityBatchUpdateCall.html), [*agent entity types get*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeGetCall.html), [*agent entity types list*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypeListCall.html), [*agent entity types patch*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentEntityTypePatchCall.html), [*agent export*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentExportCall.html), [*agent import*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentImportCall.html), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentBatchDeleteCall.html), [*agent intents batch update*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentBatchUpdateCall.html), [*agent intents create*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentCreateCall.html), [*agent intents delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentDeleteCall.html), [*agent intents get*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentGetCall.html), [*agent intents list*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentListCall.html), [*agent intents patch*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentIntentPatchCall.html), [*agent restore*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentRestoreCall.html), [*agent search*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSearchCall.html), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionContextCreateCall.html), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionContextDeleteCall.html), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionContextGetCall.html), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionContextListCall.html), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionContextPatchCall.html), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionDeleteContextCall.html), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionDetectIntentCall.html), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeCreateCall.html), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeDeleteCall.html), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeGetCall.html), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypeListCall.html), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentSessionEntityTypePatchCall.html), [*agent train*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectAgentTrainCall.html), [*delete agent*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectDeleteAgentCall.html), [*get agent*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectGetAgentCall.html) and [*operations get*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.ProjectOperationGetCall.html) @@ -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/1.0.10+20190629/google_dialogflow2/struct.Dialogflow.html)** +* **[Hub](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/struct.Dialogflow.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.Part.html)** + * **[Parts](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_dialogflow2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.CallBuilder.html) 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/1.0.11+20190629/google_dialogflow2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_dialogflow2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dialogflow2/1.0.10+20190629/google_dialogflow2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.ResponseResult.html) 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/1.0.10+20190629/google_dialogflow2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_dialogflow2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_dialogflow2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dialogflow2/1.0.11+20190629/google_dialogflow2/trait.RequestValue.html) are 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/cmn.rs b/gen/dialogflow2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dialogflow2/src/cmn.rs +++ b/gen/dialogflow2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dialogflow2/src/lib.rs b/gen/dialogflow2/src/lib.rs index 6066f83ae6..af9e45e549 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Dialogflow* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Dialogflow* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -344,7 +344,7 @@ impl<'a, C, A> Dialogflow Dialogflow { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -355,7 +355,7 @@ impl<'a, C, A> Dialogflow } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dialogflow2_beta1-cli/Cargo.toml b/gen/dialogflow2_beta1-cli/Cargo.toml index 4e149f7506..62a82234c8 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 = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dialogflow2_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dialogflow2_beta1] path = "../dialogflow2_beta1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/dialogflow2_beta1-cli/README.md b/gen/dialogflow2_beta1-cli/README.md index 253de382d1..8067fa652a 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Dialogflow* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash dialogflow2-beta1 [options] diff --git a/gen/dialogflow2_beta1-cli/mkdocs.yml b/gen/dialogflow2_beta1-cli/mkdocs.yml index bce23f1d8f..eb8ab827f3 100644 --- a/gen/dialogflow2_beta1-cli/mkdocs.yml +++ b/gen/dialogflow2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v1.0.10+20190629 +site_name: Dialogflow v1.0.11+20190629 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 4237cc728b..ab19035613 100644 --- a/gen/dialogflow2_beta1-cli/src/main.rs +++ b/gen/dialogflow2_beta1-cli/src/main.rs @@ -7766,7 +7766,7 @@ fn main() { let mut app = App::new("dialogflow2-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .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 b8c51a362f..a8b39dc203 100644 --- a/gen/dialogflow2_beta1/Cargo.toml +++ b/gen/dialogflow2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2_beta1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dialogflow2_beta1" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629" +documentation = "https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dialogflow2_beta1/README.md b/gen/dialogflow2_beta1/README.md index acdc0d87d8..ddbfd601cf 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Dialogflow* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_dialogflow2_beta1/struct.Dialogflow.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.Dialogflow.html) ... * projects - * [*agent*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentCall.html), [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeBatchDeleteCall.html), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeBatchUpdateCall.html), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeCreateCall.html), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeDeleteCall.html), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeEntityBatchCreateCall.html), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeEntityBatchDeleteCall.html), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeEntityBatchUpdateCall.html), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeGetCall.html), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeListCall.html), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypePatchCall.html), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextCreateCall.html), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextDeleteCall.html), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextGetCall.html), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextListCall.html), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextPatchCall.html), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionDeleteContextCall.html), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionDetectIntentCall.html), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeCreateCall.html), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall.html), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeGetCall.html), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeListCall.html), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypePatchCall.html), [*agent export*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentExportCall.html), [*agent import*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentImportCall.html), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentBatchDeleteCall.html), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentBatchUpdateCall.html), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentCreateCall.html), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentDeleteCall.html), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentGetCall.html), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentListCall.html), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentPatchCall.html), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseCreateCall.html), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDeleteCall.html), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentCreateCall.html), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentDeleteCall.html), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentGetCall.html), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentListCall.html), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentPatchCall.html), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentReloadCall.html), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseGetCall.html), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseListCall.html), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBasePatchCall.html), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentRestoreCall.html), [*agent search*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSearchCall.html), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextCreateCall.html), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextDeleteCall.html), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextGetCall.html), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextListCall.html), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextPatchCall.html), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionDeleteContextCall.html), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionDetectIntentCall.html), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeCreateCall.html), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeDeleteCall.html), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeGetCall.html), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeListCall.html), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypePatchCall.html), [*agent train*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectAgentTrainCall.html), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectDeleteAgentCall.html), [*get agent*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectGetAgentCall.html), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseCreateCall.html), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDeleteCall.html), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentCreateCall.html), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentDeleteCall.html), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentGetCall.html), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentListCall.html), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentPatchCall.html), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentReloadCall.html), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseGetCall.html), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseListCall.html), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBasePatchCall.html) and [*operations get*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/struct.ProjectOperationGetCall.html) + * [*agent*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentCall.html), [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeBatchDeleteCall.html), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeBatchUpdateCall.html), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeCreateCall.html), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeDeleteCall.html), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeEntityBatchCreateCall.html), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeEntityBatchDeleteCall.html), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeEntityBatchUpdateCall.html), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeGetCall.html), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypeListCall.html), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEntityTypePatchCall.html), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextCreateCall.html), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextDeleteCall.html), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextGetCall.html), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextListCall.html), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionContextPatchCall.html), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionDeleteContextCall.html), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionDetectIntentCall.html), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeCreateCall.html), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall.html), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeGetCall.html), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypeListCall.html), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentEnvironmentUserSessionEntityTypePatchCall.html), [*agent export*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentExportCall.html), [*agent import*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentImportCall.html), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentBatchDeleteCall.html), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentBatchUpdateCall.html), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentCreateCall.html), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentDeleteCall.html), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentGetCall.html), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentListCall.html), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentIntentPatchCall.html), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseCreateCall.html), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDeleteCall.html), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentCreateCall.html), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentDeleteCall.html), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentGetCall.html), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentListCall.html), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentPatchCall.html), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseDocumentReloadCall.html), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseGetCall.html), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBaseListCall.html), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentKnowledgeBasePatchCall.html), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentRestoreCall.html), [*agent search*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSearchCall.html), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextCreateCall.html), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextDeleteCall.html), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextGetCall.html), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextListCall.html), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionContextPatchCall.html), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionDeleteContextCall.html), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionDetectIntentCall.html), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeCreateCall.html), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeDeleteCall.html), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeGetCall.html), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypeListCall.html), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentSessionEntityTypePatchCall.html), [*agent train*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectAgentTrainCall.html), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectDeleteAgentCall.html), [*get agent*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectGetAgentCall.html), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseCreateCall.html), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDeleteCall.html), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentCreateCall.html), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentDeleteCall.html), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentGetCall.html), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentListCall.html), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentPatchCall.html), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseDocumentReloadCall.html), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseGetCall.html), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBaseListCall.html), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectKnowledgeBasePatchCall.html) and [*operations get*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.ProjectOperationGetCall.html) @@ -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/1.0.10+20190629/google_dialogflow2_beta1/struct.Dialogflow.html)** +* **[Hub](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/struct.Dialogflow.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/enum.Result.html) 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/1.0.10+20190629/google_dialogflow2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_dialogflow2_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.CallBuilder.html) 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/1.0.11+20190629/google_dialogflow2_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_dialogflow2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dialogflow2_beta1/1.0.10+20190629/google_dialogflow2_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.ResponseResult.html) 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/1.0.10+20190629/google_dialogflow2_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_dialogflow2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_dialogflow2_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dialogflow2_beta1/1.0.11+20190629/google_dialogflow2_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/dialogflow2_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dialogflow2_beta1/src/cmn.rs +++ b/gen/dialogflow2_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dialogflow2_beta1/src/lib.rs b/gen/dialogflow2_beta1/src/lib.rs index 97e84c00d7..f435693eee 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Dialogflow* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Dialogflow* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -354,7 +354,7 @@ impl<'a, C, A> Dialogflow Dialogflow { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -365,7 +365,7 @@ impl<'a, C, A> Dialogflow } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/digitalassetlinks1-cli/Cargo.toml b/gen/digitalassetlinks1-cli/Cargo.toml index 0d1a796f45..38b4529ada 100644 --- a/gen/digitalassetlinks1-cli/Cargo.toml +++ b/gen/digitalassetlinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-digitalassetlinks1-cli" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with digitalassetlinks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/digitalassetlinks1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-digitalassetlinks1] path = "../digitalassetlinks1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" diff --git a/gen/digitalassetlinks1-cli/README.md b/gen/digitalassetlinks1-cli/README.md index c12266d364..47d058456d 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 *20190619*. The CLI is at version *1.0.10*. +This documentation was generated from the *digitalassetlinks* API at revision *20190619*. The CLI is at version *1.0.11*. ```bash digitalassetlinks1 [options] diff --git a/gen/digitalassetlinks1-cli/mkdocs.yml b/gen/digitalassetlinks1-cli/mkdocs.yml index ce78b6b0d8..c15131e17d 100644 --- a/gen/digitalassetlinks1-cli/mkdocs.yml +++ b/gen/digitalassetlinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: digitalassetlinks v1.0.10+20190619 +site_name: digitalassetlinks v1.0.11+20190619 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 02a795c160..9143b23cc1 100644 --- a/gen/digitalassetlinks1-cli/src/main.rs +++ b/gen/digitalassetlinks1-cli/src/main.rs @@ -371,7 +371,7 @@ fn main() { let mut app = App::new("digitalassetlinks1") .author("Sebastian Thiel ") - .version("1.0.10+20190619") + .version("1.0.11+20190619") .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 4f59e67f9a..ebb9d07bc6 100644 --- a/gen/digitalassetlinks1/Cargo.toml +++ b/gen/digitalassetlinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-digitalassetlinks1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with digitalassetlinks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/digitalassetlinks1" homepage = "https://developers.google.com/digital-asset-links/" -documentation = "https://docs.rs/google-digitalassetlinks1/1.0.10+20190619" +documentation = "https://docs.rs/google-digitalassetlinks1/1.0.11+20190619" license = "MIT" keywords = ["digitalassetlinks", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/digitalassetlinks1/README.md b/gen/digitalassetlinks1/README.md index 5cb656a647..15f5384e05 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *digitalassetlinks* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190619/google_digitalassetlinks1/struct.Digitalassetlinks.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/struct.Digitalassetlinks.html) ... * assetlinks - * [*check*](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/struct.AssetlinkCheckCall.html) -* [statements](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/struct.Statement.html) - * [*list*](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/struct.StatementListCall.html) + * [*check*](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/struct.AssetlinkCheckCall.html) +* [statements](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/struct.Statement.html) + * [*list*](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/struct.StatementListCall.html) @@ -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/1.0.10+20190619/google_digitalassetlinks1/struct.Digitalassetlinks.html)** +* **[Hub](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/struct.Digitalassetlinks.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.Part.html)** + * **[Parts](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190619/google_digitalassetlinks1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.CallBuilder.html) 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/1.0.11+20190619/google_digitalassetlinks1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190619/google_digitalassetlinks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-digitalassetlinks1/1.0.10+20190619/google_digitalassetlinks1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.ResponseResult.html) 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/1.0.10+20190619/google_digitalassetlinks1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190619/google_digitalassetlinks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190619/google_digitalassetlinks1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-digitalassetlinks1/1.0.11+20190619/google_digitalassetlinks1/trait.RequestValue.html) are 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/cmn.rs b/gen/digitalassetlinks1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/digitalassetlinks1/src/cmn.rs +++ b/gen/digitalassetlinks1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/digitalassetlinks1/src/lib.rs b/gen/digitalassetlinks1/src/lib.rs index 80a67f9542..e4686ec440 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *digitalassetlinks* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *digitalassetlinks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/digital-asset-links/). @@ -311,7 +311,7 @@ impl<'a, C, A> Digitalassetlinks Digitalassetlinks { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://digitalassetlinks.googleapis.com/".to_string(), _root_url: "https://digitalassetlinks.googleapis.com/".to_string(), } @@ -325,7 +325,7 @@ impl<'a, C, A> Digitalassetlinks } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/discovery1-cli/Cargo.toml b/gen/discovery1-cli/Cargo.toml index c7bb8052bd..6f107d60e3 100644 --- a/gen/discovery1-cli/Cargo.toml +++ b/gen/discovery1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-discovery1-cli" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/discovery1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-discovery1] path = "../discovery1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" diff --git a/gen/discovery1-cli/README.md b/gen/discovery1-cli/README.md index dcad6e0cb7..f4d20bebd2 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 *20190619*. The CLI is at version *1.0.10*. +This documentation was generated from the *discovery* API at revision *20190619*. The CLI is at version *1.0.11*. ```bash discovery1 [options] diff --git a/gen/discovery1-cli/mkdocs.yml b/gen/discovery1-cli/mkdocs.yml index a217c82fb9..be2fe05eb1 100644 --- a/gen/discovery1-cli/mkdocs.yml +++ b/gen/discovery1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: discovery v1.0.10+20190619 +site_name: discovery v1.0.11+20190619 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 24966a863d..3c38c24e3b 100644 --- a/gen/discovery1-cli/src/main.rs +++ b/gen/discovery1-cli/src/main.rs @@ -303,7 +303,7 @@ fn main() { let mut app = App::new("discovery1") .author("Sebastian Thiel ") - .version("1.0.10+20190619") + .version("1.0.11+20190619") .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 c92dba168f..9118cd31c6 100644 --- a/gen/discovery1/Cargo.toml +++ b/gen/discovery1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-discovery1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/discovery1" homepage = "https://developers.google.com/discovery/" -documentation = "https://docs.rs/google-discovery1/1.0.10+20190619" +documentation = "https://docs.rs/google-discovery1/1.0.11+20190619" license = "MIT" keywords = ["discovery", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/discovery1/README.md b/gen/discovery1/README.md index 805dd2bad1..975361e125 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *discovery* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190619/google_discovery1/struct.Discovery.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/struct.Discovery.html) ... * apis - * [*get rest*](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/struct.ApiGetRestCall.html) and [*list*](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/struct.ApiListCall.html) + * [*get rest*](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/struct.ApiGetRestCall.html) and [*list*](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/struct.ApiListCall.html) @@ -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/1.0.10+20190619/google_discovery1/struct.Discovery.html)** +* **[Hub](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/struct.Discovery.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.Part.html)** + * **[Parts](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190619/google_discovery1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-discovery1/1.0.10+20190619/google_discovery1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.CallBuilder.html) 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/1.0.11+20190619/google_discovery1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190619/google_discovery1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-discovery1/1.0.10+20190619/google_discovery1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.ResponseResult.html) 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/1.0.10+20190619/google_discovery1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190619/google_discovery1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190619/google_discovery1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-discovery1/1.0.11+20190619/google_discovery1/trait.RequestValue.html) are 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/cmn.rs b/gen/discovery1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/discovery1/src/cmn.rs +++ b/gen/discovery1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/discovery1/src/lib.rs b/gen/discovery1/src/lib.rs index 208d0a61c0..ed58db163e 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *discovery* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *discovery* *v1* API can be found at the //! [official documentation site](https://developers.google.com/discovery/). @@ -295,7 +295,7 @@ impl<'a, C, A> Discovery Discovery { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/discovery/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -306,7 +306,7 @@ impl<'a, C, A> Discovery } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dlp2-cli/Cargo.toml b/gen/dlp2-cli/Cargo.toml index 2f7407c926..85847a2053 100644 --- a/gen/dlp2-cli/Cargo.toml +++ b/gen/dlp2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dlp2-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dlp2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dlp2] path = "../dlp2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/dlp2-cli/README.md b/gen/dlp2-cli/README.md index 5690d028bb..93e3176c99 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *DLP* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash dlp2 [options] diff --git a/gen/dlp2-cli/mkdocs.yml b/gen/dlp2-cli/mkdocs.yml index 342c03833b..7eb44a852d 100644 --- a/gen/dlp2-cli/mkdocs.yml +++ b/gen/dlp2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v1.0.10+20190629 +site_name: DLP v1.0.11+20190629 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 1beee7bbb4..c6e55d784a 100644 --- a/gen/dlp2-cli/src/main.rs +++ b/gen/dlp2-cli/src/main.rs @@ -5167,7 +5167,7 @@ fn main() { let mut app = App::new("dlp2") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .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 c985df690d..0fb7de4e8f 100644 --- a/gen/dlp2/Cargo.toml +++ b/gen/dlp2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dlp2" homepage = "https://cloud.google.com/dlp/docs/" -documentation = "https://docs.rs/google-dlp2/1.0.10+20190629" +documentation = "https://docs.rs/google-dlp2/1.0.11+20190629" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dlp2/README.md b/gen/dlp2/README.md index 43eacd5580..da0765a1e4 100644 --- a/gen/dlp2/README.md +++ b/gen/dlp2/README.md @@ -5,20 +5,20 @@ 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *DLP* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_dlp2/struct.DLP.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.DLP.html) ... * info types - * [*list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.InfoTypeListCall.html) + * [*list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.InfoTypeListCall.html) * organizations - * [*deidentify templates create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateCreateCall.html), [*deidentify templates delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateDeleteCall.html), [*deidentify templates get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateGetCall.html), [*deidentify templates list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateListCall.html), [*deidentify templates patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationDeidentifyTemplatePatchCall.html), [*inspect templates create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationInspectTemplateCreateCall.html), [*inspect templates delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationInspectTemplateDeleteCall.html), [*inspect templates get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationInspectTemplateGetCall.html), [*inspect templates list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationInspectTemplateListCall.html), [*inspect templates patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationInspectTemplatePatchCall.html), [*stored info types create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationStoredInfoTypeCreateCall.html), [*stored info types delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationStoredInfoTypeDeleteCall.html), [*stored info types get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationStoredInfoTypeGetCall.html), [*stored info types list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationStoredInfoTypeListCall.html) and [*stored info types patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.OrganizationStoredInfoTypePatchCall.html) + * [*deidentify templates create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateCreateCall.html), [*deidentify templates delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateDeleteCall.html), [*deidentify templates get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateGetCall.html), [*deidentify templates list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationDeidentifyTemplateListCall.html), [*deidentify templates patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationDeidentifyTemplatePatchCall.html), [*inspect templates create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationInspectTemplateCreateCall.html), [*inspect templates delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationInspectTemplateDeleteCall.html), [*inspect templates get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationInspectTemplateGetCall.html), [*inspect templates list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationInspectTemplateListCall.html), [*inspect templates patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationInspectTemplatePatchCall.html), [*stored info types create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationStoredInfoTypeCreateCall.html), [*stored info types delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationStoredInfoTypeDeleteCall.html), [*stored info types get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationStoredInfoTypeGetCall.html), [*stored info types list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationStoredInfoTypeListCall.html) and [*stored info types patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.OrganizationStoredInfoTypePatchCall.html) * projects - * [*content deidentify*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectContentDeidentifyCall.html), [*content inspect*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectContentInspectCall.html), [*content reidentify*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectContentReidentifyCall.html), [*deidentify templates create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDeidentifyTemplateCreateCall.html), [*deidentify templates delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDeidentifyTemplateDeleteCall.html), [*deidentify templates get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDeidentifyTemplateGetCall.html), [*deidentify templates list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDeidentifyTemplateListCall.html), [*deidentify templates patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDeidentifyTemplatePatchCall.html), [*dlp jobs cancel*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDlpJobCancelCall.html), [*dlp jobs create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDlpJobCreateCall.html), [*dlp jobs delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDlpJobDeleteCall.html), [*dlp jobs get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDlpJobGetCall.html), [*dlp jobs list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectDlpJobListCall.html), [*image redact*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectImageRedactCall.html), [*inspect templates create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectInspectTemplateCreateCall.html), [*inspect templates delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectInspectTemplateDeleteCall.html), [*inspect templates get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectInspectTemplateGetCall.html), [*inspect templates list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectInspectTemplateListCall.html), [*inspect templates patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectInspectTemplatePatchCall.html), [*job triggers activate*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectJobTriggerActivateCall.html), [*job triggers create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectJobTriggerCreateCall.html), [*job triggers delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectJobTriggerDeleteCall.html), [*job triggers get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectJobTriggerGetCall.html), [*job triggers list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectJobTriggerListCall.html), [*job triggers patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectJobTriggerPatchCall.html), [*locations content deidentify*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectLocationContentDeidentifyCall.html), [*stored info types create*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectStoredInfoTypeCreateCall.html), [*stored info types delete*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectStoredInfoTypeDeleteCall.html), [*stored info types get*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectStoredInfoTypeGetCall.html), [*stored info types list*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectStoredInfoTypeListCall.html) and [*stored info types patch*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/struct.ProjectStoredInfoTypePatchCall.html) + * [*content deidentify*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectContentDeidentifyCall.html), [*content inspect*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectContentInspectCall.html), [*content reidentify*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectContentReidentifyCall.html), [*deidentify templates create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDeidentifyTemplateCreateCall.html), [*deidentify templates delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDeidentifyTemplateDeleteCall.html), [*deidentify templates get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDeidentifyTemplateGetCall.html), [*deidentify templates list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDeidentifyTemplateListCall.html), [*deidentify templates patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDeidentifyTemplatePatchCall.html), [*dlp jobs cancel*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDlpJobCancelCall.html), [*dlp jobs create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDlpJobCreateCall.html), [*dlp jobs delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDlpJobDeleteCall.html), [*dlp jobs get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDlpJobGetCall.html), [*dlp jobs list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectDlpJobListCall.html), [*image redact*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectImageRedactCall.html), [*inspect templates create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectInspectTemplateCreateCall.html), [*inspect templates delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectInspectTemplateDeleteCall.html), [*inspect templates get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectInspectTemplateGetCall.html), [*inspect templates list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectInspectTemplateListCall.html), [*inspect templates patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectInspectTemplatePatchCall.html), [*job triggers activate*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectJobTriggerActivateCall.html), [*job triggers create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectJobTriggerCreateCall.html), [*job triggers delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectJobTriggerDeleteCall.html), [*job triggers get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectJobTriggerGetCall.html), [*job triggers list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectJobTriggerListCall.html), [*job triggers patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectJobTriggerPatchCall.html), [*locations content deidentify*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectLocationContentDeidentifyCall.html), [*stored info types create*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectStoredInfoTypeCreateCall.html), [*stored info types delete*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectStoredInfoTypeDeleteCall.html), [*stored info types get*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectStoredInfoTypeGetCall.html), [*stored info types list*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectStoredInfoTypeListCall.html) and [*stored info types patch*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.ProjectStoredInfoTypePatchCall.html) @@ -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-dlp2/1.0.10+20190629/google_dlp2/struct.DLP.html)** +* **[Hub](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/struct.DLP.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.Part.html)** + * **[Parts](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_dlp2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-dlp2/1.0.10+20190629/google_dlp2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.CallBuilder.html) 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/1.0.11+20190629/google_dlp2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_dlp2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dlp2/1.0.10+20190629/google_dlp2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.ResponseResult.html) 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/1.0.10+20190629/google_dlp2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_dlp2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_dlp2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dlp2/1.0.11+20190629/google_dlp2/trait.RequestValue.html) are 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/cmn.rs b/gen/dlp2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dlp2/src/cmn.rs +++ b/gen/dlp2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dlp2/src/lib.rs b/gen/dlp2/src/lib.rs index 2eb4505e4a..2c113cd6ab 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *DLP* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *DLP* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). @@ -341,7 +341,7 @@ impl<'a, C, A> DLP DLP { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://dlp.googleapis.com/".to_string(), _root_url: "https://dlp.googleapis.com/".to_string(), } @@ -358,7 +358,7 @@ impl<'a, C, A> DLP } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dlp2_beta1-cli/Cargo.toml b/gen/dlp2_beta1-cli/Cargo.toml index 5a5762e342..77b151b803 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 = "1.0.10+20171205" +version = "1.0.11+20171205" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dlp2_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dlp2_beta1] path = "../dlp2_beta1" -version = "1.0.10+20171205" +version = "1.0.11+20171205" diff --git a/gen/dlp2_beta1-cli/README.md b/gen/dlp2_beta1-cli/README.md index d6eb6c1948..78af32b0b9 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 *1.0.10*. +This documentation was generated from the *DLP* API at revision *20171205*. The CLI is at version *1.0.11*. ```bash dlp2-beta1 [options] diff --git a/gen/dlp2_beta1-cli/mkdocs.yml b/gen/dlp2_beta1-cli/mkdocs.yml index aa88dd3039..17bea17642 100644 --- a/gen/dlp2_beta1-cli/mkdocs.yml +++ b/gen/dlp2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v1.0.10+20171205 +site_name: DLP v1.0.11+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 3ead1fa155..f61d5f639a 100644 --- a/gen/dlp2_beta1-cli/src/main.rs +++ b/gen/dlp2_beta1-cli/src/main.rs @@ -1743,7 +1743,7 @@ fn main() { let mut app = App::new("dlp2-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20171205") + .version("1.0.11+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 7ba6d83cfc..73ce3d8245 100644 --- a/gen/dlp2_beta1/Cargo.toml +++ b/gen/dlp2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2_beta1" -version = "1.0.10+20171205" +version = "1.0.11+20171205" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dlp2_beta1" homepage = "https://cloud.google.com/dlp/docs/" -documentation = "https://docs.rs/google-dlp2_beta1/1.0.10+20171205" +documentation = "https://docs.rs/google-dlp2_beta1/1.0.11+20171205" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dlp2_beta1/README.md b/gen/dlp2_beta1/README.md index 23da579d15..dbfd68c9dd 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 *1.0.10+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *DLP* crate version *1.0.11+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20171205/google_dlp2_beta1/struct.DLP.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.DLP.html) ... * content - * [*deidentify*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.ContentDeidentifyCall.html), [*inspect*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.ContentInspectCall.html) and [*redact*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.ContentRedactCall.html) + * [*deidentify*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.ContentDeidentifyCall.html), [*inspect*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.ContentInspectCall.html) and [*redact*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.ContentRedactCall.html) * data source - * [*analyze*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.DataSourceAnalyzeCall.html) + * [*analyze*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.DataSourceAnalyzeCall.html) * inspect - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.InspectOperationCancelCall.html), [*operations create*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.InspectOperationCreateCall.html), [*operations delete*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.InspectOperationDeleteCall.html), [*operations get*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.InspectOperationGetCall.html), [*operations list*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.InspectOperationListCall.html) and [*results findings list*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.InspectResultFindingListCall.html) + * [*operations cancel*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.InspectOperationCancelCall.html), [*operations create*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.InspectOperationCreateCall.html), [*operations delete*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.InspectOperationDeleteCall.html), [*operations get*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.InspectOperationGetCall.html), [*operations list*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.InspectOperationListCall.html) and [*results findings list*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.InspectResultFindingListCall.html) * risk analysis - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationCancelCall.html), [*operations delete*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationDeleteCall.html), [*operations get*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationGetCall.html) and [*operations list*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationListCall.html) + * [*operations cancel*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationCancelCall.html), [*operations delete*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationDeleteCall.html), [*operations get*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationGetCall.html) and [*operations list*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.RiskAnalysiOperationListCall.html) * root categories - * [*info types list*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.RootCategoryInfoTypeListCall.html) and [*list*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/struct.RootCategoryListCall.html) + * [*info types list*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.RootCategoryInfoTypeListCall.html) and [*list*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.RootCategoryListCall.html) @@ -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/1.0.10+20171205/google_dlp2_beta1/struct.DLP.html)** +* **[Hub](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/struct.DLP.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/enum.Result.html) 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/1.0.10+20171205/google_dlp2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20171205/google_dlp2_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.CallBuilder.html) 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/1.0.11+20171205/google_dlp2_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20171205/google_dlp2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dlp2_beta1/1.0.10+20171205/google_dlp2_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.ResponseResult.html) 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/1.0.10+20171205/google_dlp2_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20171205/google_dlp2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20171205/google_dlp2_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dlp2_beta1/1.0.11+20171205/google_dlp2_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/dlp2_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dlp2_beta1/src/cmn.rs +++ b/gen/dlp2_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dlp2_beta1/src/lib.rs b/gen/dlp2_beta1/src/lib.rs index 5854efede1..81776e123a 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 *1.0.10+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *DLP* crate version *1.0.11+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *DLP* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). @@ -340,7 +340,7 @@ impl<'a, C, A> DLP DLP { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://dlp.googleapis.com/".to_string(), _root_url: "https://dlp.googleapis.com/".to_string(), } @@ -363,7 +363,7 @@ impl<'a, C, A> DLP } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dns1-cli/Cargo.toml b/gen/dns1-cli/Cargo.toml index 4f9dfb1551..1098a05b7f 100644 --- a/gen/dns1-cli/Cargo.toml +++ b/gen/dns1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dns1-cli" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dns1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-dns1] path = "../dns1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/dns1-cli/README.md b/gen/dns1-cli/README.md index fe4371843c..c5db8502e8 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *dns* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash dns1 [options] diff --git a/gen/dns1-cli/mkdocs.yml b/gen/dns1-cli/mkdocs.yml index e0b1b667f5..da48aee345 100644 --- a/gen/dns1-cli/mkdocs.yml +++ b/gen/dns1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dns v1.0.10+20190625 +site_name: dns v1.0.11+20190625 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 230283ca14..1c0bb38ebf 100644 --- a/gen/dns1-cli/src/main.rs +++ b/gen/dns1-cli/src/main.rs @@ -1732,7 +1732,7 @@ fn main() { let mut app = App::new("dns1") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .about("Configures and serves authoritative DNS records.") .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 a1ac9d3b88..39d2d04525 100644 --- a/gen/dns1/Cargo.toml +++ b/gen/dns1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dns1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dns1" homepage = "https://developers.google.com/cloud-dns" -documentation = "https://docs.rs/google-dns1/1.0.10+20190625" +documentation = "https://docs.rs/google-dns1/1.0.11+20190625" license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/dns1/README.md b/gen/dns1/README.md index 9b3b597df7..62237b5e1e 100644 --- a/gen/dns1/README.md +++ b/gen/dns1/README.md @@ -5,26 +5,26 @@ 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *dns* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *dns* *v1* API can be found at the [official documentation site](https://developers.google.com/cloud-dns). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.Dns.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.Dns.html) ... -* [changes](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.Change.html) - * [*create*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ChangeCreateCall.html), [*get*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ChangeGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ChangeListCall.html) -* [dns keys](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.DnsKey.html) - * [*get*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.DnsKeyGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.DnsKeyListCall.html) +* [changes](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.Change.html) + * [*create*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ChangeCreateCall.html), [*get*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ChangeGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ChangeListCall.html) +* [dns keys](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.DnsKey.html) + * [*get*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.DnsKeyGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.DnsKeyListCall.html) * managed zone operations - * [*get*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneOperationGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneOperationListCall.html) -* [managed zones](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZone.html) - * [*create*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneCreateCall.html), [*delete*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneDeleteCall.html), [*get*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneGetCall.html), [*list*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneListCall.html), [*patch*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZonePatchCall.html) and [*update*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ManagedZoneUpdateCall.html) -* [projects](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.Project.html) - * [*get*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ProjectGetCall.html) -* [resource record sets](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ResourceRecordSet.html) - * [*list*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/struct.ResourceRecordSetListCall.html) + * [*get*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneOperationGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneOperationListCall.html) +* [managed zones](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZone.html) + * [*create*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneCreateCall.html), [*delete*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneDeleteCall.html), [*get*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneGetCall.html), [*list*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneListCall.html), [*patch*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZonePatchCall.html) and [*update*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ManagedZoneUpdateCall.html) +* [projects](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.Project.html) + * [*get*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ProjectGetCall.html) +* [resource record sets](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ResourceRecordSet.html) + * [*list*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.ResourceRecordSetListCall.html) @@ -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-dns1/1.0.10+20190625/google_dns1/struct.Dns.html)** +* **[Hub](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/struct.Dns.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_dns1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-dns1/1.0.10+20190625/google_dns1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.CallBuilder.html) 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/1.0.11+20190625/google_dns1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_dns1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dns1/1.0.10+20190625/google_dns1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.ResponseResult.html) 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/1.0.10+20190625/google_dns1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_dns1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_dns1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dns1/1.0.11+20190625/google_dns1/trait.RequestValue.html) are 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/cmn.rs b/gen/dns1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/dns1/src/cmn.rs +++ b/gen/dns1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/dns1/src/lib.rs b/gen/dns1/src/lib.rs index 34468917fe..1711e45960 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *dns* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *dns* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-dns). @@ -358,7 +358,7 @@ impl<'a, C, A> Dns Dns { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://dns.googleapis.com/dns/v1/projects/".to_string(), _root_url: "https://dns.googleapis.com/".to_string(), } @@ -384,7 +384,7 @@ impl<'a, C, A> Dns } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclickbidmanager1-cli/Cargo.toml b/gen/doubleclickbidmanager1-cli/Cargo.toml index bcc71a06d1..6b1ab74328 100644 --- a/gen/doubleclickbidmanager1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclickbidmanager1-cli" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclickbidmanager1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-doubleclickbidmanager1] path = "../doubleclickbidmanager1" -version = "1.0.10+20190618" +version = "1.0.11+20190618" diff --git a/gen/doubleclickbidmanager1-cli/README.md b/gen/doubleclickbidmanager1-cli/README.md index 6196881aae..0b9bff3121 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 *20190618*. The CLI is at version *1.0.10*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20190618*. The CLI is at version *1.0.11*. ```bash doubleclickbidmanager1 [options] diff --git a/gen/doubleclickbidmanager1-cli/mkdocs.yml b/gen/doubleclickbidmanager1-cli/mkdocs.yml index de0ca44009..176c3e6bbc 100644 --- a/gen/doubleclickbidmanager1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v1.0.10+20190618 +site_name: DoubleClick Bid Manager v1.0.11+20190618 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 cb7f1a8d5d..cfa6ecbe2e 100644 --- a/gen/doubleclickbidmanager1-cli/src/main.rs +++ b/gen/doubleclickbidmanager1-cli/src/main.rs @@ -1045,7 +1045,7 @@ fn main() { let mut app = App::new("doubleclickbidmanager1") .author("Sebastian Thiel ") - .version("1.0.10+20190618") + .version("1.0.11+20190618") .about("API for viewing and managing your reports in DoubleClick Bid Manager.") .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 e0d3f7ea7f..dddc16b024 100644 --- a/gen/doubleclickbidmanager1/Cargo.toml +++ b/gen/doubleclickbidmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1" -version = "1.0.10+20190618" +version = "1.0.11+20190618" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclickbidmanager1" homepage = "https://developers.google.com/bid-manager/" -documentation = "https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618" +documentation = "https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/doubleclickbidmanager1/README.md b/gen/doubleclickbidmanager1/README.md index 4130c98ac0..556a662652 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190618/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.LineitemDownloadlineitemCall.html) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.LineitemUploadlineitemCall.html) -* [queries](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.Query.html) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.QueryCreatequeryCall.html), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.QueryDeletequeryCall.html), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.QueryGetqueryCall.html), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.QueryListqueryCall.html) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.QueryRunqueryCall.html) -* [reports](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.Report.html) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.ReportListreportCall.html) + * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.LineitemDownloadlineitemCall.html) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.LineitemUploadlineitemCall.html) +* [queries](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.Query.html) + * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.QueryCreatequeryCall.html), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.QueryDeletequeryCall.html), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.QueryGetqueryCall.html), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.QueryListqueryCall.html) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.QueryRunqueryCall.html) +* [reports](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.Report.html) + * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.ReportListreportCall.html) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/struct.SdfDownloadCall.html) + * [*download*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.SdfDownloadCall.html) @@ -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/1.0.10+20190618/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190618/google_doubleclickbidmanager1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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/1.0.10+20190618/google_doubleclickbidmanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html) 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/1.0.11+20190618/google_doubleclickbidmanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190618/google_doubleclickbidmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-doubleclickbidmanager1/1.0.10+20190618/google_doubleclickbidmanager1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.ResponseResult.html) 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/1.0.10+20190618/google_doubleclickbidmanager1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190618/google_doubleclickbidmanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1/1.0.11+20190618/google_doubleclickbidmanager1/trait.RequestValue.html) are 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/cmn.rs b/gen/doubleclickbidmanager1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/doubleclickbidmanager1/src/cmn.rs +++ b/gen/doubleclickbidmanager1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/doubleclickbidmanager1/src/lib.rs b/gen/doubleclickbidmanager1/src/lib.rs index 5074cd4d2c..15971b1687 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 *1.0.10+20190618*, where *20190618* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.11+20190618*, where *20190618* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). @@ -324,7 +324,7 @@ impl<'a, C, A> DoubleClickBidManager DoubleClickBidManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/doubleclickbidmanager/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> DoubleClickBidManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclicksearch2-cli/Cargo.toml b/gen/doubleclicksearch2-cli/Cargo.toml index 6107738f76..1d0f22ba6e 100644 --- a/gen/doubleclicksearch2-cli/Cargo.toml +++ b/gen/doubleclicksearch2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclicksearch2-cli" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclicksearch2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-doubleclicksearch2] path = "../doubleclicksearch2" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/doubleclicksearch2-cli/README.md b/gen/doubleclicksearch2-cli/README.md index b376be7bf5..ce593dc543 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *doubleclicksearch* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash doubleclicksearch2 [options] diff --git a/gen/doubleclicksearch2-cli/mkdocs.yml b/gen/doubleclicksearch2-cli/mkdocs.yml index b497659a0f..076e1b423a 100644 --- a/gen/doubleclicksearch2-cli/mkdocs.yml +++ b/gen/doubleclicksearch2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: doubleclicksearch v1.0.10+20190625 +site_name: doubleclicksearch v1.0.11+20190625 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 813ea88b1a..86a542056e 100644 --- a/gen/doubleclicksearch2-cli/src/main.rs +++ b/gen/doubleclicksearch2-cli/src/main.rs @@ -1292,7 +1292,7 @@ fn main() { let mut app = App::new("doubleclicksearch2") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .about("Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).") .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 be73c4f2ca..84ffb5b557 100644 --- a/gen/doubleclicksearch2/Cargo.toml +++ b/gen/doubleclicksearch2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclicksearch2" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclicksearch2" homepage = "https://developers.google.com/doubleclick-search/" -documentation = "https://docs.rs/google-doubleclicksearch2/1.0.10+20190625" +documentation = "https://docs.rs/google-doubleclicksearch2/1.0.11+20190625" license = "MIT" keywords = ["doubleclicksearch", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/doubleclicksearch2/README.md b/gen/doubleclicksearch2/README.md index 7e6ccb6342..50ed57dcb4 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *doubleclicksearch* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *doubleclicksearch* *v2* API can be found at the [official documentation site](https://developers.google.com/doubleclick-search/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.Doubleclicksearch.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.Doubleclicksearch.html) ... -* [conversion](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.Conversion.html) - * [*get*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ConversionGetCall.html), [*insert*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ConversionInsertCall.html), [*patch*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ConversionPatchCall.html), [*update*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ConversionUpdateCall.html) and [*update availability*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ConversionUpdateAvailabilityCall.html) -* [reports](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.Report.html) - * [*generate*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ReportGenerateCall.html), [*get*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ReportGetCall.html), [*get file*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ReportGetFileCall.html) and [*request*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ReportRequestCall.html) -* [saved columns](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.SavedColumn.html) - * [*list*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.SavedColumnListCall.html) +* [conversion](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.Conversion.html) + * [*get*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ConversionGetCall.html), [*insert*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ConversionInsertCall.html), [*patch*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ConversionPatchCall.html), [*update*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ConversionUpdateCall.html) and [*update availability*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ConversionUpdateAvailabilityCall.html) +* [reports](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.Report.html) + * [*generate*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ReportGenerateCall.html), [*get*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ReportGetCall.html), [*get file*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ReportGetFileCall.html) and [*request*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ReportRequestCall.html) +* [saved columns](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.SavedColumn.html) + * [*list*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.SavedColumnListCall.html) Download supported by ... -* [*get file reports*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.ReportGetFileCall.html) +* [*get file reports*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.ReportGetFileCall.html) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/struct.Doubleclicksearch.html)** +* **[Hub](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/struct.Doubleclicksearch.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.Part.html)** + * **[Parts](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_doubleclicksearch2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.CallBuilder.html) 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/1.0.11+20190625/google_doubleclicksearch2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_doubleclicksearch2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-doubleclicksearch2/1.0.10+20190625/google_doubleclicksearch2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.ResponseResult.html) 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/1.0.10+20190625/google_doubleclicksearch2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_doubleclicksearch2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_doubleclicksearch2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-doubleclicksearch2/1.0.11+20190625/google_doubleclicksearch2/trait.RequestValue.html) are 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/cmn.rs b/gen/doubleclicksearch2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/doubleclicksearch2/src/cmn.rs +++ b/gen/doubleclicksearch2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs index 591305b732..9570b3c7e9 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *doubleclicksearch* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *doubleclicksearch* *v2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-search/). @@ -328,7 +328,7 @@ impl<'a, C, A> Doubleclicksearch Doubleclicksearch { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/doubleclicksearch/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -345,7 +345,7 @@ impl<'a, C, A> Doubleclicksearch } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/drive2-cli/Cargo.toml b/gen/drive2-cli/Cargo.toml index b036e9c269..0c83398591 100644 --- a/gen/drive2-cli/Cargo.toml +++ b/gen/drive2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive2-cli" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-drive2] path = "../drive2" -version = "1.0.10+20190620" +version = "1.0.11+20190620" diff --git a/gen/drive2-cli/README.md b/gen/drive2-cli/README.md index 500b217860..e62534efd8 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 *20190620*. The CLI is at version *1.0.10*. +This documentation was generated from the *drive* API at revision *20190620*. The CLI is at version *1.0.11*. ```bash drive2 [options] diff --git a/gen/drive2-cli/mkdocs.yml b/gen/drive2-cli/mkdocs.yml index 5b2e8c9bba..0067f16df1 100644 --- a/gen/drive2-cli/mkdocs.yml +++ b/gen/drive2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v1.0.10+20190620 +site_name: drive v1.0.11+20190620 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 ba303605c0..991d36b7ef 100644 --- a/gen/drive2-cli/src/main.rs +++ b/gen/drive2-cli/src/main.rs @@ -8622,7 +8622,7 @@ fn main() { let mut app = App::new("drive2") .author("Sebastian Thiel ") - .version("1.0.10+20190620") + .version("1.0.11+20190620") .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 d20de9234d..e6808be055 100644 --- a/gen/drive2/Cargo.toml +++ b/gen/drive2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive2" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive2" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive2/1.0.10+20190620" +documentation = "https://docs.rs/google-drive2/1.0.11+20190620" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/drive2/README.md b/gen/drive2/README.md index d5b0c12769..4eaabeb2af 100644 --- a/gen/drive2/README.md +++ b/gen/drive2/README.md @@ -5,66 +5,66 @@ 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *drive* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190620/google_drive2/struct.DriveHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveHub.html) ... -* [about](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.About.html) - * [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.AboutGetCall.html) -* [apps](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.App.html) - * [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.AppGetCall.html) and [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.AppListCall.html) -* [changes](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Change.html) - * [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChangeGetCall.html), [*get start page token*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChangeGetStartPageTokenCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChangeWatchCall.html) -* [channels](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Channel.html) - * [*stop*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChannelStopCall.html) +* [about](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.About.html) + * [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.AboutGetCall.html) +* [apps](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.App.html) + * [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.AppGetCall.html) and [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.AppListCall.html) +* [changes](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Change.html) + * [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChangeGetCall.html), [*get start page token*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChangeGetStartPageTokenCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChangeWatchCall.html) +* [channels](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Channel.html) + * [*stop*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChannelStopCall.html) * children - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChildrenDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChildrenGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChildrenInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChildrenListCall.html) -* [comments](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Comment.html) - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.CommentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.CommentListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.CommentPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.CommentUpdateCall.html) -* [drives](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Drive.html) - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveGetCall.html), [*hide*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveHideCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveListCall.html), [*unhide*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveUnhideCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveUpdateCall.html) -* [files](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.File.html) - * [*copy*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileCopyCall.html), [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FilePatchCall.html), [*touch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileTouchCall.html), [*trash*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileTrashCall.html), [*untrash*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileUntrashCall.html), [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileWatchCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChildrenDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChildrenGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChildrenInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChildrenListCall.html) +* [comments](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Comment.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.CommentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.CommentListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.CommentPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.CommentUpdateCall.html) +* [drives](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Drive.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveGetCall.html), [*hide*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveHideCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveListCall.html), [*unhide*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveUnhideCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveUpdateCall.html) +* [files](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.File.html) + * [*copy*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileCopyCall.html), [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FilePatchCall.html), [*touch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileTouchCall.html), [*trash*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileTrashCall.html), [*untrash*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileUntrashCall.html), [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileWatchCall.html) * parents - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ParentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ParentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ParentInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ParentListCall.html) -* [permissions](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Permission.html) - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionGetCall.html), [*get id for email*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionGetIdForEmailCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PermissionUpdateCall.html) -* [properties](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Property.html) - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PropertyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PropertyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PropertyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PropertyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PropertyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.PropertyUpdateCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ParentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ParentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ParentInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ParentListCall.html) +* [permissions](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Permission.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionGetCall.html), [*get id for email*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionGetIdForEmailCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PermissionUpdateCall.html) +* [properties](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Property.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PropertyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PropertyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PropertyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PropertyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PropertyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.PropertyUpdateCall.html) * realtime - * [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RealtimeGetCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RealtimeUpdateCall.html) + * [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RealtimeGetCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RealtimeUpdateCall.html) * replies - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ReplyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ReplyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ReplyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ReplyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ReplyUpdateCall.html) -* [revisions](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.Revision.html) - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RevisionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RevisionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RevisionUpdateCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ReplyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ReplyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ReplyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ReplyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ReplyUpdateCall.html) +* [revisions](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.Revision.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RevisionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RevisionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RevisionUpdateCall.html) * teamdrives - * [*delete*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.TeamdriveDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.TeamdriveGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.TeamdriveInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.TeamdriveListCall.html) and [*update*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.TeamdriveUpdateCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.TeamdriveDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.TeamdriveGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.TeamdriveInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.TeamdriveListCall.html) and [*update*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.TeamdriveUpdateCall.html) Upload supported by ... -* [*update files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileUpdateCall.html) -* [*insert files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileInsertCall.html) -* [*update realtime*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RealtimeUpdateCall.html) +* [*update files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileUpdateCall.html) +* [*insert files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileInsertCall.html) +* [*update realtime*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RealtimeUpdateCall.html) Download supported by ... -* [*watch files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileWatchCall.html) -* [*get realtime*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.RealtimeGetCall.html) -* [*get files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileGetCall.html) -* [*export files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileExportCall.html) +* [*watch files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileWatchCall.html) +* [*get realtime*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.RealtimeGetCall.html) +* [*get files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileGetCall.html) +* [*export files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileExportCall.html) Subscription supported by ... -* [*watch files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileWatchCall.html) -* [*insert files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileInsertCall.html) -* [*get files*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.FileGetCall.html) -* [*watch changes*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChangeWatchCall.html) -* [*list changes*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.ChangeListCall.html) +* [*watch files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileWatchCall.html) +* [*insert files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileInsertCall.html) +* [*get files*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.FileGetCall.html) +* [*watch changes*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChangeWatchCall.html) +* [*list changes*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.ChangeListCall.html) @@ -72,17 +72,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/struct.DriveHub.html)** +* **[Hub](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/struct.DriveHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.Part.html)** + * **[Parts](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -207,17 +207,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190620/google_drive2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -227,29 +227,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190620/google_drive2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.CallBuilder.html) 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/1.0.11+20190620/google_drive2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190620/google_drive2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-drive2/1.0.10+20190620/google_drive2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.ResponseResult.html) 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/1.0.10+20190620/google_drive2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190620/google_drive2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190620/google_drive2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-drive2/1.0.11+20190620/google_drive2/trait.RequestValue.html) are 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/cmn.rs b/gen/drive2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/drive2/src/cmn.rs +++ b/gen/drive2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs index 344392c488..526fa19e76 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *drive* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *drive* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/). @@ -453,7 +453,7 @@ impl<'a, C, A> DriveHub DriveHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/drive/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -506,7 +506,7 @@ impl<'a, C, A> DriveHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index 5529bbc858..7007ea75dd 100644 --- a/gen/drive3-cli/Cargo.toml +++ b/gen/drive3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive3-cli" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-drive3] path = "../drive3" -version = "1.0.10+20190620" +version = "1.0.11+20190620" diff --git a/gen/drive3-cli/README.md b/gen/drive3-cli/README.md index e60da02079..1a73fcbec5 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 *20190620*. The CLI is at version *1.0.10*. +This documentation was generated from the *drive* API at revision *20190620*. The CLI is at version *1.0.11*. ```bash drive3 [options] diff --git a/gen/drive3-cli/mkdocs.yml b/gen/drive3-cli/mkdocs.yml index a18fb98c22..b7ea2f612b 100644 --- a/gen/drive3-cli/mkdocs.yml +++ b/gen/drive3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v1.0.10+20190620 +site_name: drive v1.0.11+20190620 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 287751647e..76ca9676ae 100644 --- a/gen/drive3-cli/src/main.rs +++ b/gen/drive3-cli/src/main.rs @@ -5417,7 +5417,7 @@ fn main() { let mut app = App::new("drive3") .author("Sebastian Thiel ") - .version("1.0.10+20190620") + .version("1.0.11+20190620") .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/drive3/Cargo.toml b/gen/drive3/Cargo.toml index 8bbeb343a4..c5250c236b 100644 --- a/gen/drive3/Cargo.toml +++ b/gen/drive3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive3" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive3" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive3/1.0.10+20190620" +documentation = "https://docs.rs/google-drive3/1.0.11+20190620" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/drive3/README.md b/gen/drive3/README.md index 4668fbcc41..21199c51e9 100644 --- a/gen/drive3/README.md +++ b/gen/drive3/README.md @@ -5,55 +5,55 @@ DO NOT EDIT ! --> The `google-drive3` library allows access to all features of the *Google drive* service. -This documentation was generated from *drive* crate version *1.0.10+20190620*, where *20190620* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *drive* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *drive* *v3* 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-drive3/1.0.10+20190620/google_drive3/struct.DriveHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveHub.html) ... -* [about](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.About.html) - * [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.AboutGetCall.html) -* [changes](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Change.html) - * [*get start page token*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ChangeGetStartPageTokenCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ChangeWatchCall.html) -* [channels](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Channel.html) - * [*stop*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ChannelStopCall.html) -* [comments](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Comment.html) - * [*create*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.CommentCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.CommentListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.CommentUpdateCall.html) -* [drives](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Drive.html) - * [*create*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveGetCall.html), [*hide*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveHideCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveListCall.html), [*unhide*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveUnhideCall.html) and [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveUpdateCall.html) -* [files](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.File.html) - * [*copy*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileCopyCall.html), [*create*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileListCall.html), [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileWatchCall.html) -* [permissions](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Permission.html) - * [*create*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.PermissionCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.PermissionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.PermissionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.PermissionUpdateCall.html) -* [replies](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Reply.html) - * [*create*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ReplyCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ReplyGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ReplyListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ReplyUpdateCall.html) -* [revisions](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.Revision.html) - * [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.RevisionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.RevisionUpdateCall.html) +* [about](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.About.html) + * [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.AboutGetCall.html) +* [changes](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Change.html) + * [*get start page token*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ChangeGetStartPageTokenCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ChangeWatchCall.html) +* [channels](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Channel.html) + * [*stop*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ChannelStopCall.html) +* [comments](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Comment.html) + * [*create*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.CommentCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.CommentListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.CommentUpdateCall.html) +* [drives](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Drive.html) + * [*create*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveGetCall.html), [*hide*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveHideCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveListCall.html), [*unhide*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveUnhideCall.html) and [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveUpdateCall.html) +* [files](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.File.html) + * [*copy*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileCopyCall.html), [*create*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileListCall.html), [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileWatchCall.html) +* [permissions](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Permission.html) + * [*create*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.PermissionCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.PermissionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.PermissionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.PermissionUpdateCall.html) +* [replies](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Reply.html) + * [*create*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ReplyCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ReplyGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ReplyListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ReplyUpdateCall.html) +* [revisions](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.Revision.html) + * [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.RevisionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.RevisionUpdateCall.html) * teamdrives - * [*create*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.TeamdriveCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.TeamdriveDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.TeamdriveGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.TeamdriveListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.TeamdriveUpdateCall.html) + * [*create*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.TeamdriveCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.TeamdriveDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.TeamdriveGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.TeamdriveListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.TeamdriveUpdateCall.html) Upload supported by ... -* [*update files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileUpdateCall.html) -* [*create files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileCreateCall.html) +* [*update files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileUpdateCall.html) +* [*create files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileCreateCall.html) Download supported by ... -* [*watch files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileWatchCall.html) -* [*export files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileExportCall.html) -* [*get revisions*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.RevisionGetCall.html) -* [*get files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileGetCall.html) +* [*watch files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileWatchCall.html) +* [*export files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileExportCall.html) +* [*get revisions*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.RevisionGetCall.html) +* [*get files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileGetCall.html) Subscription supported by ... -* [*watch files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileWatchCall.html) -* [*list changes*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ChangeListCall.html) -* [*create files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileCreateCall.html) -* [*get files*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.FileGetCall.html) -* [*watch changes*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.ChangeWatchCall.html) +* [*watch files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileWatchCall.html) +* [*list changes*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ChangeListCall.html) +* [*create files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileCreateCall.html) +* [*get files*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.FileGetCall.html) +* [*watch changes*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.ChangeWatchCall.html) @@ -61,17 +61,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/struct.DriveHub.html)** +* **[Hub](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/struct.DriveHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.Part.html)** + * **[Parts](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -184,17 +184,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -204,29 +204,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-drive3/1.0.10+20190620/google_drive3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-drive3/1.0.11+20190620/google_drive3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/drive3/src/cmn.rs b/gen/drive3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/drive3/src/cmn.rs +++ b/gen/drive3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/drive3/src/lib.rs b/gen/drive3/src/lib.rs index 019ca5930f..177e38ff8b 100644 --- a/gen/drive3/src/lib.rs +++ b/gen/drive3/src/lib.rs @@ -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 *1.0.10+20190620*, where *20190620* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *drive* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *drive* *v3* API can be found at the //! [official documentation site](https://developers.google.com/drive/). @@ -418,7 +418,7 @@ impl<'a, C, A> DriveHub DriveHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/drive/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -456,7 +456,7 @@ impl<'a, C, A> DriveHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/driveactivity2-cli/Cargo.toml b/gen/driveactivity2-cli/Cargo.toml index 15a6641853..ce89fb6b77 100644 --- a/gen/driveactivity2-cli/Cargo.toml +++ b/gen/driveactivity2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-driveactivity2-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Drive Activity (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/driveactivity2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-driveactivity2] path = "../driveactivity2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/driveactivity2-cli/README.md b/gen/driveactivity2-cli/README.md index c3059f802e..7fbd1c6cf2 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Drive Activity* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash driveactivity2 [options] diff --git a/gen/driveactivity2-cli/mkdocs.yml b/gen/driveactivity2-cli/mkdocs.yml index 67f68f0e28..b4597ee1fc 100644 --- a/gen/driveactivity2-cli/mkdocs.yml +++ b/gen/driveactivity2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Drive Activity v1.0.10+20190702 +site_name: Drive Activity v1.0.11+20190702 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 d7958587b7..89a9d6214a 100644 --- a/gen/driveactivity2-cli/src/main.rs +++ b/gen/driveactivity2-cli/src/main.rs @@ -265,7 +265,7 @@ fn main() { let mut app = App::new("driveactivity2") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 8483d29a8d..348e88da90 100644 --- a/gen/driveactivity2/Cargo.toml +++ b/gen/driveactivity2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-driveactivity2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Drive Activity (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/driveactivity2" homepage = "https://developers.google.com/drive/activity/" -documentation = "https://docs.rs/google-driveactivity2/1.0.10+20190702" +documentation = "https://docs.rs/google-driveactivity2/1.0.11+20190702" license = "MIT" keywords = ["driveactivity", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/driveactivity2/README.md b/gen/driveactivity2/README.md index 28f6a4a1cb..da14ee1596 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Drive Activity* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_driveactivity2/struct.DriveActivityHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/struct.DriveActivityHub.html) ... * activity - * [*query*](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/struct.ActivityQueryCall.html) + * [*query*](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/struct.ActivityQueryCall.html) @@ -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/1.0.10+20190702/google_driveactivity2/struct.DriveActivityHub.html)** +* **[Hub](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/struct.DriveActivityHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.Part.html)** + * **[Parts](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_driveactivity2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.CallBuilder.html) 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/1.0.11+20190702/google_driveactivity2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_driveactivity2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-driveactivity2/1.0.10+20190702/google_driveactivity2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.ResponseResult.html) 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/1.0.10+20190702/google_driveactivity2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_driveactivity2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_driveactivity2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-driveactivity2/1.0.11+20190702/google_driveactivity2/trait.RequestValue.html) are 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/cmn.rs b/gen/driveactivity2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/driveactivity2/src/cmn.rs +++ b/gen/driveactivity2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/driveactivity2/src/lib.rs b/gen/driveactivity2/src/lib.rs index b848630843..7579336615 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Drive Activity* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Drive Activity* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/activity/). @@ -333,7 +333,7 @@ impl<'a, C, A> DriveActivityHub DriveActivityHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://driveactivity.googleapis.com/".to_string(), _root_url: "https://driveactivity.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> DriveActivityHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/factchecktools1_alpha1-cli/Cargo.toml b/gen/factchecktools1_alpha1-cli/Cargo.toml index 369a79bd5e..394bc7cd0b 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 = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fact Check Tools (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/factchecktools1_alpha1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-factchecktools1_alpha1] path = "../factchecktools1_alpha1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/factchecktools1_alpha1-cli/README.md b/gen/factchecktools1_alpha1-cli/README.md index 63cedd792c..ef4973856f 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *Fact Check Tools* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash factchecktools1-alpha1 [options] diff --git a/gen/factchecktools1_alpha1-cli/mkdocs.yml b/gen/factchecktools1_alpha1-cli/mkdocs.yml index de5c437263..adc2509c15 100644 --- a/gen/factchecktools1_alpha1-cli/mkdocs.yml +++ b/gen/factchecktools1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Fact Check Tools v1.0.10+20190703 +site_name: Fact Check Tools v1.0.11+20190703 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 17d9dcbd14..b3b43074e7 100644 --- a/gen/factchecktools1_alpha1-cli/src/main.rs +++ b/gen/factchecktools1_alpha1-cli/src/main.rs @@ -737,7 +737,7 @@ fn main() { let mut app = App::new("factchecktools1-alpha1") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 05829e93d8..e824ad68cd 100644 --- a/gen/factchecktools1_alpha1/Cargo.toml +++ b/gen/factchecktools1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-factchecktools1_alpha1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fact Check Tools (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/factchecktools1_alpha1" homepage = "https://developers.google.com/fact-check/tools/api/" -documentation = "https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703" +documentation = "https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703" license = "MIT" keywords = ["factchecktools", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/factchecktools1_alpha1/README.md b/gen/factchecktools1_alpha1/README.md index 64a6401ee1..ec530d1349 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Fact Check Tools* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_factchecktools1_alpha1/struct.FactCheckTools.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.FactCheckTools.html) ... * claims - * [*search*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/struct.ClaimSearchCall.html) + * [*search*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.ClaimSearchCall.html) * pages - * [*create*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/struct.PageCreateCall.html), [*delete*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/struct.PageDeleteCall.html), [*get*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/struct.PageGetCall.html), [*list*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/struct.PageListCall.html) and [*update*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/struct.PageUpdateCall.html) + * [*create*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.PageCreateCall.html), [*delete*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.PageDeleteCall.html), [*get*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.PageGetCall.html), [*list*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.PageListCall.html) and [*update*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.PageUpdateCall.html) @@ -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/1.0.10+20190703/google_factchecktools1_alpha1/struct.FactCheckTools.html)** +* **[Hub](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/struct.FactCheckTools.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.Part.html)** + * **[Parts](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/enum.Result.html) 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/1.0.10+20190703/google_factchecktools1_alpha1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_factchecktools1_alpha1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html) 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/1.0.11+20190703/google_factchecktools1_alpha1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_factchecktools1_alpha1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-factchecktools1_alpha1/1.0.10+20190703/google_factchecktools1_alpha1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.ResponseResult.html) 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/1.0.10+20190703/google_factchecktools1_alpha1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_factchecktools1_alpha1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-factchecktools1_alpha1/1.0.11+20190703/google_factchecktools1_alpha1/trait.RequestValue.html) are 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/cmn.rs b/gen/factchecktools1_alpha1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/factchecktools1_alpha1/src/cmn.rs +++ b/gen/factchecktools1_alpha1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/factchecktools1_alpha1/src/lib.rs b/gen/factchecktools1_alpha1/src/lib.rs index 945eb6fccb..e14b78886f 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Fact Check Tools* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -333,7 +333,7 @@ impl<'a, C, A> FactCheckTools FactCheckTools { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://factchecktools.googleapis.com/".to_string(), _root_url: "https://factchecktools.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> FactCheckTools } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fcm1-cli/Cargo.toml b/gen/fcm1-cli/Cargo.toml index 30d0f68889..d57e9218d4 100644 --- a/gen/fcm1-cli/Cargo.toml +++ b/gen/fcm1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fcm1-cli" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Cloud Messaging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fcm1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-fcm1] path = "../fcm1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/fcm1-cli/README.md b/gen/fcm1-cli/README.md index 5493009c42..addf824750 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *Firebase Cloud Messaging* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash fcm1 [options] diff --git a/gen/fcm1-cli/mkdocs.yml b/gen/fcm1-cli/mkdocs.yml index 402e57b306..5fc8bad6e1 100644 --- a/gen/fcm1-cli/mkdocs.yml +++ b/gen/fcm1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Cloud Messaging v1.0.10+20190703 +site_name: Firebase Cloud Messaging v1.0.11+20190703 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 764ecc6c4e..774b31228d 100644 --- a/gen/fcm1-cli/src/main.rs +++ b/gen/fcm1-cli/src/main.rs @@ -302,7 +302,7 @@ fn main() { let mut app = App::new("fcm1") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 b988cc5ff5..2b9b2361b5 100644 --- a/gen/fcm1/Cargo.toml +++ b/gen/fcm1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fcm1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Cloud Messaging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fcm1" homepage = "https://firebase.google.com/docs/cloud-messaging" -documentation = "https://docs.rs/google-fcm1/1.0.10+20190703" +documentation = "https://docs.rs/google-fcm1/1.0.11+20190703" license = "MIT" keywords = ["fcm", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/fcm1/README.md b/gen/fcm1/README.md index 1bd2245f45..d827461b81 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firebase Cloud Messaging* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_fcm1/struct.FirebaseCloudMessaging.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/struct.FirebaseCloudMessaging.html) ... * projects - * [*messages send*](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/struct.ProjectMessageSendCall.html) + * [*messages send*](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/struct.ProjectMessageSendCall.html) @@ -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/1.0.10+20190703/google_fcm1/struct.FirebaseCloudMessaging.html)** +* **[Hub](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/struct.FirebaseCloudMessaging.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.Part.html)** + * **[Parts](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_fcm1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-fcm1/1.0.10+20190703/google_fcm1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.CallBuilder.html) 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/1.0.11+20190703/google_fcm1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_fcm1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-fcm1/1.0.10+20190703/google_fcm1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.ResponseResult.html) 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/1.0.10+20190703/google_fcm1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_fcm1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_fcm1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-fcm1/1.0.11+20190703/google_fcm1/trait.RequestValue.html) are 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/cmn.rs b/gen/fcm1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/fcm1/src/cmn.rs +++ b/gen/fcm1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/fcm1/src/lib.rs b/gen/fcm1/src/lib.rs index 827a8e0dde..899fb6b577 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firebase Cloud Messaging* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firebase Cloud Messaging* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/cloud-messaging). @@ -329,7 +329,7 @@ impl<'a, C, A> FirebaseCloudMessaging FirebaseCloudMessaging { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://fcm.googleapis.com/".to_string(), _root_url: "https://fcm.googleapis.com/".to_string(), } @@ -340,7 +340,7 @@ impl<'a, C, A> FirebaseCloudMessaging } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/file1-cli/Cargo.toml b/gen/file1-cli/Cargo.toml index 3e5935a791..ae701383b2 100644 --- a/gen/file1-cli/Cargo.toml +++ b/gen/file1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-file1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/file1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-file1] path = "../file1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/file1-cli/README.md b/gen/file1-cli/README.md index a8195fbbc8..e114c6dd80 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Filestore* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash file1 [options] diff --git a/gen/file1-cli/mkdocs.yml b/gen/file1-cli/mkdocs.yml index 8b8e8bb00a..bb6cf36074 100644 --- a/gen/file1-cli/mkdocs.yml +++ b/gen/file1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v1.0.10+20190627 +site_name: Cloud Filestore v1.0.11+20190627 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 5d8ed09ef3..e35776bb2f 100644 --- a/gen/file1-cli/src/main.rs +++ b/gen/file1-cli/src/main.rs @@ -1202,7 +1202,7 @@ fn main() { let mut app = App::new("file1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 4fdf42e1b4..541791d124 100644 --- a/gen/file1/Cargo.toml +++ b/gen/file1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/file1" homepage = "https://cloud.google.com/filestore/" -documentation = "https://docs.rs/google-file1/1.0.10+20190627" +documentation = "https://docs.rs/google-file1/1.0.11+20190627" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/file1/README.md b/gen/file1/README.md index a28f231ae9..8322ed96e8 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Filestore* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_file1/struct.CloudFilestore.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.CloudFilestore.html) ... * projects - * [*locations get*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances get*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationInstanceGetCall.html), [*locations instances list*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationInstancePatchCall.html), [*locations list*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/struct.ProjectLocationOperationListCall.html) + * [*locations get*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances get*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationInstanceGetCall.html), [*locations instances list*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationInstancePatchCall.html), [*locations list*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.ProjectLocationOperationListCall.html) @@ -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/1.0.10+20190627/google_file1/struct.CloudFilestore.html)** +* **[Hub](https://docs.rs/google-file1/1.0.11+20190627/google_file1/struct.CloudFilestore.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.Part.html)** + * **[Parts](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/1.0.10+20190627/google_file1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/1.0.11+20190627/google_file1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_file1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1/1.0.11+20190627/google_file1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-file1/1.0.10+20190627/google_file1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.CallBuilder.html) 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/1.0.11+20190627/google_file1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_file1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-file1/1.0.10+20190627/google_file1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.ResponseResult.html) 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/1.0.10+20190627/google_file1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_file1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_file1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-file1/1.0.11+20190627/google_file1/trait.RequestValue.html) are 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/cmn.rs b/gen/file1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/file1/src/cmn.rs +++ b/gen/file1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/file1/src/lib.rs b/gen/file1/src/lib.rs index c49a06e187..827701e892 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Filestore* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Filestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). @@ -334,7 +334,7 @@ impl<'a, C, A> CloudFilestore CloudFilestore { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://file.googleapis.com/".to_string(), _root_url: "https://file.googleapis.com/".to_string(), } @@ -345,7 +345,7 @@ impl<'a, C, A> CloudFilestore } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/file1_beta1-cli/Cargo.toml b/gen/file1_beta1-cli/Cargo.toml index 99bcd2f1c9..cbc9122cc7 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 = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/file1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-file1_beta1] path = "../file1_beta1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/file1_beta1-cli/README.md b/gen/file1_beta1-cli/README.md index 4adf0af518..fcd18983d9 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Filestore* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash file1-beta1 [options] diff --git a/gen/file1_beta1-cli/mkdocs.yml b/gen/file1_beta1-cli/mkdocs.yml index 863a710079..2ec86facb0 100644 --- a/gen/file1_beta1-cli/mkdocs.yml +++ b/gen/file1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v1.0.10+20190627 +site_name: Cloud Filestore v1.0.11+20190627 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 af65eda7a3..ece61e34af 100644 --- a/gen/file1_beta1-cli/src/main.rs +++ b/gen/file1_beta1-cli/src/main.rs @@ -1202,7 +1202,7 @@ fn main() { let mut app = App::new("file1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 d306e97493..dbd7e80d71 100644 --- a/gen/file1_beta1/Cargo.toml +++ b/gen/file1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1_beta1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/file1_beta1" homepage = "https://cloud.google.com/filestore/" -documentation = "https://docs.rs/google-file1_beta1/1.0.10+20190627" +documentation = "https://docs.rs/google-file1_beta1/1.0.11+20190627" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/file1_beta1/README.md b/gen/file1_beta1/README.md index 3e7cf3ab10..06de5a520e 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Filestore* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_file1_beta1/struct.CloudFilestore.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.CloudFilestore.html) ... * projects - * [*locations get*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances get*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationInstanceGetCall.html), [*locations instances list*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationInstancePatchCall.html), [*locations list*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/struct.ProjectLocationOperationListCall.html) + * [*locations get*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances get*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationInstanceGetCall.html), [*locations instances list*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationInstancePatchCall.html), [*locations list*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.ProjectLocationOperationListCall.html) @@ -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/1.0.10+20190627/google_file1_beta1/struct.CloudFilestore.html)** +* **[Hub](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/struct.CloudFilestore.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/enum.Result.html) 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/1.0.10+20190627/google_file1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_file1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.CallBuilder.html) 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/1.0.11+20190627/google_file1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_file1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-file1_beta1/1.0.10+20190627/google_file1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.ResponseResult.html) 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/1.0.10+20190627/google_file1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_file1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_file1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-file1_beta1/1.0.11+20190627/google_file1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/file1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/file1_beta1/src/cmn.rs +++ b/gen/file1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/file1_beta1/src/lib.rs b/gen/file1_beta1/src/lib.rs index dde98bf1f8..d0dd8ebdd8 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Filestore* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Filestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). @@ -334,7 +334,7 @@ impl<'a, C, A> CloudFilestore CloudFilestore { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://file.googleapis.com/".to_string(), _root_url: "https://file.googleapis.com/".to_string(), } @@ -345,7 +345,7 @@ impl<'a, C, A> CloudFilestore } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebase1_beta1-cli/Cargo.toml b/gen/firebase1_beta1-cli/Cargo.toml index ac0dc169b7..2b70f15de7 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 = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Management (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebase1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-firebase1_beta1] path = "../firebase1_beta1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/firebase1_beta1-cli/README.md b/gen/firebase1_beta1-cli/README.md index 99ac446fe5..1e2d294930 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *Firebase Management* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash firebase1-beta1 [options] diff --git a/gen/firebase1_beta1-cli/mkdocs.yml b/gen/firebase1_beta1-cli/mkdocs.yml index 0aaa4496f3..3f02b10a8f 100644 --- a/gen/firebase1_beta1-cli/mkdocs.yml +++ b/gen/firebase1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Management v1.0.10+20190703 +site_name: Firebase Management v1.0.11+20190703 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 72033d04c6..2dd591d725 100644 --- a/gen/firebase1_beta1-cli/src/main.rs +++ b/gen/firebase1_beta1-cli/src/main.rs @@ -3019,7 +3019,7 @@ fn main() { let mut app = App::new("firebase1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 246c3a6ea9..aa8208d6f8 100644 --- a/gen/firebase1_beta1/Cargo.toml +++ b/gen/firebase1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebase1_beta1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Management (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebase1_beta1" homepage = "https://firebase.google.com" -documentation = "https://docs.rs/google-firebase1_beta1/1.0.10+20190703" +documentation = "https://docs.rs/google-firebase1_beta1/1.0.11+20190703" license = "MIT" keywords = ["firebase", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/firebase1_beta1/README.md b/gen/firebase1_beta1/README.md index f9acf1c60b..a6957ee5dc 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firebase Management* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_firebase1_beta1/struct.FirebaseManagement.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.FirebaseManagement.html) ... * available projects - * [*list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.AvailableProjectListCall.html) -* [operations](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.Operation.html) - * [*get*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.OperationGetCall.html) + * [*list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.AvailableProjectListCall.html) +* [operations](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.Operation.html) + * [*get*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.OperationGetCall.html) * projects - * [*add firebase*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAddFirebaseCall.html), [*android apps create*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppCreateCall.html), [*android apps get*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppGetCall.html), [*android apps get config*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppGetConfigCall.html), [*android apps list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppListCall.html), [*android apps patch*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppPatchCall.html), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppShaCreateCall.html), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppShaDeleteCall.html), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAndroidAppShaListCall.html), [*available locations list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectAvailableLocationListCall.html), [*default location finalize*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectDefaultLocationFinalizeCall.html), [*get*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectGetCall.html), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectGetAdminSdkConfigCall.html), [*ios apps create*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectIosAppCreateCall.html), [*ios apps get*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectIosAppGetCall.html), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectIosAppGetConfigCall.html), [*ios apps list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectIosAppListCall.html), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectIosAppPatchCall.html), [*list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectListCall.html), [*patch*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectPatchCall.html), [*search apps*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectSearchAppCall.html), [*web apps create*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectWebAppCreateCall.html), [*web apps get*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectWebAppGetCall.html), [*web apps get config*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectWebAppGetConfigCall.html), [*web apps list*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectWebAppListCall.html) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/struct.ProjectWebAppPatchCall.html) + * [*add firebase*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAddFirebaseCall.html), [*android apps create*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppCreateCall.html), [*android apps get*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppGetCall.html), [*android apps get config*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppGetConfigCall.html), [*android apps list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppListCall.html), [*android apps patch*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppPatchCall.html), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppShaCreateCall.html), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppShaDeleteCall.html), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAndroidAppShaListCall.html), [*available locations list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectAvailableLocationListCall.html), [*default location finalize*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectDefaultLocationFinalizeCall.html), [*get*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectGetCall.html), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectGetAdminSdkConfigCall.html), [*ios apps create*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectIosAppCreateCall.html), [*ios apps get*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectIosAppGetCall.html), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectIosAppGetConfigCall.html), [*ios apps list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectIosAppListCall.html), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectIosAppPatchCall.html), [*list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectListCall.html), [*patch*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectPatchCall.html), [*search apps*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectSearchAppCall.html), [*web apps create*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectWebAppCreateCall.html), [*web apps get*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectWebAppGetCall.html), [*web apps get config*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectWebAppGetConfigCall.html), [*web apps list*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectWebAppListCall.html) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.ProjectWebAppPatchCall.html) @@ -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/1.0.10+20190703/google_firebase1_beta1/struct.FirebaseManagement.html)** +* **[Hub](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/struct.FirebaseManagement.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/enum.Result.html) 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/1.0.10+20190703/google_firebase1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_firebase1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.CallBuilder.html) 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/1.0.11+20190703/google_firebase1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_firebase1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firebase1_beta1/1.0.10+20190703/google_firebase1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.ResponseResult.html) 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/1.0.10+20190703/google_firebase1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_firebase1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_firebase1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firebase1_beta1/1.0.11+20190703/google_firebase1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/firebase1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/firebase1_beta1/src/cmn.rs +++ b/gen/firebase1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/firebase1_beta1/src/lib.rs b/gen/firebase1_beta1/src/lib.rs index 6128eb1ce4..45bec8c0c6 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firebase Management* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firebase Management* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com). @@ -350,7 +350,7 @@ impl<'a, C, A> FirebaseManagement FirebaseManagement { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://firebase.googleapis.com/".to_string(), _root_url: "https://firebase.googleapis.com/".to_string(), } @@ -367,7 +367,7 @@ impl<'a, C, A> FirebaseManagement } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasedynamiclinks1-cli/Cargo.toml b/gen/firebasedynamiclinks1-cli/Cargo.toml index be5113d34c..5e8569528f 100644 --- a/gen/firebasedynamiclinks1-cli/Cargo.toml +++ b/gen/firebasedynamiclinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasedynamiclinks1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebasedynamiclinks1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-firebasedynamiclinks1] path = "../firebasedynamiclinks1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/firebasedynamiclinks1-cli/README.md b/gen/firebasedynamiclinks1-cli/README.md index 4f26b27961..89ae53acd6 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Firebase Dynamic Links* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash firebasedynamiclinks1 [options] diff --git a/gen/firebasedynamiclinks1-cli/mkdocs.yml b/gen/firebasedynamiclinks1-cli/mkdocs.yml index dff764d3bd..ff084c85e8 100644 --- a/gen/firebasedynamiclinks1-cli/mkdocs.yml +++ b/gen/firebasedynamiclinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Dynamic Links v1.0.10+20190628 +site_name: Firebase Dynamic Links v1.0.11+20190628 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 4b5b0a5c70..de67e07cbf 100644 --- a/gen/firebasedynamiclinks1-cli/src/main.rs +++ b/gen/firebasedynamiclinks1-cli/src/main.rs @@ -799,7 +799,7 @@ fn main() { let mut app = App::new("firebasedynamiclinks1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 682d97e945..9d9200c3c3 100644 --- a/gen/firebasedynamiclinks1/Cargo.toml +++ b/gen/firebasedynamiclinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasedynamiclinks1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebasedynamiclinks1" homepage = "https://firebase.google.com/docs/dynamic-links/" -documentation = "https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628" +documentation = "https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628" license = "MIT" keywords = ["firebasedynamiclinks", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/firebasedynamiclinks1/README.md b/gen/firebasedynamiclinks1/README.md index 259fbeb900..a81aade3d6 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firebase Dynamic Links* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html) ... -* [managed short links](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.ManagedShortLink.html) - * [*create*](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.ManagedShortLinkCreateCall.html) +* [managed short links](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.ManagedShortLink.html) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.ManagedShortLinkCreateCall.html) * short links - * [*create*](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.ShortLinkCreateCall.html) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.ShortLinkCreateCall.html) Other activities are ... -* [get link stats](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.MethodGetLinkStatCall.html) -* [install attribution](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.MethodInstallAttributionCall.html) -* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.MethodReopenAttributionCall.html) +* [get link stats](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.MethodGetLinkStatCall.html) +* [install attribution](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.MethodInstallAttributionCall.html) +* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.MethodReopenAttributionCall.html) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html)** +* **[Hub](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_firebasedynamiclinks1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html) 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/1.0.11+20190628/google_firebasedynamiclinks1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_firebasedynamiclinks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firebasedynamiclinks1/1.0.10+20190628/google_firebasedynamiclinks1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.ResponseResult.html) 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/1.0.10+20190628/google_firebasedynamiclinks1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_firebasedynamiclinks1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firebasedynamiclinks1/1.0.11+20190628/google_firebasedynamiclinks1/trait.RequestValue.html) are 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/cmn.rs b/gen/firebasedynamiclinks1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/firebasedynamiclinks1/src/cmn.rs +++ b/gen/firebasedynamiclinks1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/firebasedynamiclinks1/src/lib.rs b/gen/firebasedynamiclinks1/src/lib.rs index e46ec7de78..36bbd7a9f8 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firebase Dynamic Links* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firebase Dynamic Links* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/dynamic-links/). @@ -336,7 +336,7 @@ impl<'a, C, A> FirebaseDynamicLinks FirebaseDynamicLinks { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://firebasedynamiclinks.googleapis.com/".to_string(), _root_url: "https://firebasedynamiclinks.googleapis.com/".to_string(), } @@ -353,7 +353,7 @@ impl<'a, C, A> FirebaseDynamicLinks } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasehosting1_beta1-cli/Cargo.toml b/gen/firebasehosting1_beta1-cli/Cargo.toml index dced8f4707..3d67535f80 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 = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebasehosting1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-firebasehosting1_beta1] path = "../firebasehosting1_beta1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" diff --git a/gen/firebasehosting1_beta1-cli/README.md b/gen/firebasehosting1_beta1-cli/README.md index 30e2488dc0..9551fc4312 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 *20190626*. The CLI is at version *1.0.10*. +This documentation was generated from the *Firebase Hosting* API at revision *20190626*. The CLI is at version *1.0.11*. ```bash firebasehosting1-beta1 [options] diff --git a/gen/firebasehosting1_beta1-cli/mkdocs.yml b/gen/firebasehosting1_beta1-cli/mkdocs.yml index 793db7370f..725609d638 100644 --- a/gen/firebasehosting1_beta1-cli/mkdocs.yml +++ b/gen/firebasehosting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Hosting v1.0.10+20190626 +site_name: Firebase Hosting v1.0.11+20190626 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 e9bdffac08..5b454e4a65 100644 --- a/gen/firebasehosting1_beta1-cli/src/main.rs +++ b/gen/firebasehosting1_beta1-cli/src/main.rs @@ -1650,7 +1650,7 @@ fn main() { let mut app = App::new("firebasehosting1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190626") + .version("1.0.11+20190626") .about("The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API 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 cb3258a7c1..a29875eda2 100644 --- a/gen/firebasehosting1_beta1/Cargo.toml +++ b/gen/firebasehosting1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasehosting1_beta1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebasehosting1_beta1" homepage = "https://firebase.google.com/docs/hosting/" -documentation = "https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626" +documentation = "https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626" license = "MIT" keywords = ["firebasehosting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/firebasehosting1_beta1/README.md b/gen/firebasehosting1_beta1/README.md index 333df6c08a..d7f9831416 100644 --- a/gen/firebasehosting1_beta1/README.md +++ b/gen/firebasehosting1_beta1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firebase Hosting* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190626/google_firebasehosting1_beta1/struct.FirebaseHosting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.FirebaseHosting.html) ... * sites - * [*domains create*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteDomainCreateCall.html), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteDomainDeleteCall.html), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteDomainGetCall.html), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteDomainListCall.html), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteDomainUpdateCall.html), [*get config*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteGetConfigCall.html), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteReleaseCreateCall.html), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteReleaseListCall.html), [*update config*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteUpdateConfigCall.html), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteVersionCreateCall.html), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteVersionDeleteCall.html), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteVersionFileListCall.html), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteVersionPatchCall.html) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.SiteVersionPopulateFileCall.html) + * [*domains create*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteDomainCreateCall.html), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteDomainDeleteCall.html), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteDomainGetCall.html), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteDomainListCall.html), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteDomainUpdateCall.html), [*get config*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteGetConfigCall.html), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteReleaseCreateCall.html), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteReleaseListCall.html), [*update config*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteUpdateConfigCall.html), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteVersionCreateCall.html), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteVersionDeleteCall.html), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteVersionFileListCall.html), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteVersionPatchCall.html) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.SiteVersionPopulateFileCall.html) @@ -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_beta1/1.0.10+20190626/google_firebasehosting1_beta1/struct.FirebaseHosting.html)** +* **[Hub](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/struct.FirebaseHosting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/enum.Result.html) 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/1.0.10+20190626/google_firebasehosting1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190626/google_firebasehosting1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html) 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/1.0.11+20190626/google_firebasehosting1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190626/google_firebasehosting1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firebasehosting1_beta1/1.0.10+20190626/google_firebasehosting1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.ResponseResult.html) 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/1.0.10+20190626/google_firebasehosting1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190626/google_firebasehosting1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firebasehosting1_beta1/1.0.11+20190626/google_firebasehosting1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/firebasehosting1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/firebasehosting1_beta1/src/cmn.rs +++ b/gen/firebasehosting1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/firebasehosting1_beta1/src/lib.rs b/gen/firebasehosting1_beta1/src/lib.rs index b7aea6301f..8238e64b92 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firebase Hosting* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firebase Hosting* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). @@ -343,7 +343,7 @@ impl<'a, C, A> FirebaseHosting FirebaseHosting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://firebasehosting.googleapis.com/".to_string(), _root_url: "https://firebasehosting.googleapis.com/".to_string(), } @@ -354,7 +354,7 @@ impl<'a, C, A> FirebaseHosting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebaseremoteconfig1-cli/Cargo.toml b/gen/firebaseremoteconfig1-cli/Cargo.toml index 5024fb7fa8..51efe99095 100644 --- a/gen/firebaseremoteconfig1-cli/Cargo.toml +++ b/gen/firebaseremoteconfig1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebaseremoteconfig1-cli" -version = "1.0.10+20171129" +version = "1.0.11+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/master/gen/firebaseremoteconfig1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-firebaseremoteconfig1] path = "../firebaseremoteconfig1" -version = "1.0.10+20171129" +version = "1.0.11+20171129" diff --git a/gen/firebaseremoteconfig1-cli/README.md b/gen/firebaseremoteconfig1-cli/README.md index 19a2b194e8..3a27e31520 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 *1.0.10*. +This documentation was generated from the *Firebase Remote Config* API at revision *20171129*. The CLI is at version *1.0.11*. ```bash firebaseremoteconfig1 [options] diff --git a/gen/firebaseremoteconfig1-cli/mkdocs.yml b/gen/firebaseremoteconfig1-cli/mkdocs.yml index 298c8a60b9..97f2455549 100644 --- a/gen/firebaseremoteconfig1-cli/mkdocs.yml +++ b/gen/firebaseremoteconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Remote Config v1.0.10+20171129 +site_name: Firebase Remote Config v1.0.11+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 0b0a8edd85..be8070e5fd 100644 --- a/gen/firebaseremoteconfig1-cli/src/main.rs +++ b/gen/firebaseremoteconfig1-cli/src/main.rs @@ -363,7 +363,7 @@ fn main() { let mut app = App::new("firebaseremoteconfig1") .author("Sebastian Thiel ") - .version("1.0.10+20171129") + .version("1.0.11+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 a3eecdd4f4..392c643438 100644 --- a/gen/firebaseremoteconfig1/Cargo.toml +++ b/gen/firebaseremoteconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseremoteconfig1" -version = "1.0.10+20171129" +version = "1.0.11+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/master/gen/firebaseremoteconfig1" homepage = "https://firebase.google.com/docs/remote-config/" -documentation = "https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129" +documentation = "https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129" license = "MIT" keywords = ["firebaseremoteconfig", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/firebaseremoteconfig1/README.md b/gen/firebaseremoteconfig1/README.md index 581df911bd..e2853d6f36 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 *1.0.10+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firebase Remote Config* crate version *1.0.11+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20171129/google_firebaseremoteconfig1/struct.FirebaseRemoteConfig.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/struct.FirebaseRemoteConfig.html) ... * projects - * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/struct.ProjectGetRemoteConfigCall.html) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/struct.ProjectUpdateRemoteConfigCall.html) + * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/struct.ProjectGetRemoteConfigCall.html) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/struct.ProjectUpdateRemoteConfigCall.html) @@ -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/1.0.10+20171129/google_firebaseremoteconfig1/struct.FirebaseRemoteConfig.html)** +* **[Hub](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/struct.FirebaseRemoteConfig.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20171129/google_firebaseremoteconfig1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html) 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/1.0.11+20171129/google_firebaseremoteconfig1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20171129/google_firebaseremoteconfig1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firebaseremoteconfig1/1.0.10+20171129/google_firebaseremoteconfig1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.ResponseResult.html) 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/1.0.10+20171129/google_firebaseremoteconfig1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20171129/google_firebaseremoteconfig1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firebaseremoteconfig1/1.0.11+20171129/google_firebaseremoteconfig1/trait.RequestValue.html) are 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/cmn.rs b/gen/firebaseremoteconfig1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/firebaseremoteconfig1/src/cmn.rs +++ b/gen/firebaseremoteconfig1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/firebaseremoteconfig1/src/lib.rs b/gen/firebaseremoteconfig1/src/lib.rs index 0f970890a7..fa5e1435a6 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 *1.0.10+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firebase Remote Config* crate version *1.0.11+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firebase Remote Config* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/remote-config/). @@ -310,7 +310,7 @@ impl<'a, C, A> FirebaseRemoteConfig FirebaseRemoteConfig { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://firebaseremoteconfig.googleapis.com/".to_string(), _root_url: "https://firebaseremoteconfig.googleapis.com/".to_string(), } @@ -321,7 +321,7 @@ impl<'a, C, A> FirebaseRemoteConfig } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firestore1-cli/Cargo.toml b/gen/firestore1-cli/Cargo.toml index 023c77769d..1961320834 100644 --- a/gen/firestore1-cli/Cargo.toml +++ b/gen/firestore1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firestore1-cli" -version = "1.0.10+20190419" +version = "1.0.11+20190419" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firestore1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-firestore1] path = "../firestore1" -version = "1.0.10+20190419" +version = "1.0.11+20190419" diff --git a/gen/firestore1-cli/README.md b/gen/firestore1-cli/README.md index e4a220b993..b9ea15b244 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 *20190419*. The CLI is at version *1.0.10*. +This documentation was generated from the *Firestore* API at revision *20190419*. The CLI is at version *1.0.11*. ```bash firestore1 [options] diff --git a/gen/firestore1-cli/mkdocs.yml b/gen/firestore1-cli/mkdocs.yml index 8b28fd6a77..71e1d7ba39 100644 --- a/gen/firestore1-cli/mkdocs.yml +++ b/gen/firestore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v1.0.10+20190419 +site_name: Firestore v1.0.11+20190419 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 70a5018aab..b885cf2941 100644 --- a/gen/firestore1-cli/src/main.rs +++ b/gen/firestore1-cli/src/main.rs @@ -3189,7 +3189,7 @@ fn main() { let mut app = App::new("firestore1") .author("Sebastian Thiel ") - .version("1.0.10+20190419") + .version("1.0.11+20190419") .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") diff --git a/gen/firestore1/Cargo.toml b/gen/firestore1/Cargo.toml index 773a15a4ed..e910daf621 100644 --- a/gen/firestore1/Cargo.toml +++ b/gen/firestore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1" -version = "1.0.10+20190419" +version = "1.0.11+20190419" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firestore1" homepage = "https://cloud.google.com/firestore" -documentation = "https://docs.rs/google-firestore1/1.0.10+20190419" +documentation = "https://docs.rs/google-firestore1/1.0.11+20190419" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/firestore1/README.md b/gen/firestore1/README.md index 031f223d42..c8dc2aef9b 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 *1.0.10+20190419*, where *20190419* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firestore* crate version *1.0.11+20190419*, where *20190419* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190419/google_firestore1/struct.Firestore.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.Firestore.html) ... * projects - * [*databases collection groups fields get*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupFieldGetCall.html), [*databases collection groups fields list*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupFieldListCall.html), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupFieldPatchCall.html), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeCreateCall.html), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeDeleteCall.html), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeGetCall.html), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeListCall.html), [*databases documents batch get*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentBatchGetCall.html), [*databases documents begin transaction*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentBeginTransactionCall.html), [*databases documents commit*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentCommitCall.html), [*databases documents create document*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentCreateDocumentCall.html), [*databases documents delete*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentDeleteCall.html), [*databases documents get*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentGetCall.html), [*databases documents list*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentListCall.html), [*databases documents list collection ids*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentListCollectionIdCall.html), [*databases documents listen*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentListenCall.html), [*databases documents patch*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentPatchCall.html), [*databases documents rollback*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentRollbackCall.html), [*databases documents run query*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentRunQueryCall.html), [*databases documents write*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseDocumentWriteCall.html), [*databases export documents*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseExportDocumentCall.html), [*databases import documents*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseImportDocumentCall.html), [*databases operations cancel*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseOperationCancelCall.html), [*databases operations delete*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseOperationDeleteCall.html), [*databases operations get*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseOperationGetCall.html), [*databases operations list*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectDatabaseOperationListCall.html), [*locations get*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectLocationGetCall.html) and [*locations list*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/struct.ProjectLocationListCall.html) + * [*databases collection groups fields get*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupFieldGetCall.html), [*databases collection groups fields list*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupFieldListCall.html), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupFieldPatchCall.html), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeCreateCall.html), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeDeleteCall.html), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeGetCall.html), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseCollectionGroupIndexeListCall.html), [*databases documents batch get*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentBatchGetCall.html), [*databases documents begin transaction*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentBeginTransactionCall.html), [*databases documents commit*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentCommitCall.html), [*databases documents create document*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentCreateDocumentCall.html), [*databases documents delete*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentDeleteCall.html), [*databases documents get*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentGetCall.html), [*databases documents list*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentListCall.html), [*databases documents list collection ids*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentListCollectionIdCall.html), [*databases documents listen*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentListenCall.html), [*databases documents patch*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentPatchCall.html), [*databases documents rollback*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentRollbackCall.html), [*databases documents run query*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentRunQueryCall.html), [*databases documents write*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseDocumentWriteCall.html), [*databases export documents*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseExportDocumentCall.html), [*databases import documents*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseImportDocumentCall.html), [*databases operations cancel*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseOperationCancelCall.html), [*databases operations delete*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseOperationDeleteCall.html), [*databases operations get*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseOperationGetCall.html), [*databases operations list*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectDatabaseOperationListCall.html), [*locations get*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectLocationGetCall.html) and [*locations list*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190419/google_firestore1/struct.Firestore.html)** +* **[Hub](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/struct.Firestore.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190419/google_firestore1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-firestore1/1.0.10+20190419/google_firestore1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.CallBuilder.html) 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/1.0.11+20190419/google_firestore1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190419/google_firestore1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firestore1/1.0.10+20190419/google_firestore1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.ResponseResult.html) 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/1.0.10+20190419/google_firestore1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190419/google_firestore1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190419/google_firestore1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firestore1/1.0.11+20190419/google_firestore1/trait.RequestValue.html) are 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/cmn.rs b/gen/firestore1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/firestore1/src/cmn.rs +++ b/gen/firestore1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/firestore1/src/lib.rs b/gen/firestore1/src/lib.rs index 57ed1f84c5..540d665fcb 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 *1.0.10+20190419*, where *20190419* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firestore* crate version *1.0.11+20190419*, where *20190419* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). @@ -339,7 +339,7 @@ impl<'a, C, A> Firestore Firestore { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://firestore.googleapis.com/".to_string(), _root_url: "https://firestore.googleapis.com/".to_string(), } @@ -350,7 +350,7 @@ impl<'a, C, A> Firestore } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firestore1_beta1-cli/Cargo.toml b/gen/firestore1_beta1-cli/Cargo.toml index b7c3a2dbb8..7c0cdcf0a7 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 = "1.0.10+20190419" +version = "1.0.11+20190419" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firestore1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-firestore1_beta1] path = "../firestore1_beta1" -version = "1.0.10+20190419" +version = "1.0.11+20190419" diff --git a/gen/firestore1_beta1-cli/README.md b/gen/firestore1_beta1-cli/README.md index 86db603b19..9c5ac47317 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 *20190419*. The CLI is at version *1.0.10*. +This documentation was generated from the *Firestore* API at revision *20190419*. The CLI is at version *1.0.11*. ```bash firestore1-beta1 [options] diff --git a/gen/firestore1_beta1-cli/mkdocs.yml b/gen/firestore1_beta1-cli/mkdocs.yml index 8b677aa2c6..71c20ec1f3 100644 --- a/gen/firestore1_beta1-cli/mkdocs.yml +++ b/gen/firestore1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v1.0.10+20190419 +site_name: Firestore v1.0.11+20190419 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 8e404e42e2..2542f1aca2 100644 --- a/gen/firestore1_beta1-cli/src/main.rs +++ b/gen/firestore1_beta1-cli/src/main.rs @@ -2325,7 +2325,7 @@ fn main() { let mut app = App::new("firestore1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190419") + .version("1.0.11+20190419") .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") diff --git a/gen/firestore1_beta1/Cargo.toml b/gen/firestore1_beta1/Cargo.toml index aec4ea50c9..ed9a7c572c 100644 --- a/gen/firestore1_beta1/Cargo.toml +++ b/gen/firestore1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1_beta1" -version = "1.0.10+20190419" +version = "1.0.11+20190419" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firestore1_beta1" homepage = "https://cloud.google.com/firestore" -documentation = "https://docs.rs/google-firestore1_beta1/1.0.10+20190419" +documentation = "https://docs.rs/google-firestore1_beta1/1.0.11+20190419" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/firestore1_beta1/README.md b/gen/firestore1_beta1/README.md index 0dbf0d2d31..f14284b057 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 *1.0.10+20190419*, where *20190419* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Firestore* crate version *1.0.11+20190419*, where *20190419* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190419/google_firestore1_beta1/struct.Firestore.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.Firestore.html) ... * projects - * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentBatchGetCall.html), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentBeginTransactionCall.html), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentCommitCall.html), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentCreateDocumentCall.html), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentDeleteCall.html), [*databases documents get*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentGetCall.html), [*databases documents list*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentListCall.html), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentListCollectionIdCall.html), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentListenCall.html), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentPatchCall.html), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentRollbackCall.html), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentRunQueryCall.html), [*databases documents write*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentWriteCall.html), [*databases export documents*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseExportDocumentCall.html), [*databases import documents*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseImportDocumentCall.html), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeCreateCall.html), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeDeleteCall.html), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeGetCall.html) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeListCall.html) + * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentBatchGetCall.html), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentBeginTransactionCall.html), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentCommitCall.html), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentCreateDocumentCall.html), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentDeleteCall.html), [*databases documents get*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentGetCall.html), [*databases documents list*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentListCall.html), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentListCollectionIdCall.html), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentListenCall.html), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentPatchCall.html), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentRollbackCall.html), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentRunQueryCall.html), [*databases documents write*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseDocumentWriteCall.html), [*databases export documents*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseExportDocumentCall.html), [*databases import documents*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseImportDocumentCall.html), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeCreateCall.html), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeDeleteCall.html), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeGetCall.html) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.ProjectDatabaseIndexeListCall.html) @@ -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/1.0.10+20190419/google_firestore1_beta1/struct.Firestore.html)** +* **[Hub](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/struct.Firestore.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/enum.Result.html) 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/1.0.10+20190419/google_firestore1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190419/google_firestore1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.CallBuilder.html) 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/1.0.11+20190419/google_firestore1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190419/google_firestore1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firestore1_beta1/1.0.10+20190419/google_firestore1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.ResponseResult.html) 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/1.0.10+20190419/google_firestore1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190419/google_firestore1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190419/google_firestore1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firestore1_beta1/1.0.11+20190419/google_firestore1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/firestore1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/firestore1_beta1/src/cmn.rs +++ b/gen/firestore1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/firestore1_beta1/src/lib.rs b/gen/firestore1_beta1/src/lib.rs index 94437f9d51..54de736882 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 *1.0.10+20190419*, where *20190419* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Firestore* crate version *1.0.11+20190419*, where *20190419* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Firestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). @@ -335,7 +335,7 @@ impl<'a, C, A> Firestore Firestore { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://firestore.googleapis.com/".to_string(), _root_url: "https://firestore.googleapis.com/".to_string(), } @@ -346,7 +346,7 @@ impl<'a, C, A> Firestore } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fitness1-cli/Cargo.toml b/gen/fitness1-cli/Cargo.toml index e480ded2bc..81b6fd41e9 100644 --- a/gen/fitness1-cli/Cargo.toml +++ b/gen/fitness1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fitness1-cli" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fitness1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-fitness1] path = "../fitness1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" diff --git a/gen/fitness1-cli/README.md b/gen/fitness1-cli/README.md index df7e1a48dc..c7e4fa44a7 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 *20190701*. The CLI is at version *1.0.10*. +This documentation was generated from the *fitness* API at revision *20190701*. The CLI is at version *1.0.11*. ```bash fitness1 [options] diff --git a/gen/fitness1-cli/mkdocs.yml b/gen/fitness1-cli/mkdocs.yml index 130619a167..189c9f1c9d 100644 --- a/gen/fitness1-cli/mkdocs.yml +++ b/gen/fitness1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fitness v1.0.10+20190701 +site_name: fitness v1.0.11+20190701 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 5032b91a59..db42d169e2 100644 --- a/gen/fitness1-cli/src/main.rs +++ b/gen/fitness1-cli/src/main.rs @@ -1493,7 +1493,7 @@ fn main() { let mut app = App::new("fitness1") .author("Sebastian Thiel ") - .version("1.0.10+20190701") + .version("1.0.11+20190701") .about("Stores and accesses user data in the fitness store from apps on any platform.") .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 8d57b1d21c..a2af7fa242 100644 --- a/gen/fitness1/Cargo.toml +++ b/gen/fitness1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fitness1" -version = "1.0.10+20190701" +version = "1.0.11+20190701" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fitness1" homepage = "https://developers.google.com/fit/rest/" -documentation = "https://docs.rs/google-fitness1/1.0.10+20190701" +documentation = "https://docs.rs/google-fitness1/1.0.11+20190701" license = "MIT" keywords = ["fitness", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/fitness1/README.md b/gen/fitness1/README.md index 159a896391..6261ff0438 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *fitness* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *fitness* *v1* API can be found at the [official documentation site](https://developers.google.com/fit/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.Fitness.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.Fitness.html) ... * users - * [*data sources create*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceCreateCall.html), [*data sources data point changes list*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceDataPointChangeListCall.html), [*data sources datasets delete*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceDatasetDeleteCall.html), [*data sources datasets get*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceDatasetGetCall.html), [*data sources datasets patch*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceDatasetPatchCall.html), [*data sources delete*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceDeleteCall.html), [*data sources get*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceGetCall.html), [*data sources list*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceListCall.html), [*data sources update*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDataSourceUpdateCall.html), [*dataset aggregate*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserDatasetAggregateCall.html), [*sessions delete*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserSessionDeleteCall.html), [*sessions list*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserSessionListCall.html) and [*sessions update*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/struct.UserSessionUpdateCall.html) + * [*data sources create*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceCreateCall.html), [*data sources data point changes list*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceDataPointChangeListCall.html), [*data sources datasets delete*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceDatasetDeleteCall.html), [*data sources datasets get*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceDatasetGetCall.html), [*data sources datasets patch*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceDatasetPatchCall.html), [*data sources delete*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceDeleteCall.html), [*data sources get*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceGetCall.html), [*data sources list*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceListCall.html), [*data sources update*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDataSourceUpdateCall.html), [*dataset aggregate*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserDatasetAggregateCall.html), [*sessions delete*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserSessionDeleteCall.html), [*sessions list*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserSessionListCall.html) and [*sessions update*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.UserSessionUpdateCall.html) @@ -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/1.0.10+20190701/google_fitness1/struct.Fitness.html)** +* **[Hub](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/struct.Fitness.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.Part.html)** + * **[Parts](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190701/google_fitness1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-fitness1/1.0.10+20190701/google_fitness1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.CallBuilder.html) 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/1.0.11+20190701/google_fitness1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190701/google_fitness1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-fitness1/1.0.10+20190701/google_fitness1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.ResponseResult.html) 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/1.0.10+20190701/google_fitness1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190701/google_fitness1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190701/google_fitness1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-fitness1/1.0.11+20190701/google_fitness1/trait.RequestValue.html) are 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/cmn.rs b/gen/fitness1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/fitness1/src/cmn.rs +++ b/gen/fitness1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/fitness1/src/lib.rs b/gen/fitness1/src/lib.rs index 2730c920bb..408cc2347f 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 *1.0.10+20190701*, where *20190701* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *fitness* crate version *1.0.11+20190701*, where *20190701* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *fitness* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fit/rest/). @@ -400,7 +400,7 @@ impl<'a, C, A> Fitness Fitness { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/fitness/v1/users/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -411,7 +411,7 @@ impl<'a, C, A> Fitness } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fusiontables2-cli/Cargo.toml b/gen/fusiontables2-cli/Cargo.toml index b37b0eff92..386497e21b 100644 --- a/gen/fusiontables2-cli/Cargo.toml +++ b/gen/fusiontables2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fusiontables2-cli" -version = "1.0.10+20171117" +version = "1.0.11+20171117" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fusiontables2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-fusiontables2] path = "../fusiontables2" -version = "1.0.10+20171117" +version = "1.0.11+20171117" diff --git a/gen/fusiontables2-cli/README.md b/gen/fusiontables2-cli/README.md index a7df652538..8bf07262c3 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 *1.0.10*. +This documentation was generated from the *fusiontables* API at revision *20171117*. The CLI is at version *1.0.11*. ```bash fusiontables2 [options] diff --git a/gen/fusiontables2-cli/mkdocs.yml b/gen/fusiontables2-cli/mkdocs.yml index 91c871ba5d..c4367b48c1 100644 --- a/gen/fusiontables2-cli/mkdocs.yml +++ b/gen/fusiontables2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fusiontables v1.0.10+20171117 +site_name: fusiontables v1.0.11+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 e698393d4b..d45c2e1c5d 100644 --- a/gen/fusiontables2-cli/src/main.rs +++ b/gen/fusiontables2-cli/src/main.rs @@ -3663,7 +3663,7 @@ fn main() { let mut app = App::new("fusiontables2") .author("Sebastian Thiel ") - .version("1.0.10+20171117") + .version("1.0.11+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 8c14a464e0..dd8b82af9c 100644 --- a/gen/fusiontables2/Cargo.toml +++ b/gen/fusiontables2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fusiontables2" -version = "1.0.10+20171117" +version = "1.0.11+20171117" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fusiontables2" homepage = "https://developers.google.com/fusiontables" -documentation = "https://docs.rs/google-fusiontables2/1.0.10+20171117" +documentation = "https://docs.rs/google-fusiontables2/1.0.11+20171117" license = "MIT" keywords = ["fusiontables", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/fusiontables2/README.md b/gen/fusiontables2/README.md index 156a64795e..3ea5afe699 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 *1.0.10+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *fusiontables* crate version *1.0.11+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20171117/google_fusiontables2/struct.Fusiontables.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.Fusiontables.html) ... -* [column](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.Column.html) - * [*delete*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.ColumnDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.ColumnGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.ColumnInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.ColumnListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.ColumnPatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.ColumnUpdateCall.html) +* [column](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.Column.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.ColumnDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.ColumnGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.ColumnInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.ColumnListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.ColumnPatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.ColumnUpdateCall.html) * query - * [*sql*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.QuerySqlCall.html) and [*sql get*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.QuerySqlGetCall.html) + * [*sql*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.QuerySqlCall.html) and [*sql get*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.QuerySqlGetCall.html) * style - * [*delete*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.StyleDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.StyleGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.StyleInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.StyleListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.StylePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.StyleUpdateCall.html) -* [table](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.Table.html) - * [*copy*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableCopyCall.html), [*delete*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableGetCall.html), [*import rows*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableImportRowCall.html), [*import table*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableImportTableCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TablePatchCall.html), [*refetch sheet*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableRefetchSheetCall.html), [*replace rows*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableReplaceRowCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableUpdateCall.html) -* [task](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.Task.html) - * [*delete*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TaskGetCall.html) and [*list*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TaskListCall.html) -* [template](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.Template.html) - * [*delete*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TemplateInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TemplateListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TemplatePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TemplateUpdateCall.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.StyleDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.StyleGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.StyleInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.StyleListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.StylePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.StyleUpdateCall.html) +* [table](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.Table.html) + * [*copy*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableCopyCall.html), [*delete*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableGetCall.html), [*import rows*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableImportRowCall.html), [*import table*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableImportTableCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TablePatchCall.html), [*refetch sheet*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableRefetchSheetCall.html), [*replace rows*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableReplaceRowCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableUpdateCall.html) +* [task](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.Task.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TaskGetCall.html) and [*list*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TaskListCall.html) +* [template](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.Template.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TemplateInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TemplateListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TemplatePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TemplateUpdateCall.html) Upload supported by ... -* [*replace rows table*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableReplaceRowCall.html) -* [*import rows table*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableImportRowCall.html) -* [*import table table*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.TableImportTableCall.html) +* [*replace rows table*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableReplaceRowCall.html) +* [*import rows table*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableImportRowCall.html) +* [*import table table*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.TableImportTableCall.html) Download supported by ... -* [*sql get query*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.QuerySqlGetCall.html) -* [*sql query*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.QuerySqlCall.html) +* [*sql get query*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.QuerySqlGetCall.html) +* [*sql query*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.QuerySqlCall.html) @@ -44,17 +44,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/struct.Fusiontables.html)** +* **[Hub](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/struct.Fusiontables.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.Part.html)** + * **[Parts](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20171117/google_fusiontables2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.CallBuilder.html) 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/1.0.11+20171117/google_fusiontables2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20171117/google_fusiontables2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-fusiontables2/1.0.10+20171117/google_fusiontables2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.ResponseResult.html) 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/1.0.10+20171117/google_fusiontables2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20171117/google_fusiontables2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20171117/google_fusiontables2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-fusiontables2/1.0.11+20171117/google_fusiontables2/trait.RequestValue.html) are 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/cmn.rs b/gen/fusiontables2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/fusiontables2/src/cmn.rs +++ b/gen/fusiontables2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/fusiontables2/src/lib.rs b/gen/fusiontables2/src/lib.rs index e305cce1df..4738dac326 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 *1.0.10+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *fusiontables* crate version *1.0.11+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *fusiontables* *v2* API can be found at the //! [official documentation site](https://developers.google.com/fusiontables). @@ -353,7 +353,7 @@ impl<'a, C, A> Fusiontables Fusiontables { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/fusiontables/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -379,7 +379,7 @@ impl<'a, C, A> Fusiontables } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/games1-cli/Cargo.toml b/gen/games1-cli/Cargo.toml index 286ee51be4..9d6731a4f0 100644 --- a/gen/games1-cli/Cargo.toml +++ b/gen/games1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-games1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/games1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-games1] path = "../games1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/games1-cli/README.md b/gen/games1-cli/README.md index a76315b8ef..06fd9fcab8 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Games* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash games1 [options] diff --git a/gen/games1-cli/mkdocs.yml b/gen/games1-cli/mkdocs.yml index d876353238..42a4e4d552 100644 --- a/gen/games1-cli/mkdocs.yml +++ b/gen/games1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games v1.0.10+20190627 +site_name: Games v1.0.11+20190627 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 e2ca285202..c9e48e236a 100644 --- a/gen/games1-cli/src/main.rs +++ b/gen/games1-cli/src/main.rs @@ -5099,7 +5099,7 @@ fn main() { let mut app = App::new("games1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .about("The API for Google Play Game Services.") .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 b8d58c9f4f..4a53e26d4d 100644 --- a/gen/games1/Cargo.toml +++ b/gen/games1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-games1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/games1" homepage = "https://developers.google.com/games/services/" -documentation = "https://docs.rs/google-games1/1.0.10+20190627" +documentation = "https://docs.rs/google-games1/1.0.11+20190627" license = "MIT" keywords = ["games", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/games1/README.md b/gen/games1/README.md index 220b4ee923..b370d467dd 100644 --- a/gen/games1/README.md +++ b/gen/games1/README.md @@ -5,44 +5,44 @@ 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Games* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Games* *v1* API can be found at the [official documentation site](https://developers.google.com/games/services/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Games.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Games.html) ... -* [achievement definitions](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementDefinition.html) - * [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementDefinitionListCall.html) +* [achievement definitions](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementDefinition.html) + * [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementDefinitionListCall.html) * achievements - * [*increment*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementIncrementCall.html), [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementListCall.html), [*reveal*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementRevealCall.html), [*set steps at least*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementSetStepsAtLeastCall.html), [*unlock*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementUnlockCall.html) and [*update multiple*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.AchievementUpdateMultipleCall.html) -* [applications](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Application.html) - * [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ApplicationGetCall.html), [*played*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ApplicationPlayedCall.html) and [*verify*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ApplicationVerifyCall.html) + * [*increment*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementIncrementCall.html), [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementListCall.html), [*reveal*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementRevealCall.html), [*set steps at least*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementSetStepsAtLeastCall.html), [*unlock*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementUnlockCall.html) and [*update multiple*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.AchievementUpdateMultipleCall.html) +* [applications](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Application.html) + * [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ApplicationGetCall.html), [*played*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ApplicationPlayedCall.html) and [*verify*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ApplicationVerifyCall.html) * events - * [*list by player*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.EventListByPlayerCall.html), [*list definitions*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.EventListDefinitionCall.html) and [*record*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.EventRecordCall.html) -* [leaderboards](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Leaderboard.html) - * [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.LeaderboardGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.LeaderboardListCall.html) + * [*list by player*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.EventListByPlayerCall.html), [*list definitions*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.EventListDefinitionCall.html) and [*record*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.EventRecordCall.html) +* [leaderboards](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Leaderboard.html) + * [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.LeaderboardGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.LeaderboardListCall.html) * metagame - * [*get metagame config*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.MetagameGetMetagameConfigCall.html) and [*list categories by player*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.MetagameListCategoriesByPlayerCall.html) -* [players](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Player.html) - * [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.PlayerGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.PlayerListCall.html) + * [*get metagame config*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.MetagameGetMetagameConfigCall.html) and [*list categories by player*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.MetagameListCategoriesByPlayerCall.html) +* [players](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Player.html) + * [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.PlayerGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.PlayerListCall.html) * pushtokens - * [*remove*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.PushtokenRemoveCall.html) and [*update*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.PushtokenUpdateCall.html) -* [quest milestones](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.QuestMilestone.html) - * [*claim*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.QuestMilestoneClaimCall.html) -* [quests](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Quest.html) - * [*accept*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.QuestAcceptCall.html) and [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.QuestListCall.html) + * [*remove*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.PushtokenRemoveCall.html) and [*update*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.PushtokenUpdateCall.html) +* [quest milestones](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.QuestMilestone.html) + * [*claim*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.QuestMilestoneClaimCall.html) +* [quests](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Quest.html) + * [*accept*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.QuestAcceptCall.html) and [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.QuestListCall.html) * revisions - * [*check*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RevisionCheckCall.html) -* [rooms](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Room.html) - * [*create*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomDismisCall.html), [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomGetCall.html), [*join*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomLeaveCall.html), [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomListCall.html) and [*report status*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.RoomReportStatuCall.html) + * [*check*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RevisionCheckCall.html) +* [rooms](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Room.html) + * [*create*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomDismisCall.html), [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomGetCall.html), [*join*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomLeaveCall.html), [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomListCall.html) and [*report status*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.RoomReportStatuCall.html) * scores - * [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ScoreGetCall.html), [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ScoreListCall.html), [*list window*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ScoreListWindowCall.html), [*submit*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ScoreSubmitCall.html) and [*submit multiple*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.ScoreSubmitMultipleCall.html) -* [snapshots](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.Snapshot.html) - * [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.SnapshotGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.SnapshotListCall.html) + * [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ScoreGetCall.html), [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ScoreListCall.html), [*list window*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ScoreListWindowCall.html), [*submit*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ScoreSubmitCall.html) and [*submit multiple*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.ScoreSubmitMultipleCall.html) +* [snapshots](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Snapshot.html) + * [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.SnapshotGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.SnapshotListCall.html) * turn based matches - * [*cancel*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheCancelCall.html), [*create*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheDismisCall.html), [*finish*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheFinishCall.html), [*get*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheGetCall.html), [*join*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheLeaveCall.html), [*leave turn*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheLeaveTurnCall.html), [*list*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheListCall.html), [*rematch*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheRematchCall.html), [*sync*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheSyncCall.html) and [*take turn*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/struct.TurnBasedMatcheTakeTurnCall.html) + * [*cancel*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheCancelCall.html), [*create*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheDismisCall.html), [*finish*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheFinishCall.html), [*get*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheGetCall.html), [*join*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheLeaveCall.html), [*leave turn*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheLeaveTurnCall.html), [*list*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheListCall.html), [*rematch*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheRematchCall.html), [*sync*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheSyncCall.html) and [*take turn*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.TurnBasedMatcheTakeTurnCall.html) @@ -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-games1/1.0.10+20190627/google_games1/struct.Games.html)** +* **[Hub](https://docs.rs/google-games1/1.0.11+20190627/google_games1/struct.Games.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.Part.html)** + * **[Parts](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -161,17 +161,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/1.0.10+20190627/google_games1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/1.0.11+20190627/google_games1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_games1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-games1/1.0.11+20190627/google_games1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -181,29 +181,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190627/google_games1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.CallBuilder.html) 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/1.0.11+20190627/google_games1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_games1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-games1/1.0.10+20190627/google_games1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.ResponseResult.html) 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/1.0.10+20190627/google_games1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_games1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_games1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-games1/1.0.11+20190627/google_games1/trait.RequestValue.html) are 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/cmn.rs b/gen/games1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/games1/src/cmn.rs +++ b/gen/games1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs index 553e5d7ffa..8b48f0507e 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Games* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Games* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/services/). @@ -360,7 +360,7 @@ impl<'a, C, A> Games Games { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/games/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -413,7 +413,7 @@ impl<'a, C, A> Games } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gamesconfiguration1_configuration-cli/Cargo.toml b/gen/gamesconfiguration1_configuration-cli/Cargo.toml index 6087219df1..42ce18e647 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 = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesconfiguration1_configuration-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-gamesconfiguration1_configuration] path = "../gamesconfiguration1_configuration" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/gamesconfiguration1_configuration-cli/README.md b/gen/gamesconfiguration1_configuration-cli/README.md index 890f2875c6..6006ded5cc 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Games Configuration* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash gamesconfiguration1-configuration [options] diff --git a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml index c5fa128519..b13b4a0161 100644 --- a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml +++ b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Configuration v1.0.10+20190627 +site_name: Games Configuration v1.0.11+20190627 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 17233e40d6..ccb17a648a 100644 --- a/gen/gamesconfiguration1_configuration-cli/src/main.rs +++ b/gen/gamesconfiguration1_configuration-cli/src/main.rs @@ -1552,7 +1552,7 @@ fn main() { let mut app = App::new("gamesconfiguration1-configuration") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .about("The Publishing API for Google Play 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 810171e0be..3817cada46 100644 --- a/gen/gamesconfiguration1_configuration/Cargo.toml +++ b/gen/gamesconfiguration1_configuration/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gamesconfiguration1_configuration" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesconfiguration1_configuration" homepage = "https://developers.google.com/games/services" -documentation = "https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627" +documentation = "https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627" license = "MIT" keywords = ["gamesConfiguration", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/gamesconfiguration1_configuration/README.md b/gen/gamesconfiguration1_configuration/README.md index de9b105909..55b8242120 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Games Configuration* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Games Configuration* *v1_configuration* API can be found at the [official documentation site](https://developers.google.com/games/services). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html) ... -* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfiguration.html) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationUpdateCall.html) -* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.ImageConfiguration.html) - * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) -* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfiguration.html) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationUpdateCall.html) +* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfiguration.html) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.AchievementConfigurationUpdateCall.html) +* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.ImageConfiguration.html) + * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) +* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfiguration.html) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationUpdateCall.html) Upload supported by ... -* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) +* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) @@ -31,17 +31,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html)** +* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.Part.html)** + * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/enum.Result.html) 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/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_gamesconfiguration1_configuration/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html) 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/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gamesconfiguration1_configuration/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.ResponseResult.html) 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/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_gamesconfiguration1_configuration/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gamesconfiguration1_configuration/1.0.11+20190627/google_gamesconfiguration1_configuration/trait.RequestValue.html) are 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/cmn.rs b/gen/gamesconfiguration1_configuration/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/gamesconfiguration1_configuration/src/cmn.rs +++ b/gen/gamesconfiguration1_configuration/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs b/gen/gamesconfiguration1_configuration/src/lib.rs index 0c7d16c63d..6105a0060e 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Games Configuration* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Games Configuration* *v1_configuration* API can be found at the //! [official documentation site](https://developers.google.com/games/services). @@ -334,7 +334,7 @@ impl<'a, C, A> GamesConfiguration GamesConfiguration { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/games/v1configuration/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -351,7 +351,7 @@ impl<'a, C, A> GamesConfiguration } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gamesmanagement1_management-cli/Cargo.toml b/gen/gamesmanagement1_management-cli/Cargo.toml index de1b0733ef..cc8e87b652 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 = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesmanagement1_management-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-gamesmanagement1_management] path = "../gamesmanagement1_management" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/gamesmanagement1_management-cli/README.md b/gen/gamesmanagement1_management-cli/README.md index 469d6f1743..eea5b345e3 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Games Management* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash gamesmanagement1-management [options] diff --git a/gen/gamesmanagement1_management-cli/mkdocs.yml b/gen/gamesmanagement1_management-cli/mkdocs.yml index 5739963517..a60bcef3c1 100644 --- a/gen/gamesmanagement1_management-cli/mkdocs.yml +++ b/gen/gamesmanagement1_management-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Management v1.0.10+20190627 +site_name: Games Management v1.0.11+20190627 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 046e7bc3dd..fabcab0085 100644 --- a/gen/gamesmanagement1_management-cli/src/main.rs +++ b/gen/gamesmanagement1_management-cli/src/main.rs @@ -2079,7 +2079,7 @@ fn main() { let mut app = App::new("gamesmanagement1-management") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .about("The Management API for Google Play Game Services.") .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 5bfb75d397..74fe6245fc 100644 --- a/gen/gamesmanagement1_management/Cargo.toml +++ b/gen/gamesmanagement1_management/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gamesmanagement1_management" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesmanagement1_management" homepage = "https://developers.google.com/games/services" -documentation = "https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627" +documentation = "https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627" license = "MIT" keywords = ["gamesManagement", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/gamesmanagement1_management/README.md b/gen/gamesmanagement1_management/README.md index 0d15281ca1..9cc0eeee13 100644 --- a/gen/gamesmanagement1_management/README.md +++ b/gen/gamesmanagement1_management/README.md @@ -5,30 +5,30 @@ 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Games Management* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Games Management* *v1_management* API can be found at the [official documentation site](https://developers.google.com/games/services). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.GamesManagement.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.GamesManagement.html) ... * achievements - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.AchievementResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.AchievementResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.AchievementResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.AchievementResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.AchievementResetMultipleForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.AchievementResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.AchievementResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.AchievementResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.AchievementResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.AchievementResetMultipleForAllPlayerCall.html) * applications - * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.ApplicationListHiddenCall.html) + * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.ApplicationListHiddenCall.html) * events - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.EventResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.EventResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.EventResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.EventResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.EventResetMultipleForAllPlayerCall.html) -* [players](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.Player.html) - * [*hide*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.PlayerHideCall.html) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.PlayerUnhideCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.EventResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.EventResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.EventResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.EventResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.EventResetMultipleForAllPlayerCall.html) +* [players](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.Player.html) + * [*hide*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.PlayerHideCall.html) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.PlayerUnhideCall.html) * quests - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.QuestResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.QuestResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.QuestResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.QuestResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.QuestResetMultipleForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.QuestResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.QuestResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.QuestResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.QuestResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.QuestResetMultipleForAllPlayerCall.html) * rooms - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.RoomResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.RoomResetForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.RoomResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.RoomResetForAllPlayerCall.html) * scores - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.ScoreResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.ScoreResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.ScoreResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.ScoreResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.ScoreResetMultipleForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.ScoreResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.ScoreResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.ScoreResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.ScoreResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.ScoreResetMultipleForAllPlayerCall.html) * turn based matches - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.TurnBasedMatcheResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.TurnBasedMatcheResetForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.TurnBasedMatcheResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.TurnBasedMatcheResetForAllPlayerCall.html) @@ -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-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/struct.GamesManagement.html)** +* **[Hub](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/struct.GamesManagement.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.Part.html)** + * **[Parts](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/enum.Result.html) 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/1.0.10+20190627/google_gamesmanagement1_management/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_gamesmanagement1_management/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.CallBuilder.html) 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/1.0.11+20190627/google_gamesmanagement1_management/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_gamesmanagement1_management/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gamesmanagement1_management/1.0.10+20190627/google_gamesmanagement1_management/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.ResponseResult.html) 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/1.0.10+20190627/google_gamesmanagement1_management/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_gamesmanagement1_management/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_gamesmanagement1_management/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gamesmanagement1_management/1.0.11+20190627/google_gamesmanagement1_management/trait.RequestValue.html) are 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/cmn.rs b/gen/gamesmanagement1_management/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/gamesmanagement1_management/src/cmn.rs +++ b/gen/gamesmanagement1_management/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/gamesmanagement1_management/src/lib.rs b/gen/gamesmanagement1_management/src/lib.rs index 3ccf53258d..c9847bb469 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Games Management* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Games Management* *v1_management* API can be found at the //! [official documentation site](https://developers.google.com/games/services). @@ -332,7 +332,7 @@ impl<'a, C, A> GamesManagement GamesManagement { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/games/v1management/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -364,7 +364,7 @@ impl<'a, C, A> GamesManagement } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gan1_beta1-cli/Cargo.toml b/gen/gan1_beta1-cli/Cargo.toml index 7ca8d05238..2b84baa02d 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 = "1.0.10+20130205" +version = "1.0.11+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gan1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-gan1_beta1] path = "../gan1_beta1" -version = "1.0.10+20130205" +version = "1.0.11+20130205" diff --git a/gen/gan1_beta1-cli/README.md b/gen/gan1_beta1-cli/README.md index 308dd42265..995f34e13f 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 *1.0.10*. +This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *1.0.11*. ```bash gan1-beta1 [options] diff --git a/gen/gan1_beta1-cli/mkdocs.yml b/gen/gan1_beta1-cli/mkdocs.yml index 604627a4a7..cebc21911f 100644 --- a/gen/gan1_beta1-cli/mkdocs.yml +++ b/gen/gan1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: gan v1.0.10+20130205 +site_name: gan v1.0.11+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 b87e13a668..589cbcb91a 100644 --- a/gen/gan1_beta1-cli/src/main.rs +++ b/gen/gan1_beta1-cli/src/main.rs @@ -1263,7 +1263,7 @@ fn main() { let mut app = App::new("gan1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20130205") + .version("1.0.11+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 2122e7662a..cba3f11333 100644 --- a/gen/gan1_beta1/Cargo.toml +++ b/gen/gan1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gan1_beta1" -version = "1.0.10+20130205" +version = "1.0.11+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gan1_beta1" homepage = "https://developers.google.com/affiliate-network/" -documentation = "https://docs.rs/google-gan1_beta1/1.0.10+20130205" +documentation = "https://docs.rs/google-gan1_beta1/1.0.11+20130205" license = "MIT" keywords = ["gan", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/gan1_beta1/README.md b/gen/gan1_beta1/README.md index 50dfd0d4b4..ef46ff0fad 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 *1.0.10+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *gan* crate version *1.0.11+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20130205/google_gan1_beta1/struct.Gan.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Gan.html) ... -* [advertisers](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.Advertiser.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.AdvertiserGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.AdvertiserListCall.html) -* [cc offers](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.CcOffer.html) - * [*list*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.CcOfferListCall.html) -* [events](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.Event.html) - * [*list*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.EventListCall.html) -* [links](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.Link.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.LinkGetCall.html), [*insert*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.LinkInsertCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.LinkListCall.html) -* [publishers](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.Publisher.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.PublisherGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.PublisherListCall.html) -* [reports](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.Report.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/struct.ReportGetCall.html) +* [advertisers](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Advertiser.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.AdvertiserGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.AdvertiserListCall.html) +* [cc offers](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.CcOffer.html) + * [*list*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.CcOfferListCall.html) +* [events](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Event.html) + * [*list*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.EventListCall.html) +* [links](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Link.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.LinkGetCall.html), [*insert*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.LinkInsertCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.LinkListCall.html) +* [publishers](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Publisher.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.PublisherGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.PublisherListCall.html) +* [reports](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Report.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.ReportGetCall.html) @@ -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/1.0.10+20130205/google_gan1_beta1/struct.Gan.html)** +* **[Hub](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/struct.Gan.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -149,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/enum.Result.html) 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/1.0.10+20130205/google_gan1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20130205/google_gan1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.CallBuilder.html) 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/1.0.11+20130205/google_gan1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20130205/google_gan1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gan1_beta1/1.0.10+20130205/google_gan1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.ResponseResult.html) 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/1.0.10+20130205/google_gan1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20130205/google_gan1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20130205/google_gan1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gan1_beta1/1.0.11+20130205/google_gan1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/gan1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/gan1_beta1/src/cmn.rs +++ b/gen/gan1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/gan1_beta1/src/lib.rs b/gen/gan1_beta1/src/lib.rs index 87f1b645bf..48015d2dd8 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 *1.0.10+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *gan* crate version *1.0.11+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *gan* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/affiliate-network/). @@ -333,7 +333,7 @@ impl<'a, C, A> Gan Gan { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/gan/v1beta1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -359,7 +359,7 @@ impl<'a, C, A> Gan } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/genomics1-cli/Cargo.toml b/gen/genomics1-cli/Cargo.toml index bd49db5b35..8112eb188b 100644 --- a/gen/genomics1-cli/Cargo.toml +++ b/gen/genomics1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-genomics1-cli" -version = "1.0.10+20190704" +version = "1.0.11+20190704" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/genomics1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-genomics1] path = "../genomics1" -version = "1.0.10+20190704" +version = "1.0.11+20190704" diff --git a/gen/genomics1-cli/README.md b/gen/genomics1-cli/README.md index d310b15025..8590c832ee 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 *20190704*. The CLI is at version *1.0.10*. +This documentation was generated from the *genomics* API at revision *20190704*. The CLI is at version *1.0.11*. ```bash genomics1 [options] diff --git a/gen/genomics1-cli/mkdocs.yml b/gen/genomics1-cli/mkdocs.yml index b98391bbd2..2f58d379ec 100644 --- a/gen/genomics1-cli/mkdocs.yml +++ b/gen/genomics1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: genomics v1.0.10+20190704 +site_name: genomics v1.0.11+20190704 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 eea70d295a..9ec5d64ca4 100644 --- a/gen/genomics1-cli/src/main.rs +++ b/gen/genomics1-cli/src/main.rs @@ -446,7 +446,7 @@ fn main() { let mut app = App::new("genomics1") .author("Sebastian Thiel ") - .version("1.0.10+20190704") + .version("1.0.11+20190704") .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 73628448e5..f9d8da1459 100644 --- a/gen/genomics1/Cargo.toml +++ b/gen/genomics1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-genomics1" -version = "1.0.10+20190704" +version = "1.0.11+20190704" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/genomics1" homepage = "https://cloud.google.com/genomics" -documentation = "https://docs.rs/google-genomics1/1.0.10+20190704" +documentation = "https://docs.rs/google-genomics1/1.0.11+20190704" license = "MIT" keywords = ["genomics", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/genomics1/README.md b/gen/genomics1/README.md index 4620ff714b..6fc89efe1c 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 *1.0.10+20190704*, where *20190704* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *genomics* crate version *1.0.11+20190704*, where *20190704* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190704/google_genomics1/struct.Genomics.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/struct.Genomics.html) ... -* [operations](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/struct.OperationCancelCall.html), [*get*](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/struct.OperationCancelCall.html), [*get*](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/struct.OperationListCall.html) @@ -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/1.0.10+20190704/google_genomics1/struct.Genomics.html)** +* **[Hub](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/struct.Genomics.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.Part.html)** + * **[Parts](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190704/google_genomics1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-genomics1/1.0.10+20190704/google_genomics1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.CallBuilder.html) 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/1.0.11+20190704/google_genomics1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190704/google_genomics1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-genomics1/1.0.10+20190704/google_genomics1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.ResponseResult.html) 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/1.0.10+20190704/google_genomics1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190704/google_genomics1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190704/google_genomics1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-genomics1/1.0.11+20190704/google_genomics1/trait.RequestValue.html) are 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/cmn.rs b/gen/genomics1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/genomics1/src/cmn.rs +++ b/gen/genomics1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/genomics1/src/lib.rs b/gen/genomics1/src/lib.rs index 9dd04fc7c9..67c2b282e4 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 *1.0.10+20190704*, where *20190704* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *genomics* crate version *1.0.11+20190704*, where *20190704* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *genomics* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/genomics). @@ -329,7 +329,7 @@ impl<'a, C, A> Genomics Genomics { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://genomics.googleapis.com/".to_string(), _root_url: "https://genomics.googleapis.com/".to_string(), } @@ -340,7 +340,7 @@ impl<'a, C, A> Genomics } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/groupsmigration1-cli/Cargo.toml b/gen/groupsmigration1-cli/Cargo.toml index 8e2d742b1a..f2296caec9 100644 --- a/gen/groupsmigration1-cli/Cargo.toml +++ b/gen/groupsmigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupsmigration1-cli" -version = "1.0.10+20181126" +version = "1.0.11+20181126" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupsmigration1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-groupsmigration1] path = "../groupsmigration1" -version = "1.0.10+20181126" +version = "1.0.11+20181126" diff --git a/gen/groupsmigration1-cli/README.md b/gen/groupsmigration1-cli/README.md index 0726c222db..14ee8f82e0 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 *20181126*. The CLI is at version *1.0.10*. +This documentation was generated from the *Groups Migration* API at revision *20181126*. The CLI is at version *1.0.11*. ```bash groupsmigration1 [options] diff --git a/gen/groupsmigration1-cli/mkdocs.yml b/gen/groupsmigration1-cli/mkdocs.yml index 4c76a3141c..de361930de 100644 --- a/gen/groupsmigration1-cli/mkdocs.yml +++ b/gen/groupsmigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Groups Migration v1.0.10+20181126 +site_name: Groups Migration v1.0.11+20181126 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 380b23e7a4..518f2d7ae8 100644 --- a/gen/groupsmigration1-cli/src/main.rs +++ b/gen/groupsmigration1-cli/src/main.rs @@ -236,7 +236,7 @@ fn main() { let mut app = App::new("groupsmigration1") .author("Sebastian Thiel ") - .version("1.0.10+20181126") + .version("1.0.11+20181126") .about("Groups Migration Api.") .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 ec32a72a52..88243eca55 100644 --- a/gen/groupsmigration1/Cargo.toml +++ b/gen/groupsmigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupsmigration1" -version = "1.0.10+20181126" +version = "1.0.11+20181126" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupsmigration1" homepage = "https://developers.google.com/google-apps/groups-migration/" -documentation = "https://docs.rs/google-groupsmigration1/1.0.10+20181126" +documentation = "https://docs.rs/google-groupsmigration1/1.0.11+20181126" license = "MIT" keywords = ["groupsmigration", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/groupsmigration1/README.md b/gen/groupsmigration1/README.md index 0a801f8d1f..27dfc2de15 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 *1.0.10+20181126*, where *20181126* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Groups Migration* crate version *1.0.11+20181126*, where *20181126* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20181126/google_groupsmigration1/struct.GroupsMigration.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/struct.GroupsMigration.html) ... * archive - * [*insert*](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/struct.ArchiveInsertCall.html) + * [*insert*](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/struct.ArchiveInsertCall.html) Upload supported by ... -* [*insert archive*](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/struct.ArchiveInsertCall.html) +* [*insert archive*](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/struct.ArchiveInsertCall.html) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/struct.GroupsMigration.html)** +* **[Hub](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/struct.GroupsMigration.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.Part.html)** + * **[Parts](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181126/google_groupsmigration1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.CallBuilder.html) 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/1.0.11+20181126/google_groupsmigration1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181126/google_groupsmigration1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-groupsmigration1/1.0.10+20181126/google_groupsmigration1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.ResponseResult.html) 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/1.0.10+20181126/google_groupsmigration1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181126/google_groupsmigration1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181126/google_groupsmigration1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-groupsmigration1/1.0.11+20181126/google_groupsmigration1/trait.RequestValue.html) are 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/cmn.rs b/gen/groupsmigration1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/groupsmigration1/src/cmn.rs +++ b/gen/groupsmigration1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/groupsmigration1/src/lib.rs b/gen/groupsmigration1/src/lib.rs index e8949c58c7..6455aa4de6 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 *1.0.10+20181126*, where *20181126* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Groups Migration* crate version *1.0.11+20181126*, where *20181126* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Groups Migration* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-migration/). @@ -323,7 +323,7 @@ impl<'a, C, A> GroupsMigration GroupsMigration { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/groups/v1/groups/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -334,7 +334,7 @@ impl<'a, C, A> GroupsMigration } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/groupssettings1-cli/Cargo.toml b/gen/groupssettings1-cli/Cargo.toml index 2d1ee026e6..e262f2e6da 100644 --- a/gen/groupssettings1-cli/Cargo.toml +++ b/gen/groupssettings1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupssettings1-cli" -version = "1.0.10+20190315" +version = "1.0.11+20190315" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupssettings1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-groupssettings1] path = "../groupssettings1" -version = "1.0.10+20190315" +version = "1.0.11+20190315" diff --git a/gen/groupssettings1-cli/README.md b/gen/groupssettings1-cli/README.md index d286c8c714..4c4b5c5f3a 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 *20190315*. The CLI is at version *1.0.10*. +This documentation was generated from the *groupssettings* API at revision *20190315*. The CLI is at version *1.0.11*. ```bash groupssettings1 [options] diff --git a/gen/groupssettings1-cli/mkdocs.yml b/gen/groupssettings1-cli/mkdocs.yml index 1a481eb19b..98d419a719 100644 --- a/gen/groupssettings1-cli/mkdocs.yml +++ b/gen/groupssettings1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: groupssettings v1.0.10+20190315 +site_name: groupssettings v1.0.11+20190315 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 2ef4adb567..a481dad5f0 100644 --- a/gen/groupssettings1-cli/src/main.rs +++ b/gen/groupssettings1-cli/src/main.rs @@ -577,7 +577,7 @@ fn main() { let mut app = App::new("groupssettings1") .author("Sebastian Thiel ") - .version("1.0.10+20190315") + .version("1.0.11+20190315") .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 729de97c97..ca6452eba4 100644 --- a/gen/groupssettings1/Cargo.toml +++ b/gen/groupssettings1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupssettings1" -version = "1.0.10+20190315" +version = "1.0.11+20190315" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupssettings1" homepage = "https://developers.google.com/google-apps/groups-settings/get_started" -documentation = "https://docs.rs/google-groupssettings1/1.0.10+20190315" +documentation = "https://docs.rs/google-groupssettings1/1.0.11+20190315" license = "MIT" keywords = ["groupssettings", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/groupssettings1/README.md b/gen/groupssettings1/README.md index c7f3532867..051a38e252 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 *1.0.10+20190315*, where *20190315* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *groupssettings* crate version *1.0.11+20190315*, where *20190315* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190315/google_groupssettings1/struct.Groupssettings.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/struct.Groupssettings.html) ... * groups - * [*get*](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/struct.GroupGetCall.html), [*patch*](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/struct.GroupUpdateCall.html) + * [*get*](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/struct.GroupGetCall.html), [*patch*](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/struct.GroupUpdateCall.html) @@ -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/1.0.10+20190315/google_groupssettings1/struct.Groupssettings.html)** +* **[Hub](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/struct.Groupssettings.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.Part.html)** + * **[Parts](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190315/google_groupssettings1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.CallBuilder.html) 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/1.0.11+20190315/google_groupssettings1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190315/google_groupssettings1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-groupssettings1/1.0.10+20190315/google_groupssettings1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.ResponseResult.html) 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/1.0.10+20190315/google_groupssettings1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190315/google_groupssettings1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190315/google_groupssettings1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-groupssettings1/1.0.11+20190315/google_groupssettings1/trait.RequestValue.html) are 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/cmn.rs b/gen/groupssettings1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/groupssettings1/src/cmn.rs +++ b/gen/groupssettings1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/groupssettings1/src/lib.rs b/gen/groupssettings1/src/lib.rs index 570bad6d62..f801c53a7b 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 *1.0.10+20190315*, where *20190315* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *groupssettings* crate version *1.0.11+20190315*, where *20190315* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -331,7 +331,7 @@ impl<'a, C, A> Groupssettings Groupssettings { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/groups/v1/groups/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -342,7 +342,7 @@ impl<'a, C, A> Groupssettings } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/healthcare1_beta1-cli/Cargo.toml b/gen/healthcare1_beta1-cli/Cargo.toml index df6872fc73..7b9f90e8bc 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 = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/healthcare1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-healthcare1_beta1] path = "../healthcare1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/healthcare1_beta1-cli/README.md b/gen/healthcare1_beta1-cli/README.md index 4b212e9d3a..e77de8fa20 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Healthcare* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash healthcare1-beta1 [options] diff --git a/gen/healthcare1_beta1-cli/mkdocs.yml b/gen/healthcare1_beta1-cli/mkdocs.yml index 694a125df8..ac2d646ef7 100644 --- a/gen/healthcare1_beta1-cli/mkdocs.yml +++ b/gen/healthcare1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Healthcare v1.0.10+20190628 +site_name: Cloud Healthcare v1.0.11+20190628 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 44a6e990b4..ebfee983fb 100644 --- a/gen/healthcare1_beta1-cli/src/main.rs +++ b/gen/healthcare1_beta1-cli/src/main.rs @@ -8696,7 +8696,7 @@ fn main() { let mut app = App::new("healthcare1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 1394b08b44..f5b2dda04d 100644 --- a/gen/healthcare1_beta1/Cargo.toml +++ b/gen/healthcare1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-healthcare1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/healthcare1_beta1" homepage = "https://cloud.google.com/healthcare" -documentation = "https://docs.rs/google-healthcare1_beta1/1.0.10+20190628" +documentation = "https://docs.rs/google-healthcare1_beta1/1.0.11+20190628" license = "MIT" keywords = ["healthcare", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/healthcare1_beta1/README.md b/gen/healthcare1_beta1/README.md index c4d0fac77b..749ba647db 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Healthcare* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_healthcare1_beta1/struct.CloudHealthcare.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.CloudHealthcare.html) ... * projects - * [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetCreateCall.html), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDeidentifyCall.html), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDeleteCall.html), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreCreateCall.html), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreDeleteCall.html), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreExportCall.html), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreGetCall.html), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreGetIamPolicyCall.html), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreImportCall.html), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreListCall.html), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStorePatchCall.html), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSearchForInstanceCall.html), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSearchForSeryCall.html), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSearchForStudyCall.html), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSetIamPolicyCall.html), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStoreInstanceCall.html), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyDeleteCall.html), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall.html), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall.html), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySearchForInstanceCall.html), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySearchForSeryCall.html), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryDeleteCall.html), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall.html), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall.html), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall.html), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall.html), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall.html), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall.html), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall.html), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall.html), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall.html), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyStoreInstanceCall.html), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreTestIamPermissionCall.html), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreCreateCall.html), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreDeleteCall.html), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreExportCall.html), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirObservationLastnCall.html), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirPatientEverythingCall.html), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirResourcePurgeCall.html), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirCapabilityCall.html), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall.html), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirConditionalPatchCall.html), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall.html), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirCreateCall.html), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirDeleteCall.html), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirExecuteBundleCall.html), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirHistoryCall.html), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirPatchCall.html), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirReadCall.html), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirSearchCall.html), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirUpdateCall.html), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirVreadCall.html), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreGetCall.html), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreGetIamPolicyCall.html), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreImportCall.html), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreListCall.html), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStorePatchCall.html), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreSetIamPolicyCall.html), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreTestIamPermissionCall.html), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetGetCall.html), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetGetIamPolicyCall.html), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreCreateCall.html), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreDeleteCall.html), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreGetCall.html), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreGetIamPolicyCall.html), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreListCall.html), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageCreateCall.html), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageDeleteCall.html), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageGetCall.html), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageIngestCall.html), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageListCall.html), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessagePatchCall.html), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StorePatchCall.html), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreSetIamPolicyCall.html), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreTestIamPermissionCall.html), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetListCall.html), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetOperationGetCall.html), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetOperationListCall.html), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetPatchCall.html), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetSetIamPolicyCall.html), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetTestIamPermissionCall.html), [*locations get*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationGetCall.html) and [*locations list*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/struct.ProjectLocationListCall.html) + * [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetCreateCall.html), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDeidentifyCall.html), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDeleteCall.html), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreCreateCall.html), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreDeleteCall.html), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreExportCall.html), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreGetCall.html), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreGetIamPolicyCall.html), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreImportCall.html), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreListCall.html), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStorePatchCall.html), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSearchForInstanceCall.html), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSearchForSeryCall.html), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSearchForStudyCall.html), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreSetIamPolicyCall.html), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStoreInstanceCall.html), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyDeleteCall.html), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall.html), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall.html), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySearchForInstanceCall.html), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySearchForSeryCall.html), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryDeleteCall.html), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall.html), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall.html), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall.html), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall.html), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall.html), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall.html), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall.html), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall.html), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall.html), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreStudyStoreInstanceCall.html), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetDicomStoreTestIamPermissionCall.html), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreCreateCall.html), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreDeleteCall.html), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreExportCall.html), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirObservationLastnCall.html), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirPatientEverythingCall.html), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirResourcePurgeCall.html), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirCapabilityCall.html), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall.html), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirConditionalPatchCall.html), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall.html), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirCreateCall.html), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirDeleteCall.html), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirExecuteBundleCall.html), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirHistoryCall.html), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirPatchCall.html), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirReadCall.html), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirSearchCall.html), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirUpdateCall.html), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreFhirVreadCall.html), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreGetCall.html), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreGetIamPolicyCall.html), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreImportCall.html), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreListCall.html), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStorePatchCall.html), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreSetIamPolicyCall.html), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetFhirStoreTestIamPermissionCall.html), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetGetCall.html), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetGetIamPolicyCall.html), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreCreateCall.html), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreDeleteCall.html), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreGetCall.html), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreGetIamPolicyCall.html), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreListCall.html), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageCreateCall.html), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageDeleteCall.html), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageGetCall.html), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageIngestCall.html), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessageListCall.html), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreMessagePatchCall.html), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StorePatchCall.html), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreSetIamPolicyCall.html), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetHl7V2StoreTestIamPermissionCall.html), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetListCall.html), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetOperationGetCall.html), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetOperationListCall.html), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetPatchCall.html), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetSetIamPolicyCall.html), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationDatasetTestIamPermissionCall.html), [*locations get*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationGetCall.html) and [*locations list*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.ProjectLocationListCall.html) @@ -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/1.0.10+20190628/google_healthcare1_beta1/struct.CloudHealthcare.html)** +* **[Hub](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/struct.CloudHealthcare.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -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/1.0.10+20190628/google_healthcare1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/enum.Result.html) 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/1.0.10+20190628/google_healthcare1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_healthcare1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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/1.0.10+20190628/google_healthcare1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.CallBuilder.html) 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/1.0.11+20190628/google_healthcare1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_healthcare1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-healthcare1_beta1/1.0.10+20190628/google_healthcare1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.ResponseResult.html) 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/1.0.10+20190628/google_healthcare1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_healthcare1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_healthcare1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-healthcare1_beta1/1.0.11+20190628/google_healthcare1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/healthcare1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/healthcare1_beta1/src/cmn.rs +++ b/gen/healthcare1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/healthcare1_beta1/src/lib.rs b/gen/healthcare1_beta1/src/lib.rs index 8e65ff90d4..0574294919 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Healthcare* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Healthcare* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). @@ -355,7 +355,7 @@ impl<'a, C, A> CloudHealthcare CloudHealthcare { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://healthcare.googleapis.com/".to_string(), _root_url: "https://healthcare.googleapis.com/".to_string(), } @@ -366,7 +366,7 @@ impl<'a, C, A> CloudHealthcare } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iam1-cli/Cargo.toml b/gen/iam1-cli/Cargo.toml index 693200c3bd..ab91edcaf4 100644 --- a/gen/iam1-cli/Cargo.toml +++ b/gen/iam1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iam1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iam1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-iam1] path = "../iam1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/iam1-cli/README.md b/gen/iam1-cli/README.md index 6721c3e04e..c7d245c4df 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *iam* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash iam1 [options] diff --git a/gen/iam1-cli/mkdocs.yml b/gen/iam1-cli/mkdocs.yml index af138e1a32..0dc0569db2 100644 --- a/gen/iam1-cli/mkdocs.yml +++ b/gen/iam1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: iam v1.0.10+20190627 +site_name: iam v1.0.11+20190627 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 b04be7b259..af717aca1e 100644 --- a/gen/iam1-cli/src/main.rs +++ b/gen/iam1-cli/src/main.rs @@ -4375,7 +4375,7 @@ fn main() { let mut app = App::new("iam1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 e0b9052654..a3b2d78c0f 100644 --- a/gen/iam1/Cargo.toml +++ b/gen/iam1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iam1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iam1" homepage = "https://cloud.google.com/iam/" -documentation = "https://docs.rs/google-iam1/1.0.10+20190627" +documentation = "https://docs.rs/google-iam1/1.0.11+20190627" license = "MIT" keywords = ["iam", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/iam1/README.md b/gen/iam1/README.md index 80d9d1d963..bd94b8c367 100644 --- a/gen/iam1/README.md +++ b/gen/iam1/README.md @@ -5,24 +5,24 @@ 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *iam* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_iam1/struct.Iam.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.Iam.html) ... * iam policies - * [*lint policy*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.IamPolicyLintPolicyCall.html) and [*query auditable services*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.IamPolicyQueryAuditableServiceCall.html) + * [*lint policy*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.IamPolicyLintPolicyCall.html) and [*query auditable services*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.IamPolicyQueryAuditableServiceCall.html) * organizations - * [*roles create*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.OrganizationRoleCreateCall.html), [*roles delete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.OrganizationRoleDeleteCall.html), [*roles get*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.OrganizationRoleGetCall.html), [*roles list*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.OrganizationRoleListCall.html), [*roles patch*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.OrganizationRolePatchCall.html) and [*roles undelete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.OrganizationRoleUndeleteCall.html) -* [permissions](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.Permission.html) - * [*query testable permissions*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.PermissionQueryTestablePermissionCall.html) + * [*roles create*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.OrganizationRoleCreateCall.html), [*roles delete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.OrganizationRoleDeleteCall.html), [*roles get*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.OrganizationRoleGetCall.html), [*roles list*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.OrganizationRoleListCall.html), [*roles patch*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.OrganizationRolePatchCall.html) and [*roles undelete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.OrganizationRoleUndeleteCall.html) +* [permissions](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.Permission.html) + * [*query testable permissions*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.PermissionQueryTestablePermissionCall.html) * projects - * [*roles create*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectRoleCreateCall.html), [*roles delete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectRoleDeleteCall.html), [*roles get*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectRoleGetCall.html), [*roles list*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectRoleListCall.html), [*roles patch*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectRolePatchCall.html), [*roles undelete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectRoleUndeleteCall.html), [*service accounts create*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountCreateCall.html), [*service accounts delete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountDeleteCall.html), [*service accounts disable*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountDisableCall.html), [*service accounts enable*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountEnableCall.html), [*service accounts get*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountGetCall.html), [*service accounts get iam policy*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountGetIamPolicyCall.html), [*service accounts keys create*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountKeyCreateCall.html), [*service accounts keys delete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountKeyDeleteCall.html), [*service accounts keys get*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountKeyGetCall.html), [*service accounts keys list*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountKeyListCall.html), [*service accounts list*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountListCall.html), [*service accounts patch*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountPatchCall.html), [*service accounts set iam policy*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountSetIamPolicyCall.html), [*service accounts sign blob*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountSignBlobCall.html), [*service accounts sign jwt*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountSignJwtCall.html), [*service accounts test iam permissions*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountTestIamPermissionCall.html), [*service accounts undelete*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountUndeleteCall.html) and [*service accounts update*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.ProjectServiceAccountUpdateCall.html) -* [roles](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.Role.html) - * [*get*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.RoleGetCall.html), [*list*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.RoleListCall.html) and [*query grantable roles*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/struct.RoleQueryGrantableRoleCall.html) + * [*roles create*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectRoleCreateCall.html), [*roles delete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectRoleDeleteCall.html), [*roles get*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectRoleGetCall.html), [*roles list*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectRoleListCall.html), [*roles patch*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectRolePatchCall.html), [*roles undelete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectRoleUndeleteCall.html), [*service accounts create*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountCreateCall.html), [*service accounts delete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountDeleteCall.html), [*service accounts disable*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountDisableCall.html), [*service accounts enable*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountEnableCall.html), [*service accounts get*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountGetCall.html), [*service accounts get iam policy*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountGetIamPolicyCall.html), [*service accounts keys create*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountKeyCreateCall.html), [*service accounts keys delete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountKeyDeleteCall.html), [*service accounts keys get*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountKeyGetCall.html), [*service accounts keys list*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountKeyListCall.html), [*service accounts list*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountListCall.html), [*service accounts patch*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountPatchCall.html), [*service accounts set iam policy*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountSetIamPolicyCall.html), [*service accounts sign blob*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountSignBlobCall.html), [*service accounts sign jwt*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountSignJwtCall.html), [*service accounts test iam permissions*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountTestIamPermissionCall.html), [*service accounts undelete*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountUndeleteCall.html) and [*service accounts update*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.ProjectServiceAccountUpdateCall.html) +* [roles](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.Role.html) + * [*get*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.RoleGetCall.html), [*list*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.RoleListCall.html) and [*query grantable roles*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.RoleQueryGrantableRoleCall.html) @@ -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-iam1/1.0.10+20190627/google_iam1/struct.Iam.html)** +* **[Hub](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/struct.Iam.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.Part.html)** + * **[Parts](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -149,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_iam1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-iam1/1.0.10+20190627/google_iam1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.CallBuilder.html) 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/1.0.11+20190627/google_iam1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_iam1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-iam1/1.0.10+20190627/google_iam1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.ResponseResult.html) 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/1.0.10+20190627/google_iam1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_iam1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_iam1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-iam1/1.0.11+20190627/google_iam1/trait.RequestValue.html) are 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/cmn.rs b/gen/iam1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/iam1/src/cmn.rs +++ b/gen/iam1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/iam1/src/lib.rs b/gen/iam1/src/lib.rs index 03dccd1666..181d9f4a6b 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *iam* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *iam* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). @@ -347,7 +347,7 @@ impl<'a, C, A> Iam Iam { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://iam.googleapis.com/".to_string(), _root_url: "https://iam.googleapis.com/".to_string(), } @@ -370,7 +370,7 @@ impl<'a, C, A> Iam } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iamcredentials1-cli/Cargo.toml b/gen/iamcredentials1-cli/Cargo.toml index 4b7c00253c..349ad0bbe4 100644 --- a/gen/iamcredentials1-cli/Cargo.toml +++ b/gen/iamcredentials1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iamcredentials1-cli" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with IAM Credentials (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iamcredentials1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-iamcredentials1] path = "../iamcredentials1" -version = "1.0.10+20190620" +version = "1.0.11+20190620" diff --git a/gen/iamcredentials1-cli/README.md b/gen/iamcredentials1-cli/README.md index 36248a9e3a..bfafbd3145 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 *20190620*. The CLI is at version *1.0.10*. +This documentation was generated from the *IAM Credentials* API at revision *20190620*. The CLI is at version *1.0.11*. ```bash iamcredentials1 [options] diff --git a/gen/iamcredentials1-cli/mkdocs.yml b/gen/iamcredentials1-cli/mkdocs.yml index c5a76b1723..597766a25b 100644 --- a/gen/iamcredentials1-cli/mkdocs.yml +++ b/gen/iamcredentials1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: IAM Credentials v1.0.10+20190620 +site_name: IAM Credentials v1.0.11+20190620 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 efa823f275..efb99761b0 100644 --- a/gen/iamcredentials1-cli/src/main.rs +++ b/gen/iamcredentials1-cli/src/main.rs @@ -750,7 +750,7 @@ fn main() { let mut app = App::new("iamcredentials1") .author("Sebastian Thiel ") - .version("1.0.10+20190620") + .version("1.0.11+20190620") .about("Creates short-lived, limited-privilege credentials for IAM service accounts.") .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 a26d4fdb5a..992b7c6690 100644 --- a/gen/iamcredentials1/Cargo.toml +++ b/gen/iamcredentials1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iamcredentials1" -version = "1.0.10+20190620" +version = "1.0.11+20190620" authors = ["Sebastian Thiel "] description = "A complete library to interact with IAM Credentials (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iamcredentials1" homepage = "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials" -documentation = "https://docs.rs/google-iamcredentials1/1.0.10+20190620" +documentation = "https://docs.rs/google-iamcredentials1/1.0.11+20190620" license = "MIT" keywords = ["iamcredentials", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/iamcredentials1/README.md b/gen/iamcredentials1/README.md index 2ebdd7e723..3cfc7562f2 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *IAM Credentials* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190620/google_iamcredentials1/struct.IAMCredentials.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.IAMCredentials.html) ... * projects - * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/struct.ProjectServiceAccountGenerateAccessTokenCall.html), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/struct.ProjectServiceAccountGenerateIdTokenCall.html), [*service accounts generate identity binding access token*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/struct.ProjectServiceAccountGenerateIdentityBindingAccessTokenCall.html), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/struct.ProjectServiceAccountSignBlobCall.html) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/struct.ProjectServiceAccountSignJwtCall.html) + * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.ProjectServiceAccountGenerateAccessTokenCall.html), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.ProjectServiceAccountGenerateIdTokenCall.html), [*service accounts generate identity binding access token*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.ProjectServiceAccountGenerateIdentityBindingAccessTokenCall.html), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.ProjectServiceAccountSignBlobCall.html) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.ProjectServiceAccountSignJwtCall.html) @@ -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/1.0.10+20190620/google_iamcredentials1/struct.IAMCredentials.html)** +* **[Hub](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/struct.IAMCredentials.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.Part.html)** + * **[Parts](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190620/google_iamcredentials1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.CallBuilder.html) 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/1.0.11+20190620/google_iamcredentials1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190620/google_iamcredentials1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-iamcredentials1/1.0.10+20190620/google_iamcredentials1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.ResponseResult.html) 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/1.0.10+20190620/google_iamcredentials1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190620/google_iamcredentials1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190620/google_iamcredentials1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-iamcredentials1/1.0.11+20190620/google_iamcredentials1/trait.RequestValue.html) are 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/cmn.rs b/gen/iamcredentials1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/iamcredentials1/src/cmn.rs +++ b/gen/iamcredentials1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/iamcredentials1/src/lib.rs b/gen/iamcredentials1/src/lib.rs index ec84be03bc..bb76eaee19 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 *1.0.10+20190620*, where *20190620* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *IAM Credentials* crate version *1.0.11+20190620*, where *20190620* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -329,7 +329,7 @@ impl<'a, C, A> IAMCredentials IAMCredentials { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://iamcredentials.googleapis.com/".to_string(), _root_url: "https://iamcredentials.googleapis.com/".to_string(), } @@ -340,7 +340,7 @@ impl<'a, C, A> IAMCredentials } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iap1-cli/Cargo.toml b/gen/iap1-cli/Cargo.toml index d3b281b06a..267be3b530 100644 --- a/gen/iap1-cli/Cargo.toml +++ b/gen/iap1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iap1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iap1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-iap1] path = "../iap1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/iap1-cli/README.md b/gen/iap1-cli/README.md index abefb3b503..47e60f8d48 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud IAP* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash iap1 [options] diff --git a/gen/iap1-cli/mkdocs.yml b/gen/iap1-cli/mkdocs.yml index 3e5a2f2e41..3594c9b769 100644 --- a/gen/iap1-cli/mkdocs.yml +++ b/gen/iap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v1.0.10+20190628 +site_name: Cloud IAP v1.0.11+20190628 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 55430dcad6..487002eb8e 100644 --- a/gen/iap1-cli/src/main.rs +++ b/gen/iap1-cli/src/main.rs @@ -512,7 +512,7 @@ fn main() { let mut app = App::new("iap1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 58a5e55161..bab00b3d52 100644 --- a/gen/iap1/Cargo.toml +++ b/gen/iap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iap1" homepage = "https://cloud.google.com/iap" -documentation = "https://docs.rs/google-iap1/1.0.10+20190628" +documentation = "https://docs.rs/google-iap1/1.0.11+20190628" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/iap1/README.md b/gen/iap1/README.md index fcfac69547..933c2b980c 100644 --- a/gen/iap1/README.md +++ b/gen/iap1/README.md @@ -5,18 +5,18 @@ 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud IAP* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Cloud IAP* *v1* 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/1.0.10+20190628/google_iap1/struct.CloudIAP.html) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/struct.CloudIAP.html) ... -* [get iam policy](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/struct.MethodGetIamPolicyCall.html) -* [set iam policy](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/struct.MethodSetIamPolicyCall.html) -* [test iam permissions](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/struct.MethodTestIamPermissionCall.html) +* [get iam policy](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/struct.MethodGetIamPolicyCall.html) +* [set iam policy](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/struct.MethodSetIamPolicyCall.html) +* [test iam permissions](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/struct.MethodTestIamPermissionCall.html) @@ -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/1.0.10+20190628/google_iap1/struct.CloudIAP.html)** +* **[Hub](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/struct.CloudIAP.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.Part.html)** + * **[Parts](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_iap1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-iap1/1.0.10+20190628/google_iap1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.CallBuilder.html) 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/1.0.11+20190628/google_iap1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_iap1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-iap1/1.0.10+20190628/google_iap1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.ResponseResult.html) 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/1.0.10+20190628/google_iap1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_iap1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_iap1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-iap1/1.0.11+20190628/google_iap1/trait.RequestValue.html) are 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/cmn.rs b/gen/iap1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/iap1/src/cmn.rs +++ b/gen/iap1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/iap1/src/lib.rs b/gen/iap1/src/lib.rs index 6c597004ad..63978f2e74 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud IAP* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud IAP* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). @@ -331,7 +331,7 @@ impl<'a, C, A> CloudIAP CloudIAP { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://iap.googleapis.com/".to_string(), _root_url: "https://iap.googleapis.com/".to_string(), } @@ -342,7 +342,7 @@ impl<'a, C, A> CloudIAP } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iap1_beta1-cli/Cargo.toml b/gen/iap1_beta1-cli/Cargo.toml index 70b78fc7b9..87af37d1b1 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 = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iap1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-iap1_beta1] path = "../iap1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/iap1_beta1-cli/README.md b/gen/iap1_beta1-cli/README.md index 960d4c271a..a160181211 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud IAP* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash iap1-beta1 [options] diff --git a/gen/iap1_beta1-cli/mkdocs.yml b/gen/iap1_beta1-cli/mkdocs.yml index bdd6734fef..c687805a10 100644 --- a/gen/iap1_beta1-cli/mkdocs.yml +++ b/gen/iap1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v1.0.10+20190628 +site_name: Cloud IAP v1.0.11+20190628 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 4574f01b83..426561dff9 100644 --- a/gen/iap1_beta1-cli/src/main.rs +++ b/gen/iap1_beta1-cli/src/main.rs @@ -514,7 +514,7 @@ fn main() { let mut app = App::new("iap1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 64fe1bd3ba..f2648f067a 100644 --- a/gen/iap1_beta1/Cargo.toml +++ b/gen/iap1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1_beta1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iap1_beta1" homepage = "https://cloud.google.com/iap" -documentation = "https://docs.rs/google-iap1_beta1/1.0.10+20190628" +documentation = "https://docs.rs/google-iap1_beta1/1.0.11+20190628" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/iap1_beta1/README.md b/gen/iap1_beta1/README.md index a117482d00..c22ee48373 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud IAP* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_iap1_beta1/struct.CloudIAP.html) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/struct.CloudIAP.html) ... -* [get iam policy](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/struct.MethodGetIamPolicyCall.html) -* [set iam policy](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/struct.MethodSetIamPolicyCall.html) -* [test iam permissions](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/struct.MethodTestIamPermissionCall.html) +* [get iam policy](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/struct.MethodGetIamPolicyCall.html) +* [set iam policy](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/struct.MethodSetIamPolicyCall.html) +* [test iam permissions](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/struct.MethodTestIamPermissionCall.html) @@ -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/1.0.10+20190628/google_iap1_beta1/struct.CloudIAP.html)** +* **[Hub](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/struct.CloudIAP.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/enum.Result.html) 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/1.0.10+20190628/google_iap1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_iap1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.CallBuilder.html) 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/1.0.11+20190628/google_iap1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_iap1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-iap1_beta1/1.0.10+20190628/google_iap1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.ResponseResult.html) 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/1.0.10+20190628/google_iap1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_iap1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_iap1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-iap1_beta1/1.0.11+20190628/google_iap1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/iap1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/iap1_beta1/src/cmn.rs +++ b/gen/iap1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/iap1_beta1/src/lib.rs b/gen/iap1_beta1/src/lib.rs index 87ecf079d8..7a22d8d6ed 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud IAP* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud IAP* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). @@ -331,7 +331,7 @@ impl<'a, C, A> CloudIAP CloudIAP { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://iap.googleapis.com/".to_string(), _root_url: "https://iap.googleapis.com/".to_string(), } @@ -342,7 +342,7 @@ impl<'a, C, A> CloudIAP } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/identitytoolkit3-cli/Cargo.toml b/gen/identitytoolkit3-cli/Cargo.toml index 8c460698a7..ec0ce39702 100644 --- a/gen/identitytoolkit3-cli/Cargo.toml +++ b/gen/identitytoolkit3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-identitytoolkit3-cli" -version = "1.0.10+20180723" +version = "1.0.11+20180723" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/identitytoolkit3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-identitytoolkit3] path = "../identitytoolkit3" -version = "1.0.10+20180723" +version = "1.0.11+20180723" diff --git a/gen/identitytoolkit3-cli/README.md b/gen/identitytoolkit3-cli/README.md index 67055d621c..5db3bfe27c 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 *1.0.10*. +This documentation was generated from the *Identity Toolkit* API at revision *20180723*. The CLI is at version *1.0.11*. ```bash identitytoolkit3 [options] diff --git a/gen/identitytoolkit3-cli/mkdocs.yml b/gen/identitytoolkit3-cli/mkdocs.yml index 82b63449f7..c4e444f1eb 100644 --- a/gen/identitytoolkit3-cli/mkdocs.yml +++ b/gen/identitytoolkit3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Identity Toolkit v1.0.10+20180723 +site_name: Identity Toolkit v1.0.11+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 51ff36cdba..145fde89fc 100644 --- a/gen/identitytoolkit3-cli/src/main.rs +++ b/gen/identitytoolkit3-cli/src/main.rs @@ -2392,7 +2392,7 @@ fn main() { let mut app = App::new("identitytoolkit3") .author("Sebastian Thiel ") - .version("1.0.10+20180723") + .version("1.0.11+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 fa857883ad..113da92a2e 100644 --- a/gen/identitytoolkit3/Cargo.toml +++ b/gen/identitytoolkit3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-identitytoolkit3" -version = "1.0.10+20180723" +version = "1.0.11+20180723" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/identitytoolkit3" homepage = "https://developers.google.com/identity-toolkit/v3/" -documentation = "https://docs.rs/google-identitytoolkit3/1.0.10+20180723" +documentation = "https://docs.rs/google-identitytoolkit3/1.0.11+20180723" license = "MIT" keywords = ["identitytoolkit", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/identitytoolkit3/README.md b/gen/identitytoolkit3/README.md index 10b7b6997a..1c62b6279c 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 *1.0.10+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Identity Toolkit* crate version *1.0.11+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20180723/google_identitytoolkit3/struct.IdentityToolkit.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.IdentityToolkit.html) ... -* [relyingparty](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.Relyingparty.html) - * [*create auth uri*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyCreateAuthUriCall.html), [*delete account*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyDeleteAccountCall.html), [*download account*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyDownloadAccountCall.html), [*email link signin*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyEmailLinkSigninCall.html), [*get account info*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyGetAccountInfoCall.html), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyGetOobConfirmationCodeCall.html), [*get project config*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyGetProjectConfigCall.html), [*get public keys*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyGetPublicKeyCall.html), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyGetRecaptchaParamCall.html), [*reset password*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyResetPasswordCall.html), [*send verification code*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartySendVerificationCodeCall.html), [*set account info*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartySetAccountInfoCall.html), [*set project config*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartySetProjectConfigCall.html), [*sign out user*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartySignOutUserCall.html), [*signup new user*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartySignupNewUserCall.html), [*upload account*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyUploadAccountCall.html), [*verify assertion*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyAssertionCall.html), [*verify custom token*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyCustomTokenCall.html), [*verify password*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyPasswordCall.html) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyPhoneNumberCall.html) +* [relyingparty](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.Relyingparty.html) + * [*create auth uri*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyCreateAuthUriCall.html), [*delete account*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyDeleteAccountCall.html), [*download account*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyDownloadAccountCall.html), [*email link signin*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyEmailLinkSigninCall.html), [*get account info*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyGetAccountInfoCall.html), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyGetOobConfirmationCodeCall.html), [*get project config*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyGetProjectConfigCall.html), [*get public keys*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyGetPublicKeyCall.html), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyGetRecaptchaParamCall.html), [*reset password*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyResetPasswordCall.html), [*send verification code*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartySendVerificationCodeCall.html), [*set account info*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartySetAccountInfoCall.html), [*set project config*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartySetProjectConfigCall.html), [*sign out user*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartySignOutUserCall.html), [*signup new user*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartySignupNewUserCall.html), [*upload account*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyUploadAccountCall.html), [*verify assertion*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyAssertionCall.html), [*verify custom token*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyCustomTokenCall.html), [*verify password*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyPasswordCall.html) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.RelyingpartyVerifyPhoneNumberCall.html) @@ -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/1.0.10+20180723/google_identitytoolkit3/struct.IdentityToolkit.html)** +* **[Hub](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/struct.IdentityToolkit.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.Part.html)** + * **[Parts](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20180723/google_identitytoolkit3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.CallBuilder.html) 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/1.0.11+20180723/google_identitytoolkit3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20180723/google_identitytoolkit3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-identitytoolkit3/1.0.10+20180723/google_identitytoolkit3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.ResponseResult.html) 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/1.0.10+20180723/google_identitytoolkit3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20180723/google_identitytoolkit3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20180723/google_identitytoolkit3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-identitytoolkit3/1.0.11+20180723/google_identitytoolkit3/trait.RequestValue.html) are 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/cmn.rs b/gen/identitytoolkit3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/identitytoolkit3/src/cmn.rs +++ b/gen/identitytoolkit3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/identitytoolkit3/src/lib.rs b/gen/identitytoolkit3/src/lib.rs index 85da5406c1..980c23f4cf 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 *1.0.10+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Identity Toolkit* crate version *1.0.11+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Identity Toolkit* *v3* API can be found at the //! [official documentation site](https://developers.google.com/identity-toolkit/v3/). @@ -333,7 +333,7 @@ impl<'a, C, A> IdentityToolkit IdentityToolkit { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> IdentityToolkit } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/indexing3-cli/Cargo.toml b/gen/indexing3-cli/Cargo.toml index 4150cda56f..285c08351e 100644 --- a/gen/indexing3-cli/Cargo.toml +++ b/gen/indexing3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-indexing3-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Indexing (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/indexing3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-indexing3] path = "../indexing3" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/indexing3-cli/README.md b/gen/indexing3-cli/README.md index 1d3e303e7a..cfd0b47c98 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Indexing* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash indexing3 [options] diff --git a/gen/indexing3-cli/mkdocs.yml b/gen/indexing3-cli/mkdocs.yml index 9c11f1a8bd..d7e82c9387 100644 --- a/gen/indexing3-cli/mkdocs.yml +++ b/gen/indexing3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Indexing v1.0.10+20190627 +site_name: Indexing v1.0.11+20190627 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 49fa090920..bbf2d8ea9c 100644 --- a/gen/indexing3-cli/src/main.rs +++ b/gen/indexing3-cli/src/main.rs @@ -340,7 +340,7 @@ fn main() { let mut app = App::new("indexing3") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 374ca34e76..49ad8e70cb 100644 --- a/gen/indexing3/Cargo.toml +++ b/gen/indexing3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-indexing3" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Indexing (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/indexing3" homepage = "https://developers.google.com/search/apis/indexing-api/" -documentation = "https://docs.rs/google-indexing3/1.0.10+20190627" +documentation = "https://docs.rs/google-indexing3/1.0.11+20190627" license = "MIT" keywords = ["indexing", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/indexing3/README.md b/gen/indexing3/README.md index 80538915d5..5b31276bdb 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Indexing* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_indexing3/struct.Indexing.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/struct.Indexing.html) ... -* [url notifications](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/struct.UrlNotification.html) - * [*get metadata*](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/struct.UrlNotificationGetMetadataCall.html) and [*publish*](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/struct.UrlNotificationPublishCall.html) +* [url notifications](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/struct.UrlNotification.html) + * [*get metadata*](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/struct.UrlNotificationGetMetadataCall.html) and [*publish*](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/struct.UrlNotificationPublishCall.html) @@ -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/1.0.10+20190627/google_indexing3/struct.Indexing.html)** +* **[Hub](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/struct.Indexing.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.Part.html)** + * **[Parts](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_indexing3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-indexing3/1.0.10+20190627/google_indexing3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.CallBuilder.html) 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/1.0.11+20190627/google_indexing3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_indexing3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-indexing3/1.0.10+20190627/google_indexing3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.ResponseResult.html) 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/1.0.10+20190627/google_indexing3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_indexing3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_indexing3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-indexing3/1.0.11+20190627/google_indexing3/trait.RequestValue.html) are 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/cmn.rs b/gen/indexing3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/indexing3/src/cmn.rs +++ b/gen/indexing3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/indexing3/src/lib.rs b/gen/indexing3/src/lib.rs index c7726cfd71..8bbeca3d0a 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Indexing* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Indexing* *v3* API can be found at the //! [official documentation site](https://developers.google.com/search/apis/indexing-api/). @@ -330,7 +330,7 @@ impl<'a, C, A> Indexing Indexing { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://indexing.googleapis.com/".to_string(), _root_url: "https://indexing.googleapis.com/".to_string(), } @@ -341,7 +341,7 @@ impl<'a, C, A> Indexing } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/jobs3-cli/Cargo.toml b/gen/jobs3-cli/Cargo.toml index c2101d2028..999a541d97 100644 --- a/gen/jobs3-cli/Cargo.toml +++ b/gen/jobs3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-jobs3-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/jobs3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-jobs3] path = "../jobs3" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/jobs3-cli/README.md b/gen/jobs3-cli/README.md index 787d091b27..2d163aa47c 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash jobs3 [options] diff --git a/gen/jobs3-cli/mkdocs.yml b/gen/jobs3-cli/mkdocs.yml index 08629a7c9d..9ea2b7d20e 100644 --- a/gen/jobs3-cli/mkdocs.yml +++ b/gen/jobs3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v1.0.10+20190702 +site_name: Cloud Talent Solution v1.0.11+20190702 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 24382df98f..b6a61ed8c4 100644 --- a/gen/jobs3-cli/src/main.rs +++ b/gen/jobs3-cli/src/main.rs @@ -2003,7 +2003,7 @@ fn main() { let mut app = App::new("jobs3") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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") diff --git a/gen/jobs3/Cargo.toml b/gen/jobs3/Cargo.toml index 9ed9ba39c3..222d85f4bb 100644 --- a/gen/jobs3/Cargo.toml +++ b/gen/jobs3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs3" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/jobs3" homepage = "https://cloud.google.com/talent-solution/job-search/docs/" -documentation = "https://docs.rs/google-jobs3/1.0.10+20190702" +documentation = "https://docs.rs/google-jobs3/1.0.11+20190702" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/jobs3/README.md b/gen/jobs3/README.md index 369db3af86..1e520c86d5 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Talent Solution* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_jobs3/struct.CloudTalentSolution.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.CloudTalentSolution.html) ... * projects - * [*client events create*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectClientEventCreateCall.html), [*companies create*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectCompanyCreateCall.html), [*companies delete*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectCompanyDeleteCall.html), [*companies get*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectCompanyGetCall.html), [*companies list*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectCompanyListCall.html), [*companies patch*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectCompanyPatchCall.html), [*complete*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectCompleteCall.html), [*jobs batch delete*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobBatchDeleteCall.html), [*jobs create*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobCreateCall.html), [*jobs delete*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobDeleteCall.html), [*jobs get*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobGetCall.html), [*jobs list*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobListCall.html), [*jobs patch*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobPatchCall.html), [*jobs search*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobSearchCall.html) and [*jobs search for alert*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/struct.ProjectJobSearchForAlertCall.html) + * [*client events create*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectClientEventCreateCall.html), [*companies create*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectCompanyCreateCall.html), [*companies delete*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectCompanyDeleteCall.html), [*companies get*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectCompanyGetCall.html), [*companies list*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectCompanyListCall.html), [*companies patch*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectCompanyPatchCall.html), [*complete*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectCompleteCall.html), [*jobs batch delete*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobBatchDeleteCall.html), [*jobs create*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobCreateCall.html), [*jobs delete*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobDeleteCall.html), [*jobs get*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobGetCall.html), [*jobs list*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobListCall.html), [*jobs patch*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobPatchCall.html), [*jobs search*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobSearchCall.html) and [*jobs search for alert*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.ProjectJobSearchForAlertCall.html) @@ -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/1.0.10+20190702/google_jobs3/struct.CloudTalentSolution.html)** +* **[Hub](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/struct.CloudTalentSolution.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.Part.html)** + * **[Parts](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_jobs3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-jobs3/1.0.10+20190702/google_jobs3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.CallBuilder.html) 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/1.0.11+20190702/google_jobs3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_jobs3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-jobs3/1.0.10+20190702/google_jobs3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.ResponseResult.html) 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/1.0.10+20190702/google_jobs3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_jobs3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_jobs3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-jobs3/1.0.11+20190702/google_jobs3/trait.RequestValue.html) are 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/cmn.rs b/gen/jobs3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/jobs3/src/cmn.rs +++ b/gen/jobs3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/jobs3/src/lib.rs b/gen/jobs3/src/lib.rs index 82b8c771bb..dc8be294ec 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Talent Solution* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -335,7 +335,7 @@ impl<'a, C, A> CloudTalentSolution CloudTalentSolution { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://jobs.googleapis.com/".to_string(), _root_url: "https://jobs.googleapis.com/".to_string(), } @@ -346,7 +346,7 @@ impl<'a, C, A> CloudTalentSolution } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/language1-cli/Cargo.toml b/gen/language1-cli/Cargo.toml index e22b6e2b49..5f9e433310 100644 --- a/gen/language1-cli/Cargo.toml +++ b/gen/language1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-language1-cli" -version = "1.0.10+20190623" +version = "1.0.11+20190623" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/language1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-language1] path = "../language1" -version = "1.0.10+20190623" +version = "1.0.11+20190623" diff --git a/gen/language1-cli/README.md b/gen/language1-cli/README.md index 7603ce9fb6..38a3f0a755 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 *20190623*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Natural Language* API at revision *20190623*. The CLI is at version *1.0.11*. ```bash language1 [options] diff --git a/gen/language1-cli/mkdocs.yml b/gen/language1-cli/mkdocs.yml index e5f48ec289..5ada4bd783 100644 --- a/gen/language1-cli/mkdocs.yml +++ b/gen/language1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v1.0.10+20190623 +site_name: Cloud Natural Language v1.0.11+20190623 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 dd057e5c08..f3b6bba9dd 100644 --- a/gen/language1-cli/src/main.rs +++ b/gen/language1-cli/src/main.rs @@ -845,7 +845,7 @@ fn main() { let mut app = App::new("language1") .author("Sebastian Thiel ") - .version("1.0.10+20190623") + .version("1.0.11+20190623") .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 ff7fc0e4b3..ba3ad868ea 100644 --- a/gen/language1/Cargo.toml +++ b/gen/language1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1" -version = "1.0.10+20190623" +version = "1.0.11+20190623" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/language1" homepage = "https://cloud.google.com/natural-language/" -documentation = "https://docs.rs/google-language1/1.0.10+20190623" +documentation = "https://docs.rs/google-language1/1.0.11+20190623" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/language1/README.md b/gen/language1/README.md index 619d1aeb52..4ac16413f7 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 *1.0.10+20190623*, where *20190623* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Natural Language* crate version *1.0.11+20190623*, where *20190623* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190623/google_language1/struct.CloudNaturalLanguage.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.CloudNaturalLanguage.html) ... -* [documents](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.Document.html) - * [*analyze entities*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.DocumentAnalyzeEntityCall.html), [*analyze entity sentiment*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.DocumentAnalyzeEntitySentimentCall.html), [*analyze sentiment*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.DocumentAnalyzeSentimentCall.html), [*analyze syntax*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.DocumentAnalyzeSyntaxCall.html), [*annotate text*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.DocumentAnnotateTextCall.html) and [*classify text*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/struct.DocumentClassifyTextCall.html) +* [documents](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.Document.html) + * [*analyze entities*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.DocumentAnalyzeEntityCall.html), [*analyze entity sentiment*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.DocumentAnalyzeEntitySentimentCall.html), [*analyze sentiment*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.DocumentAnalyzeSentimentCall.html), [*analyze syntax*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.DocumentAnalyzeSyntaxCall.html), [*annotate text*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.DocumentAnnotateTextCall.html) and [*classify text*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.DocumentClassifyTextCall.html) @@ -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/1.0.10+20190623/google_language1/struct.CloudNaturalLanguage.html)** +* **[Hub](https://docs.rs/google-language1/1.0.11+20190623/google_language1/struct.CloudNaturalLanguage.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.Part.html)** + * **[Parts](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/1.0.10+20190623/google_language1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/1.0.11+20190623/google_language1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190623/google_language1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1/1.0.11+20190623/google_language1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-language1/1.0.10+20190623/google_language1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.CallBuilder.html) 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/1.0.11+20190623/google_language1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190623/google_language1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-language1/1.0.10+20190623/google_language1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.ResponseResult.html) 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/1.0.10+20190623/google_language1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190623/google_language1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190623/google_language1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-language1/1.0.11+20190623/google_language1/trait.RequestValue.html) are 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/cmn.rs b/gen/language1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/language1/src/cmn.rs +++ b/gen/language1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/language1/src/lib.rs b/gen/language1/src/lib.rs index d2263a6044..307d454297 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 *1.0.10+20190623*, where *20190623* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Natural Language* crate version *1.0.11+20190623*, where *20190623* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Natural Language* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). @@ -338,7 +338,7 @@ impl<'a, C, A> CloudNaturalLanguage CloudNaturalLanguage { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://language.googleapis.com/".to_string(), _root_url: "https://language.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> CloudNaturalLanguage } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/language1_beta1-cli/Cargo.toml b/gen/language1_beta1-cli/Cargo.toml index 9ae6c86eb0..821c203d2c 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 = "1.0.10+20190623" +version = "1.0.11+20190623" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/language1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-language1_beta1] path = "../language1_beta1" -version = "1.0.10+20190623" +version = "1.0.11+20190623" diff --git a/gen/language1_beta1-cli/README.md b/gen/language1_beta1-cli/README.md index 9a51e7a6d7..0eae110cde 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 *20190623*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Natural Language* API at revision *20190623*. The CLI is at version *1.0.11*. ```bash language1-beta1 [options] diff --git a/gen/language1_beta1-cli/mkdocs.yml b/gen/language1_beta1-cli/mkdocs.yml index 475e15578f..d4ed012d24 100644 --- a/gen/language1_beta1-cli/mkdocs.yml +++ b/gen/language1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v1.0.10+20190623 +site_name: Cloud Natural Language v1.0.11+20190623 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 9162af0684..ed25c1cbee 100644 --- a/gen/language1_beta1-cli/src/main.rs +++ b/gen/language1_beta1-cli/src/main.rs @@ -615,7 +615,7 @@ fn main() { let mut app = App::new("language1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190623") + .version("1.0.11+20190623") .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 ab4b544223..8252c5e349 100644 --- a/gen/language1_beta1/Cargo.toml +++ b/gen/language1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1_beta1" -version = "1.0.10+20190623" +version = "1.0.11+20190623" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/language1_beta1" homepage = "https://cloud.google.com/natural-language/" -documentation = "https://docs.rs/google-language1_beta1/1.0.10+20190623" +documentation = "https://docs.rs/google-language1_beta1/1.0.11+20190623" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/language1_beta1/README.md b/gen/language1_beta1/README.md index 332e0b7163..dd041eb1fe 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 *1.0.10+20190623*, where *20190623* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Natural Language* crate version *1.0.11+20190623*, where *20190623* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190623/google_language1_beta1/struct.CloudNaturalLanguage.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.CloudNaturalLanguage.html) ... -* [documents](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/struct.Document.html) - * [*analyze entities*](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/struct.DocumentAnalyzeEntityCall.html), [*analyze sentiment*](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/struct.DocumentAnalyzeSentimentCall.html), [*analyze syntax*](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/struct.DocumentAnalyzeSyntaxCall.html) and [*annotate text*](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/struct.DocumentAnnotateTextCall.html) +* [documents](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.Document.html) + * [*analyze entities*](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.DocumentAnalyzeEntityCall.html), [*analyze sentiment*](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.DocumentAnalyzeSentimentCall.html), [*analyze syntax*](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.DocumentAnalyzeSyntaxCall.html) and [*annotate text*](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.DocumentAnnotateTextCall.html) @@ -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/1.0.10+20190623/google_language1_beta1/struct.CloudNaturalLanguage.html)** +* **[Hub](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/struct.CloudNaturalLanguage.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/enum.Result.html) 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/1.0.10+20190623/google_language1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190623/google_language1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.CallBuilder.html) 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/1.0.11+20190623/google_language1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190623/google_language1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-language1_beta1/1.0.10+20190623/google_language1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.ResponseResult.html) 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/1.0.10+20190623/google_language1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190623/google_language1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190623/google_language1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-language1_beta1/1.0.11+20190623/google_language1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/language1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/language1_beta1/src/cmn.rs +++ b/gen/language1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/language1_beta1/src/lib.rs b/gen/language1_beta1/src/lib.rs index 7430e28723..622d3c5c9b 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 *1.0.10+20190623*, where *20190623* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Natural Language* crate version *1.0.11+20190623*, where *20190623* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Natural Language* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudNaturalLanguage CloudNaturalLanguage { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://language.googleapis.com/".to_string(), _root_url: "https://language.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudNaturalLanguage } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/libraryagent1-cli/Cargo.toml b/gen/libraryagent1-cli/Cargo.toml index e6d9778d0a..58c4e0a44f 100644 --- a/gen/libraryagent1-cli/Cargo.toml +++ b/gen/libraryagent1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-libraryagent1-cli" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Libraryagent (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/libraryagent1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-libraryagent1] path = "../libraryagent1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/libraryagent1-cli/README.md b/gen/libraryagent1-cli/README.md index eba3fada65..6900372b49 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *Libraryagent* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash libraryagent1 [options] diff --git a/gen/libraryagent1-cli/mkdocs.yml b/gen/libraryagent1-cli/mkdocs.yml index 6d3eec6091..d87f5b719c 100644 --- a/gen/libraryagent1-cli/mkdocs.yml +++ b/gen/libraryagent1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Libraryagent v1.0.10+20190703 +site_name: Libraryagent v1.0.11+20190703 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 3fea3f2589..9074fa1475 100644 --- a/gen/libraryagent1-cli/src/main.rs +++ b/gen/libraryagent1-cli/src/main.rs @@ -630,7 +630,7 @@ fn main() { let mut app = App::new("libraryagent1") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 0130ec5d23..348aa477b9 100644 --- a/gen/libraryagent1/Cargo.toml +++ b/gen/libraryagent1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-libraryagent1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with Libraryagent (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/libraryagent1" homepage = "https://cloud.google.com/docs/quota" -documentation = "https://docs.rs/google-libraryagent1/1.0.10+20190703" +documentation = "https://docs.rs/google-libraryagent1/1.0.11+20190703" license = "MIT" keywords = ["libraryagent", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/libraryagent1/README.md b/gen/libraryagent1/README.md index 091d50d4fa..631c1d77ef 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Libraryagent* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_libraryagent1/struct.Libraryagent.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.Libraryagent.html) ... * shelves - * [*books borrow*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/struct.ShelveBookBorrowCall.html), [*books get*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/struct.ShelveBookGetCall.html), [*books list*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/struct.ShelveBookListCall.html), [*books return*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/struct.ShelveBookReturnCall.html), [*get*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/struct.ShelveGetCall.html) and [*list*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/struct.ShelveListCall.html) + * [*books borrow*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.ShelveBookBorrowCall.html), [*books get*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.ShelveBookGetCall.html), [*books list*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.ShelveBookListCall.html), [*books return*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.ShelveBookReturnCall.html), [*get*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.ShelveGetCall.html) and [*list*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.ShelveListCall.html) @@ -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/1.0.10+20190703/google_libraryagent1/struct.Libraryagent.html)** +* **[Hub](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/struct.Libraryagent.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.Part.html)** + * **[Parts](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_libraryagent1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.CallBuilder.html) 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/1.0.11+20190703/google_libraryagent1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_libraryagent1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-libraryagent1/1.0.10+20190703/google_libraryagent1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.ResponseResult.html) 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/1.0.10+20190703/google_libraryagent1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_libraryagent1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_libraryagent1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-libraryagent1/1.0.11+20190703/google_libraryagent1/trait.RequestValue.html) are 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/cmn.rs b/gen/libraryagent1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/libraryagent1/src/cmn.rs +++ b/gen/libraryagent1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/libraryagent1/src/lib.rs b/gen/libraryagent1/src/lib.rs index 7fa02a574d..6a2117483a 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Libraryagent* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Libraryagent* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/docs/quota). @@ -319,7 +319,7 @@ impl<'a, C, A> Libraryagent Libraryagent { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://libraryagent.googleapis.com/".to_string(), _root_url: "https://libraryagent.googleapis.com/".to_string(), } @@ -330,7 +330,7 @@ impl<'a, C, A> Libraryagent } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/licensing1-cli/Cargo.toml b/gen/licensing1-cli/Cargo.toml index d94a29275f..de89432f80 100644 --- a/gen/licensing1-cli/Cargo.toml +++ b/gen/licensing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-licensing1-cli" -version = "1.0.10+20170213" +version = "1.0.11+20170213" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/licensing1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-licensing1] path = "../licensing1" -version = "1.0.10+20170213" +version = "1.0.11+20170213" diff --git a/gen/licensing1-cli/README.md b/gen/licensing1-cli/README.md index ec9118d4ec..d6279ffd3a 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 *20170213*. The CLI is at version *1.0.10*. +This documentation was generated from the *licensing* API at revision *20170213*. The CLI is at version *1.0.11*. ```bash licensing1 [options] diff --git a/gen/licensing1-cli/mkdocs.yml b/gen/licensing1-cli/mkdocs.yml index 09ca9b74b1..838f8ebfb2 100644 --- a/gen/licensing1-cli/mkdocs.yml +++ b/gen/licensing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: licensing v1.0.10+20170213 +site_name: licensing v1.0.11+20170213 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 0ed98b2bbd..a080f96a81 100644 --- a/gen/licensing1-cli/src/main.rs +++ b/gen/licensing1-cli/src/main.rs @@ -890,7 +890,7 @@ fn main() { let mut app = App::new("licensing1") .author("Sebastian Thiel ") - .version("1.0.10+20170213") + .version("1.0.11+20170213") .about("Views and manages licenses for your domain.") .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 b306ca8c48..66f3ff4b4a 100644 --- a/gen/licensing1/Cargo.toml +++ b/gen/licensing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-licensing1" -version = "1.0.10+20170213" +version = "1.0.11+20170213" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/licensing1" homepage = "https://developers.google.com/google-apps/licensing/" -documentation = "https://docs.rs/google-licensing1/1.0.10+20170213" +documentation = "https://docs.rs/google-licensing1/1.0.11+20170213" license = "MIT" keywords = ["licensing", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/licensing1/README.md b/gen/licensing1/README.md index 4f5c18a6c5..ff4e239f01 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 *1.0.10+20170213*, where *20170213* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *licensing* crate version *1.0.11+20170213*, where *20170213* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *licensing* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/licensing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.Licensing.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.Licensing.html) ... -* [license assignments](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignment.html) - * [*delete*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentDeleteCall.html), [*get*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentGetCall.html), [*insert*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentInsertCall.html), [*list for product*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentListForProductCall.html), [*list for product and sku*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentListForProductAndSkuCall.html), [*patch*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentPatchCall.html) and [*update*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/struct.LicenseAssignmentUpdateCall.html) +* [license assignments](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignment.html) + * [*delete*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentDeleteCall.html), [*get*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentGetCall.html), [*insert*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentInsertCall.html), [*list for product*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentListForProductCall.html), [*list for product and sku*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentListForProductAndSkuCall.html), [*patch*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentPatchCall.html) and [*update*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.LicenseAssignmentUpdateCall.html) @@ -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/1.0.10+20170213/google_licensing1/struct.Licensing.html)** +* **[Hub](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/struct.Licensing.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.Part.html)** + * **[Parts](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170213/google_licensing1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-licensing1/1.0.10+20170213/google_licensing1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.CallBuilder.html) 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/1.0.11+20170213/google_licensing1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170213/google_licensing1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-licensing1/1.0.10+20170213/google_licensing1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.ResponseResult.html) 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/1.0.10+20170213/google_licensing1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170213/google_licensing1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170213/google_licensing1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-licensing1/1.0.11+20170213/google_licensing1/trait.RequestValue.html) are 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/cmn.rs b/gen/licensing1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/licensing1/src/cmn.rs +++ b/gen/licensing1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/licensing1/src/lib.rs b/gen/licensing1/src/lib.rs index 4bc14bca88..83269cd976 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 *1.0.10+20170213*, where *20170213* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *licensing* crate version *1.0.11+20170213*, where *20170213* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *licensing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/licensing/). @@ -327,7 +327,7 @@ impl<'a, C, A> Licensing Licensing { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/apps/licensing/v1/product/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -338,7 +338,7 @@ impl<'a, C, A> Licensing } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/logging2-cli/Cargo.toml b/gen/logging2-cli/Cargo.toml index 299ffff8b9..2443c10ba1 100644 --- a/gen/logging2-cli/Cargo.toml +++ b/gen/logging2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-logging2] path = "../logging2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/logging2-cli/README.md b/gen/logging2-cli/README.md index 91a1178892..71a4191ed1 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Logging* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash logging2 [options] diff --git a/gen/logging2-cli/mkdocs.yml b/gen/logging2-cli/mkdocs.yml index 63739ec196..c5442c4681 100644 --- a/gen/logging2-cli/mkdocs.yml +++ b/gen/logging2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v1.0.10+20190629 +site_name: Logging v1.0.11+20190629 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 4627062565..79bd565f80 100644 --- a/gen/logging2-cli/src/main.rs +++ b/gen/logging2-cli/src/main.rs @@ -7617,7 +7617,7 @@ fn main() { let mut app = App::new("logging2") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .about("Writes log entries and manages your Stackdriver Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Logging documentation.") .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 a4944fb525..b45e546964 100644 --- a/gen/logging2/Cargo.toml +++ b/gen/logging2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2/1.0.10+20190629" +documentation = "https://docs.rs/google-logging2/1.0.11+20190629" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/logging2/README.md b/gen/logging2/README.md index 6f76a970bd..66fc22ce80 100644 --- a/gen/logging2/README.md +++ b/gen/logging2/README.md @@ -5,32 +5,32 @@ 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Logging* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_logging2/struct.Logging.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.Logging.html) ... * billing accounts - * [*exclusions create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.BillingAccountSinkUpdateCall.html) + * [*exclusions create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.BillingAccountSinkUpdateCall.html) * entries - * [*list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.EntryWriteCall.html) + * [*list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.EntryWriteCall.html) * exclusions - * [*create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ExclusionCreateCall.html), [*delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ExclusionDeleteCall.html), [*get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ExclusionGetCall.html), [*list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ExclusionListCall.html) and [*patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ExclusionPatchCall.html) + * [*create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ExclusionCreateCall.html), [*delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ExclusionDeleteCall.html), [*get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ExclusionGetCall.html), [*list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ExclusionListCall.html) and [*patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ExclusionPatchCall.html) * folders - * [*exclusions create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.FolderSinkUpdateCall.html) + * [*exclusions create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.FolderSinkUpdateCall.html) * logs - * [*delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.LogDeleteCall.html) and [*list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.LogListCall.html) -* [monitored resource descriptors](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.MonitoredResourceDescriptor.html) - * [*list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.MonitoredResourceDescriptorListCall.html) + * [*delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.LogDeleteCall.html) and [*list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.LogListCall.html) +* [monitored resource descriptors](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.MonitoredResourceDescriptor.html) + * [*list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.MonitoredResourceDescriptorListCall.html) * organizations - * [*exclusions create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.OrganizationSinkUpdateCall.html) + * [*exclusions create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.OrganizationSinkUpdateCall.html) * projects - * [*exclusions create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectLogListCall.html), [*metrics create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.ProjectSinkUpdateCall.html) + * [*exclusions create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectExclusionCreateCall.html), [*exclusions delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectExclusionDeleteCall.html), [*exclusions get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectExclusionGetCall.html), [*exclusions list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectExclusionListCall.html), [*exclusions patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectExclusionPatchCall.html), [*logs delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectLogListCall.html), [*metrics create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectSinkListCall.html), [*sinks patch*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectSinkPatchCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.ProjectSinkUpdateCall.html) * sinks - * [*create*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.SinkCreateCall.html), [*delete*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.SinkDeleteCall.html), [*get*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.SinkGetCall.html), [*list*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.SinkListCall.html) and [*update*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/struct.SinkUpdateCall.html) + * [*create*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.SinkCreateCall.html), [*delete*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.SinkDeleteCall.html), [*get*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.SinkGetCall.html), [*list*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.SinkListCall.html) and [*update*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.SinkUpdateCall.html) @@ -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-logging2/1.0.10+20190629/google_logging2/struct.Logging.html)** +* **[Hub](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/struct.Logging.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.Part.html)** + * **[Parts](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -166,17 +166,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_logging2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-logging2/1.0.10+20190629/google_logging2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.CallBuilder.html) 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/1.0.11+20190629/google_logging2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_logging2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-logging2/1.0.10+20190629/google_logging2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.ResponseResult.html) 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/1.0.10+20190629/google_logging2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_logging2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_logging2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-logging2/1.0.11+20190629/google_logging2/trait.RequestValue.html) are 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/cmn.rs b/gen/logging2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/logging2/src/cmn.rs +++ b/gen/logging2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/logging2/src/lib.rs b/gen/logging2/src/lib.rs index 96650e62d7..2357585e6c 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Logging* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Logging* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). @@ -383,7 +383,7 @@ impl<'a, C, A> Logging Logging { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://logging.googleapis.com/".to_string(), _root_url: "https://logging.googleapis.com/".to_string(), } @@ -418,7 +418,7 @@ impl<'a, C, A> Logging } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/logging2_beta1-cli/Cargo.toml b/gen/logging2_beta1-cli/Cargo.toml index 77603b6d33..f751492269 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 = "1.0.10+20190325" +version = "1.0.11+20190325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-logging2_beta1] path = "../logging2_beta1" -version = "1.0.10+20190325" +version = "1.0.11+20190325" diff --git a/gen/logging2_beta1-cli/README.md b/gen/logging2_beta1-cli/README.md index 8be7276bbe..c2b9b59e66 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 *1.0.10*. +This documentation was generated from the *Logging* API at revision *20190325*. The CLI is at version *1.0.11*. ```bash logging2-beta1 [options] diff --git a/gen/logging2_beta1-cli/mkdocs.yml b/gen/logging2_beta1-cli/mkdocs.yml index 650a55af2e..5f399d17be 100644 --- a/gen/logging2_beta1-cli/mkdocs.yml +++ b/gen/logging2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v1.0.10+20190325 +site_name: Logging v1.0.11+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 12ffab71b6..dfccae0866 100644 --- a/gen/logging2_beta1-cli/src/main.rs +++ b/gen/logging2_beta1-cli/src/main.rs @@ -1529,7 +1529,7 @@ fn main() { let mut app = App::new("logging2-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190325") + .version("1.0.11+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 25ebb8cfd0..b0790d4dee 100644 --- a/gen/logging2_beta1/Cargo.toml +++ b/gen/logging2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2_beta1" -version = "1.0.10+20190325" +version = "1.0.11+20190325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2_beta1" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2_beta1/1.0.10+20190325" +documentation = "https://docs.rs/google-logging2_beta1/1.0.11+20190325" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/logging2_beta1/README.md b/gen/logging2_beta1/README.md index 2a4e65f3d8..bee73138d8 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 *1.0.10+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Logging* crate version *1.0.11+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190325/google_logging2_beta1/struct.Logging.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.Logging.html) ... * entries - * [*list*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.EntryWriteCall.html) -* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.MonitoredResourceDescriptor.html) - * [*list*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.MonitoredResourceDescriptorListCall.html) + * [*list*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.EntryWriteCall.html) +* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.MonitoredResourceDescriptor.html) + * [*list*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.MonitoredResourceDescriptorListCall.html) * projects - * [*metrics create*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/struct.ProjectSinkUpdateCall.html) + * [*metrics create*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.ProjectSinkUpdateCall.html) @@ -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/1.0.10+20190325/google_logging2_beta1/struct.Logging.html)** +* **[Hub](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/struct.Logging.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/enum.Result.html) 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/1.0.10+20190325/google_logging2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190325/google_logging2_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.CallBuilder.html) 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/1.0.11+20190325/google_logging2_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190325/google_logging2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-logging2_beta1/1.0.10+20190325/google_logging2_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.ResponseResult.html) 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/1.0.10+20190325/google_logging2_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190325/google_logging2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190325/google_logging2_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-logging2_beta1/1.0.11+20190325/google_logging2_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/logging2_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/logging2_beta1/src/cmn.rs +++ b/gen/logging2_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/logging2_beta1/src/lib.rs b/gen/logging2_beta1/src/lib.rs index e5d62c84c1..7a7aced27f 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 *1.0.10+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Logging* crate version *1.0.11+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Logging* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). @@ -351,7 +351,7 @@ impl<'a, C, A> Logging Logging { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://logging.googleapis.com/".to_string(), _root_url: "https://logging.googleapis.com/".to_string(), } @@ -368,7 +368,7 @@ impl<'a, C, A> Logging } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/manager1_beta2-cli/Cargo.toml b/gen/manager1_beta2-cli/Cargo.toml index ea1e80b194..1d6f79089e 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 = "1.0.10+20140915" +version = "1.0.11+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manager1_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-manager1_beta2] path = "../manager1_beta2" -version = "1.0.10+20140915" +version = "1.0.11+20140915" diff --git a/gen/manager1_beta2-cli/README.md b/gen/manager1_beta2-cli/README.md index e7f69ebc97..614769c708 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 *1.0.10*. +This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *1.0.11*. ```bash manager1-beta2 [options] diff --git a/gen/manager1_beta2-cli/mkdocs.yml b/gen/manager1_beta2-cli/mkdocs.yml index 696694eab1..5f46a76936 100644 --- a/gen/manager1_beta2-cli/mkdocs.yml +++ b/gen/manager1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: manager v1.0.10+20140915 +site_name: manager v1.0.11+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 ab11e8df72..d2dcb22875 100644 --- a/gen/manager1_beta2-cli/src/main.rs +++ b/gen/manager1_beta2-cli/src/main.rs @@ -893,7 +893,7 @@ fn main() { let mut app = App::new("manager1-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20140915") + .version("1.0.11+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 2e68e369ea..ff47e82623 100644 --- a/gen/manager1_beta2/Cargo.toml +++ b/gen/manager1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manager1_beta2" -version = "1.0.10+20140915" +version = "1.0.11+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manager1_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-manager1_beta2/1.0.10+20140915" +documentation = "https://docs.rs/google-manager1_beta2/1.0.11+20140915" license = "MIT" keywords = ["manager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/manager1_beta2/README.md b/gen/manager1_beta2/README.md index cc1183a600..9f9941576f 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 *1.0.10+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *manager* crate version *1.0.11+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20140915/google_manager1_beta2/struct.Manager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.Manager.html) ... -* [deployments](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.Deployment.html) - * [*delete*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.DeploymentInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.DeploymentListCall.html) -* [templates](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.Template.html) - * [*delete*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.TemplateInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/struct.TemplateListCall.html) +* [deployments](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.Deployment.html) + * [*delete*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.DeploymentInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.DeploymentListCall.html) +* [templates](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.Template.html) + * [*delete*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.TemplateInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.TemplateListCall.html) @@ -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/1.0.10+20140915/google_manager1_beta2/struct.Manager.html)** +* **[Hub](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/struct.Manager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/enum.Result.html) 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/1.0.10+20140915/google_manager1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20140915/google_manager1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.CallBuilder.html) 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/1.0.11+20140915/google_manager1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20140915/google_manager1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-manager1_beta2/1.0.10+20140915/google_manager1_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.ResponseResult.html) 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/1.0.10+20140915/google_manager1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20140915/google_manager1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20140915/google_manager1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-manager1_beta2/1.0.11+20140915/google_manager1_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/manager1_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/manager1_beta2/src/cmn.rs +++ b/gen/manager1_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/manager1_beta2/src/lib.rs b/gen/manager1_beta2/src/lib.rs index 99be7efb9b..9ea356ccc2 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 *1.0.10+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *manager* crate version *1.0.11+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *manager* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). @@ -350,7 +350,7 @@ impl<'a, C, A> Manager Manager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/manager/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -364,7 +364,7 @@ impl<'a, C, A> Manager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/manufacturers1-cli/Cargo.toml b/gen/manufacturers1-cli/Cargo.toml index 96ab74e5af..1318ac1d27 100644 --- a/gen/manufacturers1-cli/Cargo.toml +++ b/gen/manufacturers1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manufacturers1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manufacturers1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-manufacturers1] path = "../manufacturers1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/manufacturers1-cli/README.md b/gen/manufacturers1-cli/README.md index c43858098a..54a9e9151b 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Manufacturer Center* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash manufacturers1 [options] diff --git a/gen/manufacturers1-cli/mkdocs.yml b/gen/manufacturers1-cli/mkdocs.yml index 7635400cc2..275e28628e 100644 --- a/gen/manufacturers1-cli/mkdocs.yml +++ b/gen/manufacturers1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Manufacturer Center v1.0.10+20190627 +site_name: Manufacturer Center v1.0.11+20190627 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 3c27c83124..dfb915db24 100644 --- a/gen/manufacturers1-cli/src/main.rs +++ b/gen/manufacturers1-cli/src/main.rs @@ -621,7 +621,7 @@ fn main() { let mut app = App::new("manufacturers1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 15945b71b6..97956426ca 100644 --- a/gen/manufacturers1/Cargo.toml +++ b/gen/manufacturers1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manufacturers1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manufacturers1" homepage = "https://developers.google.com/manufacturers/" -documentation = "https://docs.rs/google-manufacturers1/1.0.10+20190627" +documentation = "https://docs.rs/google-manufacturers1/1.0.11+20190627" license = "MIT" keywords = ["manufacturers", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/manufacturers1/README.md b/gen/manufacturers1/README.md index 1496e895e4..f5694df395 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Manufacturer Center* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_manufacturers1/struct.ManufacturerCenter.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/struct.ManufacturerCenter.html) ... * accounts - * [*products delete*](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/struct.AccountProductDeleteCall.html), [*products get*](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/struct.AccountProductGetCall.html), [*products list*](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/struct.AccountProductListCall.html) and [*products update*](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/struct.AccountProductUpdateCall.html) + * [*products delete*](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/struct.AccountProductDeleteCall.html), [*products get*](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/struct.AccountProductGetCall.html), [*products list*](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/struct.AccountProductListCall.html) and [*products update*](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/struct.AccountProductUpdateCall.html) @@ -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/1.0.10+20190627/google_manufacturers1/struct.ManufacturerCenter.html)** +* **[Hub](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/struct.ManufacturerCenter.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.Part.html)** + * **[Parts](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_manufacturers1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.CallBuilder.html) 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/1.0.11+20190627/google_manufacturers1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_manufacturers1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-manufacturers1/1.0.10+20190627/google_manufacturers1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.ResponseResult.html) 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/1.0.10+20190627/google_manufacturers1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_manufacturers1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_manufacturers1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-manufacturers1/1.0.11+20190627/google_manufacturers1/trait.RequestValue.html) are 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/cmn.rs b/gen/manufacturers1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/manufacturers1/src/cmn.rs +++ b/gen/manufacturers1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs index f334c88332..c0a256a3bb 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Manufacturer Center* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Manufacturer Center* *v1* API can be found at the //! [official documentation site](https://developers.google.com/manufacturers/). @@ -330,7 +330,7 @@ impl<'a, C, A> ManufacturerCenter ManufacturerCenter { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://manufacturers.googleapis.com/".to_string(), _root_url: "https://manufacturers.googleapis.com/".to_string(), } @@ -341,7 +341,7 @@ impl<'a, C, A> ManufacturerCenter } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/mirror1-cli/Cargo.toml b/gen/mirror1-cli/Cargo.toml index 7f27e091da..05b7df380c 100644 --- a/gen/mirror1-cli/Cargo.toml +++ b/gen/mirror1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mirror1-cli" -version = "1.0.10+20190424" +version = "1.0.11+20190424" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/mirror1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-mirror1] path = "../mirror1" -version = "1.0.10+20190424" +version = "1.0.11+20190424" diff --git a/gen/mirror1-cli/README.md b/gen/mirror1-cli/README.md index bd0c6d7935..35f52f545e 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 *1.0.10*. +This documentation was generated from the *mirror* API at revision *20190424*. The CLI is at version *1.0.11*. ```bash mirror1 [options] diff --git a/gen/mirror1-cli/mkdocs.yml b/gen/mirror1-cli/mkdocs.yml index a9e806192b..0f007f3aa6 100644 --- a/gen/mirror1-cli/mkdocs.yml +++ b/gen/mirror1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: mirror v1.0.10+20190424 +site_name: mirror v1.0.11+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 fac7fefd17..4ed81ff7e7 100644 --- a/gen/mirror1-cli/src/main.rs +++ b/gen/mirror1-cli/src/main.rs @@ -2564,7 +2564,7 @@ fn main() { let mut app = App::new("mirror1") .author("Sebastian Thiel ") - .version("1.0.10+20190424") + .version("1.0.11+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 bcb756ace8..c1d277aaaf 100644 --- a/gen/mirror1/Cargo.toml +++ b/gen/mirror1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mirror1" -version = "1.0.10+20190424" +version = "1.0.11+20190424" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/mirror1" homepage = "https://developers.google.com/glass" -documentation = "https://docs.rs/google-mirror1/1.0.10+20190424" +documentation = "https://docs.rs/google-mirror1/1.0.11+20190424" license = "MIT" keywords = ["mirror", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/mirror1/README.md b/gen/mirror1/README.md index 87f486477b..dd962dae8e 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 *1.0.10+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *mirror* crate version *1.0.11+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190424/google_mirror1/struct.Mirror.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Mirror.html) ... -* [accounts](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.Account.html) - * [*insert*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.AccountInsertCall.html) -* [contacts](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.Contact.html) - * [*delete*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.ContactDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.ContactGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.ContactInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.ContactListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.ContactPatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.ContactUpdateCall.html) -* [locations](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.Location.html) - * [*get*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.LocationGetCall.html) and [*list*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.LocationListCall.html) -* [settings](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.Setting.html) - * [*get*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.SettingGetCall.html) -* [subscriptions](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.Subscription.html) - * [*delete*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.SubscriptionListCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.SubscriptionUpdateCall.html) +* [accounts](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Account.html) + * [*insert*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.AccountInsertCall.html) +* [contacts](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Contact.html) + * [*delete*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.ContactDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.ContactGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.ContactInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.ContactListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.ContactPatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.ContactUpdateCall.html) +* [locations](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Location.html) + * [*get*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.LocationGetCall.html) and [*list*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.LocationListCall.html) +* [settings](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Setting.html) + * [*get*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.SettingGetCall.html) +* [subscriptions](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Subscription.html) + * [*delete*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.SubscriptionListCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.SubscriptionUpdateCall.html) * timeline - * [*attachments delete*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineAttachmentDeleteCall.html), [*attachments get*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineAttachmentGetCall.html), [*attachments insert*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineAttachmentInsertCall.html), [*attachments list*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineAttachmentListCall.html), [*delete*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelinePatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineUpdateCall.html) + * [*attachments delete*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineAttachmentDeleteCall.html), [*attachments get*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineAttachmentGetCall.html), [*attachments insert*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineAttachmentInsertCall.html), [*attachments list*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineAttachmentListCall.html), [*delete*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelinePatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineUpdateCall.html) Upload supported by ... -* [*update timeline*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineUpdateCall.html) -* [*insert timeline*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineInsertCall.html) -* [*attachments insert timeline*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineAttachmentInsertCall.html) +* [*update timeline*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineUpdateCall.html) +* [*insert timeline*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineInsertCall.html) +* [*attachments insert timeline*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineAttachmentInsertCall.html) Download supported by ... -* [*attachments get timeline*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.TimelineAttachmentGetCall.html) +* [*attachments get timeline*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.TimelineAttachmentGetCall.html) @@ -43,17 +43,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/struct.Mirror.html)** +* **[Hub](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/struct.Mirror.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.Part.html)** + * **[Parts](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -155,17 +155,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190424/google_mirror1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -175,29 +175,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20190424/google_mirror1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.CallBuilder.html) 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/1.0.11+20190424/google_mirror1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190424/google_mirror1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-mirror1/1.0.10+20190424/google_mirror1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.ResponseResult.html) 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/1.0.10+20190424/google_mirror1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190424/google_mirror1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190424/google_mirror1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-mirror1/1.0.11+20190424/google_mirror1/trait.RequestValue.html) are 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/cmn.rs b/gen/mirror1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/mirror1/src/cmn.rs +++ b/gen/mirror1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/mirror1/src/lib.rs b/gen/mirror1/src/lib.rs index 8b5b395a4c..4b607e2a7c 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 *1.0.10+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *mirror* crate version *1.0.11+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *mirror* *v1* API can be found at the //! [official documentation site](https://developers.google.com/glass). @@ -358,7 +358,7 @@ impl<'a, C, A> Mirror Mirror { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/mirror/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -384,7 +384,7 @@ impl<'a, C, A> Mirror } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/ml1-cli/Cargo.toml b/gen/ml1-cli/Cargo.toml index 0b7a26c5bc..23885faf67 100644 --- a/gen/ml1-cli/Cargo.toml +++ b/gen/ml1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ml1-cli" -version = "1.0.10+20190621" +version = "1.0.11+20190621" 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/master/gen/ml1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-ml1] path = "../ml1" -version = "1.0.10+20190621" +version = "1.0.11+20190621" diff --git a/gen/ml1-cli/README.md b/gen/ml1-cli/README.md index 9db582d943..f35ad9a262 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 *20190621*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Machine Learning Engine* API at revision *20190621*. The CLI is at version *1.0.11*. ```bash ml1 [options] diff --git a/gen/ml1-cli/mkdocs.yml b/gen/ml1-cli/mkdocs.yml index ecdc0913c1..0cdfb83b7c 100644 --- a/gen/ml1-cli/mkdocs.yml +++ b/gen/ml1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Machine Learning Engine v1.0.10+20190621 +site_name: Cloud Machine Learning Engine v1.0.11+20190621 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 d242ec6fc3..2a46faf2bb 100644 --- a/gen/ml1-cli/src/main.rs +++ b/gen/ml1-cli/src/main.rs @@ -3288,7 +3288,7 @@ fn main() { let mut app = App::new("ml1") .author("Sebastian Thiel ") - .version("1.0.10+20190621") + .version("1.0.11+20190621") .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 ee084d0156..c8c67220e0 100644 --- a/gen/ml1/Cargo.toml +++ b/gen/ml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ml1" -version = "1.0.10+20190621" +version = "1.0.11+20190621" 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/master/gen/ml1" homepage = "https://cloud.google.com/ml/" -documentation = "https://docs.rs/google-ml1/1.0.10+20190621" +documentation = "https://docs.rs/google-ml1/1.0.11+20190621" license = "MIT" keywords = ["ml", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/ml1/README.md b/gen/ml1/README.md index d1dd929552..6442c6ca20 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 *1.0.10+20190621*, where *20190621* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Machine Learning Engine* crate version *1.0.11+20190621*, where *20190621* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190621/google_ml1/struct.CloudMachineLearningEngine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.CloudMachineLearningEngine.html) ... * projects - * [*get config*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectGetConfigCall.html), [*jobs cancel*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobCancelCall.html), [*jobs create*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobCreateCall.html), [*jobs get*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobGetCall.html), [*jobs get iam policy*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobGetIamPolicyCall.html), [*jobs list*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobListCall.html), [*jobs patch*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobPatchCall.html), [*jobs set iam policy*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobSetIamPolicyCall.html), [*jobs test iam permissions*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectJobTestIamPermissionCall.html), [*locations get*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectLocationListCall.html), [*models create*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelCreateCall.html), [*models delete*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelDeleteCall.html), [*models get*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelGetCall.html), [*models get iam policy*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelGetIamPolicyCall.html), [*models list*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelListCall.html), [*models patch*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelPatchCall.html), [*models set iam policy*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelSetIamPolicyCall.html), [*models test iam permissions*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelTestIamPermissionCall.html), [*models versions create*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelVersionCreateCall.html), [*models versions delete*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelVersionDeleteCall.html), [*models versions get*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelVersionGetCall.html), [*models versions list*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelVersionListCall.html), [*models versions patch*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelVersionPatchCall.html), [*models versions set default*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectModelVersionSetDefaultCall.html), [*operations cancel*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectOperationCancelCall.html), [*operations get*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectOperationGetCall.html), [*operations list*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectOperationListCall.html) and [*predict*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/struct.ProjectPredictCall.html) + * [*get config*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectGetConfigCall.html), [*jobs cancel*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobCancelCall.html), [*jobs create*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobCreateCall.html), [*jobs get*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobGetCall.html), [*jobs get iam policy*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobGetIamPolicyCall.html), [*jobs list*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobListCall.html), [*jobs patch*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobPatchCall.html), [*jobs set iam policy*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobSetIamPolicyCall.html), [*jobs test iam permissions*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectJobTestIamPermissionCall.html), [*locations get*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectLocationListCall.html), [*models create*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelCreateCall.html), [*models delete*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelDeleteCall.html), [*models get*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelGetCall.html), [*models get iam policy*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelGetIamPolicyCall.html), [*models list*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelListCall.html), [*models patch*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelPatchCall.html), [*models set iam policy*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelSetIamPolicyCall.html), [*models test iam permissions*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelTestIamPermissionCall.html), [*models versions create*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelVersionCreateCall.html), [*models versions delete*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelVersionDeleteCall.html), [*models versions get*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelVersionGetCall.html), [*models versions list*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelVersionListCall.html), [*models versions patch*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelVersionPatchCall.html), [*models versions set default*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectModelVersionSetDefaultCall.html), [*operations cancel*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectOperationCancelCall.html), [*operations get*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectOperationGetCall.html), [*operations list*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectOperationListCall.html) and [*predict*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.ProjectPredictCall.html) @@ -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/1.0.10+20190621/google_ml1/struct.CloudMachineLearningEngine.html)** +* **[Hub](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/struct.CloudMachineLearningEngine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.Part.html)** + * **[Parts](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190621/google_ml1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-ml1/1.0.10+20190621/google_ml1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.CallBuilder.html) 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/1.0.11+20190621/google_ml1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190621/google_ml1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-ml1/1.0.10+20190621/google_ml1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.ResponseResult.html) 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/1.0.10+20190621/google_ml1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190621/google_ml1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190621/google_ml1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-ml1/1.0.11+20190621/google_ml1/trait.RequestValue.html) are 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/cmn.rs b/gen/ml1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/ml1/src/cmn.rs +++ b/gen/ml1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/ml1/src/lib.rs b/gen/ml1/src/lib.rs index f092371966..aaae89fd73 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 *1.0.10+20190621*, where *20190621* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Machine Learning Engine* crate version *1.0.11+20190621*, where *20190621* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Machine Learning Engine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/ml/). @@ -336,7 +336,7 @@ impl<'a, C, A> CloudMachineLearningEngine CloudMachineLearningEngine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://ml.googleapis.com/".to_string(), _root_url: "https://ml.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> CloudMachineLearningEngine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/monitoring3-cli/Cargo.toml b/gen/monitoring3-cli/Cargo.toml index 789702bf1f..9fba6b90fc 100644 --- a/gen/monitoring3-cli/Cargo.toml +++ b/gen/monitoring3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-monitoring3-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/monitoring3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-monitoring3] path = "../monitoring3" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/monitoring3-cli/README.md b/gen/monitoring3-cli/README.md index e8978bd540..9d1a0c6d51 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Monitoring* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash monitoring3 [options] diff --git a/gen/monitoring3-cli/mkdocs.yml b/gen/monitoring3-cli/mkdocs.yml index b2aefbf973..26620f5a6f 100644 --- a/gen/monitoring3-cli/mkdocs.yml +++ b/gen/monitoring3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Monitoring v1.0.10+20190629 +site_name: Monitoring v1.0.11+20190629 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 bb666ad5ca..e671e1d6ee 100644 --- a/gen/monitoring3-cli/src/main.rs +++ b/gen/monitoring3-cli/src/main.rs @@ -3735,7 +3735,7 @@ fn main() { let mut app = App::new("monitoring3") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .about("Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation.") .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 d85e9dc182..2bdb0fe08c 100644 --- a/gen/monitoring3/Cargo.toml +++ b/gen/monitoring3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-monitoring3" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/monitoring3" homepage = "https://cloud.google.com/monitoring/api/" -documentation = "https://docs.rs/google-monitoring3/1.0.10+20190629" +documentation = "https://docs.rs/google-monitoring3/1.0.11+20190629" license = "MIT" keywords = ["monitoring", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/monitoring3/README.md b/gen/monitoring3/README.md index 571f79942d..2d7142ce50 100644 --- a/gen/monitoring3/README.md +++ b/gen/monitoring3/README.md @@ -5,18 +5,18 @@ 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Monitoring* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_monitoring3/struct.Monitoring.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.Monitoring.html) ... * projects - * [*alert policies create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectAlertPolicyCreateCall.html), [*alert policies delete*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectAlertPolicyDeleteCall.html), [*alert policies get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectAlertPolicyGetCall.html), [*alert policies list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectAlertPolicyListCall.html), [*alert policies patch*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectAlertPolicyPatchCall.html), [*collectd time series create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectCollectdTimeSeryCreateCall.html), [*groups create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectGroupCreateCall.html), [*groups delete*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectGroupDeleteCall.html), [*groups get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectGroupGetCall.html), [*groups list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectGroupListCall.html), [*groups members list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectGroupMemberListCall.html), [*groups update*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectGroupUpdateCall.html), [*metric descriptors create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectMetricDescriptorCreateCall.html), [*metric descriptors delete*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectMetricDescriptorDeleteCall.html), [*metric descriptors get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectMetricDescriptorGetCall.html), [*metric descriptors list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectMetricDescriptorListCall.html), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectMonitoredResourceDescriptorGetCall.html), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectMonitoredResourceDescriptorListCall.html), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelDescriptorGetCall.html), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelDescriptorListCall.html), [*notification channels create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelCreateCall.html), [*notification channels delete*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelDeleteCall.html), [*notification channels get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelGetCall.html), [*notification channels get verification code*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelGetVerificationCodeCall.html), [*notification channels list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelListCall.html), [*notification channels patch*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelPatchCall.html), [*notification channels send verification code*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelSendVerificationCodeCall.html), [*notification channels verify*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectNotificationChannelVerifyCall.html), [*time series create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectTimeSeryCreateCall.html), [*time series list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectTimeSeryListCall.html), [*uptime check configs create*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigCreateCall.html), [*uptime check configs delete*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigDeleteCall.html), [*uptime check configs get*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigGetCall.html), [*uptime check configs list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigListCall.html) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigPatchCall.html) -* [uptime check ips](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.UptimeCheckIp.html) - * [*list*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/struct.UptimeCheckIpListCall.html) + * [*alert policies create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectAlertPolicyCreateCall.html), [*alert policies delete*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectAlertPolicyDeleteCall.html), [*alert policies get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectAlertPolicyGetCall.html), [*alert policies list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectAlertPolicyListCall.html), [*alert policies patch*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectAlertPolicyPatchCall.html), [*collectd time series create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectCollectdTimeSeryCreateCall.html), [*groups create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectGroupCreateCall.html), [*groups delete*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectGroupDeleteCall.html), [*groups get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectGroupGetCall.html), [*groups list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectGroupListCall.html), [*groups members list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectGroupMemberListCall.html), [*groups update*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectGroupUpdateCall.html), [*metric descriptors create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectMetricDescriptorCreateCall.html), [*metric descriptors delete*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectMetricDescriptorDeleteCall.html), [*metric descriptors get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectMetricDescriptorGetCall.html), [*metric descriptors list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectMetricDescriptorListCall.html), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectMonitoredResourceDescriptorGetCall.html), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectMonitoredResourceDescriptorListCall.html), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelDescriptorGetCall.html), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelDescriptorListCall.html), [*notification channels create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelCreateCall.html), [*notification channels delete*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelDeleteCall.html), [*notification channels get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelGetCall.html), [*notification channels get verification code*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelGetVerificationCodeCall.html), [*notification channels list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelListCall.html), [*notification channels patch*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelPatchCall.html), [*notification channels send verification code*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelSendVerificationCodeCall.html), [*notification channels verify*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectNotificationChannelVerifyCall.html), [*time series create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectTimeSeryCreateCall.html), [*time series list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectTimeSeryListCall.html), [*uptime check configs create*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigCreateCall.html), [*uptime check configs delete*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigDeleteCall.html), [*uptime check configs get*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigGetCall.html), [*uptime check configs list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigListCall.html) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.ProjectUptimeCheckConfigPatchCall.html) +* [uptime check ips](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.UptimeCheckIp.html) + * [*list*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.UptimeCheckIpListCall.html) @@ -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-monitoring3/1.0.10+20190629/google_monitoring3/struct.Monitoring.html)** +* **[Hub](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/struct.Monitoring.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.Part.html)** + * **[Parts](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_monitoring3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-monitoring3/1.0.10+20190629/google_monitoring3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.CallBuilder.html) 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/1.0.11+20190629/google_monitoring3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_monitoring3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-monitoring3/1.0.10+20190629/google_monitoring3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.ResponseResult.html) 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/1.0.10+20190629/google_monitoring3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_monitoring3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_monitoring3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-monitoring3/1.0.11+20190629/google_monitoring3/trait.RequestValue.html) are 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/cmn.rs b/gen/monitoring3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/monitoring3/src/cmn.rs +++ b/gen/monitoring3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs index e909c1848a..57efc5907e 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Monitoring* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Monitoring* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/api/). @@ -339,7 +339,7 @@ impl<'a, C, A> Monitoring Monitoring { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://monitoring.googleapis.com/".to_string(), _root_url: "https://monitoring.googleapis.com/".to_string(), } @@ -353,7 +353,7 @@ impl<'a, C, A> Monitoring } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/oslogin1-cli/Cargo.toml b/gen/oslogin1-cli/Cargo.toml index 541d663568..0694dd407b 100644 --- a/gen/oslogin1-cli/Cargo.toml +++ b/gen/oslogin1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-oslogin1-cli" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/oslogin1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-oslogin1] path = "../oslogin1" -version = "1.0.10+20190614" +version = "1.0.11+20190614" diff --git a/gen/oslogin1-cli/README.md b/gen/oslogin1-cli/README.md index 4aad8e0a52..4ebf870a0b 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 *20190614*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud OS Login* API at revision *20190614*. The CLI is at version *1.0.11*. ```bash oslogin1 [options] diff --git a/gen/oslogin1-cli/mkdocs.yml b/gen/oslogin1-cli/mkdocs.yml index 42defae854..08cf60d6e6 100644 --- a/gen/oslogin1-cli/mkdocs.yml +++ b/gen/oslogin1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v1.0.10+20190614 +site_name: Cloud OS Login v1.0.11+20190614 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 b5cdc98be5..240d111e94 100644 --- a/gen/oslogin1-cli/src/main.rs +++ b/gen/oslogin1-cli/src/main.rs @@ -722,7 +722,7 @@ fn main() { let mut app = App::new("oslogin1") .author("Sebastian Thiel ") - .version("1.0.10+20190614") + .version("1.0.11+20190614") .about("You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/).") .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 47c760c159..4e007adad1 100644 --- a/gen/oslogin1/Cargo.toml +++ b/gen/oslogin1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/oslogin1" homepage = "https://cloud.google.com/compute/docs/oslogin/" -documentation = "https://docs.rs/google-oslogin1/1.0.10+20190614" +documentation = "https://docs.rs/google-oslogin1/1.0.11+20190614" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/oslogin1/README.md b/gen/oslogin1/README.md index 9c9c4becef..dd19c7ad12 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud OS Login* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190614/google_oslogin1/struct.CloudOSLogin.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.CloudOSLogin.html) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/struct.UserGetLoginProfileCall.html), [*import ssh public key*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/struct.UserImportSshPublicKeyCall.html), [*projects delete*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/struct.UserProjectDeleteCall.html), [*ssh public keys delete*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/struct.UserSshPublicKeyDeleteCall.html), [*ssh public keys get*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/struct.UserSshPublicKeyGetCall.html) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/struct.UserSshPublicKeyPatchCall.html) + * [*get login profile*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.UserGetLoginProfileCall.html), [*import ssh public key*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.UserImportSshPublicKeyCall.html), [*projects delete*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.UserProjectDeleteCall.html), [*ssh public keys delete*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.UserSshPublicKeyDeleteCall.html), [*ssh public keys get*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.UserSshPublicKeyGetCall.html) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.UserSshPublicKeyPatchCall.html) @@ -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/1.0.10+20190614/google_oslogin1/struct.CloudOSLogin.html)** +* **[Hub](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/struct.CloudOSLogin.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.Part.html)** + * **[Parts](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190614/google_oslogin1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-oslogin1/1.0.10+20190614/google_oslogin1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.CallBuilder.html) 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/1.0.11+20190614/google_oslogin1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190614/google_oslogin1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-oslogin1/1.0.10+20190614/google_oslogin1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.ResponseResult.html) 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/1.0.10+20190614/google_oslogin1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190614/google_oslogin1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190614/google_oslogin1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-oslogin1/1.0.11+20190614/google_oslogin1/trait.RequestValue.html) are 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/cmn.rs b/gen/oslogin1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/oslogin1/src/cmn.rs +++ b/gen/oslogin1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/oslogin1/src/lib.rs b/gen/oslogin1/src/lib.rs index a63980790f..aa18465726 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud OS Login* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud OS Login* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/oslogin/). @@ -337,7 +337,7 @@ impl<'a, C, A> CloudOSLogin CloudOSLogin { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://oslogin.googleapis.com/".to_string(), _root_url: "https://oslogin.googleapis.com/".to_string(), } @@ -348,7 +348,7 @@ impl<'a, C, A> CloudOSLogin } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/oslogin1_beta-cli/Cargo.toml b/gen/oslogin1_beta-cli/Cargo.toml index a712923c3f..b6267e93cf 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 = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/oslogin1_beta-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-oslogin1_beta] path = "../oslogin1_beta" -version = "1.0.10+20190614" +version = "1.0.11+20190614" diff --git a/gen/oslogin1_beta-cli/README.md b/gen/oslogin1_beta-cli/README.md index 5b9ecb94a6..dddbcd8971 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 *20190614*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud OS Login* API at revision *20190614*. The CLI is at version *1.0.11*. ```bash oslogin1-beta [options] diff --git a/gen/oslogin1_beta-cli/mkdocs.yml b/gen/oslogin1_beta-cli/mkdocs.yml index e2be056871..33e4a072d5 100644 --- a/gen/oslogin1_beta-cli/mkdocs.yml +++ b/gen/oslogin1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v1.0.10+20190614 +site_name: Cloud OS Login v1.0.11+20190614 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 3543b06d4d..198a5f03e6 100644 --- a/gen/oslogin1_beta-cli/src/main.rs +++ b/gen/oslogin1_beta-cli/src/main.rs @@ -722,7 +722,7 @@ fn main() { let mut app = App::new("oslogin1-beta") .author("Sebastian Thiel ") - .version("1.0.10+20190614") + .version("1.0.11+20190614") .about("You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/).") .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 d4b45933d3..410c8b3184 100644 --- a/gen/oslogin1_beta/Cargo.toml +++ b/gen/oslogin1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1_beta" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/oslogin1_beta" homepage = "https://cloud.google.com/compute/docs/oslogin/" -documentation = "https://docs.rs/google-oslogin1_beta/1.0.10+20190614" +documentation = "https://docs.rs/google-oslogin1_beta/1.0.11+20190614" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/oslogin1_beta/README.md b/gen/oslogin1_beta/README.md index 04ace94506..6d89e801ad 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud OS Login* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190614/google_oslogin1_beta/struct.CloudOSLogin.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.CloudOSLogin.html) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/struct.UserGetLoginProfileCall.html), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/struct.UserImportSshPublicKeyCall.html), [*projects delete*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/struct.UserProjectDeleteCall.html), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/struct.UserSshPublicKeyDeleteCall.html), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/struct.UserSshPublicKeyGetCall.html) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/struct.UserSshPublicKeyPatchCall.html) + * [*get login profile*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.UserGetLoginProfileCall.html), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.UserImportSshPublicKeyCall.html), [*projects delete*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.UserProjectDeleteCall.html), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.UserSshPublicKeyDeleteCall.html), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.UserSshPublicKeyGetCall.html) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.UserSshPublicKeyPatchCall.html) @@ -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/1.0.10+20190614/google_oslogin1_beta/struct.CloudOSLogin.html)** +* **[Hub](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/struct.CloudOSLogin.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.Part.html)** + * **[Parts](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/enum.Result.html) 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/1.0.10+20190614/google_oslogin1_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190614/google_oslogin1_beta/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.CallBuilder.html) 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/1.0.11+20190614/google_oslogin1_beta/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190614/google_oslogin1_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.RequestValue.html) and -[decodable](https://docs.rs/google-oslogin1_beta/1.0.10+20190614/google_oslogin1_beta/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.RequestValue.html) and +[decodable](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.ResponseResult.html) 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/1.0.10+20190614/google_oslogin1_beta/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190614/google_oslogin1_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190614/google_oslogin1_beta/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-oslogin1_beta/1.0.11+20190614/google_oslogin1_beta/trait.RequestValue.html) are 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/cmn.rs b/gen/oslogin1_beta/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/oslogin1_beta/src/cmn.rs +++ b/gen/oslogin1_beta/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/oslogin1_beta/src/lib.rs b/gen/oslogin1_beta/src/lib.rs index ef1d1c1671..b2d20b2e01 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud OS Login* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -345,7 +345,7 @@ impl<'a, C, A> CloudOSLogin CloudOSLogin { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://oslogin.googleapis.com/".to_string(), _root_url: "https://oslogin.googleapis.com/".to_string(), } @@ -356,7 +356,7 @@ impl<'a, C, A> CloudOSLogin } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline2-cli/Cargo.toml b/gen/pagespeedonline2-cli/Cargo.toml index e93b0ceb65..479633bae5 100644 --- a/gen/pagespeedonline2-cli/Cargo.toml +++ b/gen/pagespeedonline2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline2-cli" -version = "1.0.10+20190507" +version = "1.0.11+20190507" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-pagespeedonline2] path = "../pagespeedonline2" -version = "1.0.10+20190507" +version = "1.0.11+20190507" diff --git a/gen/pagespeedonline2-cli/README.md b/gen/pagespeedonline2-cli/README.md index 2890b2acd9..603e869cbe 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 *20190507*. The CLI is at version *1.0.10*. +This documentation was generated from the *pagespeedonline* API at revision *20190507*. The CLI is at version *1.0.11*. ```bash pagespeedonline2 [options] diff --git a/gen/pagespeedonline2-cli/mkdocs.yml b/gen/pagespeedonline2-cli/mkdocs.yml index a330cfe7cb..41595321d1 100644 --- a/gen/pagespeedonline2-cli/mkdocs.yml +++ b/gen/pagespeedonline2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v1.0.10+20190507 +site_name: pagespeedonline v1.0.11+20190507 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 3f002097db..8f4681d7e0 100644 --- a/gen/pagespeedonline2-cli/src/main.rs +++ b/gen/pagespeedonline2-cli/src/main.rs @@ -238,7 +238,7 @@ fn main() { let mut app = App::new("pagespeedonline2") .author("Sebastian Thiel ") - .version("1.0.10+20190507") + .version("1.0.11+20190507") .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 6809e0f11f..452a1b51d6 100644 --- a/gen/pagespeedonline2/Cargo.toml +++ b/gen/pagespeedonline2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline2" -version = "1.0.10+20190507" +version = "1.0.11+20190507" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline2" homepage = "https://developers.google.com/speed/docs/insights/v2/getting-started" -documentation = "https://docs.rs/google-pagespeedonline2/1.0.10+20190507" +documentation = "https://docs.rs/google-pagespeedonline2/1.0.11+20190507" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/pagespeedonline2/README.md b/gen/pagespeedonline2/README.md index 37a023c78c..6ddb3c44b1 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 *1.0.10+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *pagespeedonline* crate version *1.0.11+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190507/google_pagespeedonline2/struct.Pagespeedonline.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/struct.Pagespeedonline.html) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/struct.PagespeedapiRunpagespeedCall.html) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/struct.PagespeedapiRunpagespeedCall.html) @@ -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/1.0.10+20190507/google_pagespeedonline2/struct.Pagespeedonline.html)** +* **[Hub](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/struct.Pagespeedonline.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.Part.html)** + * **[Parts](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190507/google_pagespeedonline2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.CallBuilder.html) 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/1.0.11+20190507/google_pagespeedonline2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190507/google_pagespeedonline2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pagespeedonline2/1.0.10+20190507/google_pagespeedonline2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.ResponseResult.html) 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/1.0.10+20190507/google_pagespeedonline2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190507/google_pagespeedonline2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190507/google_pagespeedonline2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pagespeedonline2/1.0.11+20190507/google_pagespeedonline2/trait.RequestValue.html) are 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/cmn.rs b/gen/pagespeedonline2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/pagespeedonline2/src/cmn.rs +++ b/gen/pagespeedonline2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/pagespeedonline2/src/lib.rs b/gen/pagespeedonline2/src/lib.rs index 5b37641dbf..69346df3cb 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 *1.0.10+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *pagespeedonline* crate version *1.0.11+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -305,7 +305,7 @@ impl<'a, C, A> Pagespeedonline Pagespeedonline { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -316,7 +316,7 @@ impl<'a, C, A> Pagespeedonline } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline4-cli/Cargo.toml b/gen/pagespeedonline4-cli/Cargo.toml index 0071e67475..23dbe84e6c 100644 --- a/gen/pagespeedonline4-cli/Cargo.toml +++ b/gen/pagespeedonline4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline4-cli" -version = "1.0.10+20190507" +version = "1.0.11+20190507" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-pagespeedonline4] path = "../pagespeedonline4" -version = "1.0.10+20190507" +version = "1.0.11+20190507" diff --git a/gen/pagespeedonline4-cli/README.md b/gen/pagespeedonline4-cli/README.md index 694d0569ab..409b09de83 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 *20190507*. The CLI is at version *1.0.10*. +This documentation was generated from the *pagespeedonline* API at revision *20190507*. The CLI is at version *1.0.11*. ```bash pagespeedonline4 [options] diff --git a/gen/pagespeedonline4-cli/mkdocs.yml b/gen/pagespeedonline4-cli/mkdocs.yml index 4d3471fca8..b98e6e1a2d 100644 --- a/gen/pagespeedonline4-cli/mkdocs.yml +++ b/gen/pagespeedonline4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v1.0.10+20190507 +site_name: pagespeedonline v1.0.11+20190507 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 b5664c83c6..d3ef53057c 100644 --- a/gen/pagespeedonline4-cli/src/main.rs +++ b/gen/pagespeedonline4-cli/src/main.rs @@ -247,7 +247,7 @@ fn main() { let mut app = App::new("pagespeedonline4") .author("Sebastian Thiel ") - .version("1.0.10+20190507") + .version("1.0.11+20190507") .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 caa059199d..1a03d1aea3 100644 --- a/gen/pagespeedonline4/Cargo.toml +++ b/gen/pagespeedonline4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline4" -version = "1.0.10+20190507" +version = "1.0.11+20190507" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline4" homepage = "https://developers.google.com/speed/docs/insights/v4/getting-started" -documentation = "https://docs.rs/google-pagespeedonline4/1.0.10+20190507" +documentation = "https://docs.rs/google-pagespeedonline4/1.0.11+20190507" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/pagespeedonline4/README.md b/gen/pagespeedonline4/README.md index 7cc1631950..2f93cfe396 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 *1.0.10+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *pagespeedonline* crate version *1.0.11+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190507/google_pagespeedonline4/struct.Pagespeedonline.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/struct.Pagespeedonline.html) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/struct.PagespeedapiRunpagespeedCall.html) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/struct.PagespeedapiRunpagespeedCall.html) @@ -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/1.0.10+20190507/google_pagespeedonline4/struct.Pagespeedonline.html)** +* **[Hub](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/struct.Pagespeedonline.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.Part.html)** + * **[Parts](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190507/google_pagespeedonline4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.CallBuilder.html) 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/1.0.11+20190507/google_pagespeedonline4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190507/google_pagespeedonline4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pagespeedonline4/1.0.10+20190507/google_pagespeedonline4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.ResponseResult.html) 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/1.0.10+20190507/google_pagespeedonline4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190507/google_pagespeedonline4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190507/google_pagespeedonline4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pagespeedonline4/1.0.11+20190507/google_pagespeedonline4/trait.RequestValue.html) are 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/cmn.rs b/gen/pagespeedonline4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/pagespeedonline4/src/cmn.rs +++ b/gen/pagespeedonline4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/pagespeedonline4/src/lib.rs b/gen/pagespeedonline4/src/lib.rs index ebea05f4b1..bf8a548dbc 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 *1.0.10+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *pagespeedonline* crate version *1.0.11+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -311,7 +311,7 @@ impl<'a, C, A> Pagespeedonline Pagespeedonline { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -322,7 +322,7 @@ impl<'a, C, A> Pagespeedonline } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline5-cli/Cargo.toml b/gen/pagespeedonline5-cli/Cargo.toml index 8b5e17cac5..f2a2448374 100644 --- a/gen/pagespeedonline5-cli/Cargo.toml +++ b/gen/pagespeedonline5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline5-cli" -version = "1.0.10+20190507" +version = "1.0.11+20190507" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline5-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-pagespeedonline5] path = "../pagespeedonline5" -version = "1.0.10+20190507" +version = "1.0.11+20190507" diff --git a/gen/pagespeedonline5-cli/README.md b/gen/pagespeedonline5-cli/README.md index 1043107a9c..1f4e2b2f0d 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 *pagespeedonline* API at revision *20190507*. The CLI is at version *1.0.10*. +This documentation was generated from the *pagespeedonline* API at revision *20190507*. The CLI is at version *1.0.11*. ```bash pagespeedonline5 [options] diff --git a/gen/pagespeedonline5-cli/mkdocs.yml b/gen/pagespeedonline5-cli/mkdocs.yml index 766d4ea9d4..813699b6af 100644 --- a/gen/pagespeedonline5-cli/mkdocs.yml +++ b/gen/pagespeedonline5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v1.0.10+20190507 +site_name: pagespeedonline v1.0.11+20190507 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline5-cli site_description: A complete library to interact with pagespeedonline (protocol v5) diff --git a/gen/pagespeedonline5-cli/src/main.rs b/gen/pagespeedonline5-cli/src/main.rs index 710838be11..d68a707832 100644 --- a/gen/pagespeedonline5-cli/src/main.rs +++ b/gen/pagespeedonline5-cli/src/main.rs @@ -238,7 +238,7 @@ fn main() { let mut app = App::new("pagespeedonline5") .author("Sebastian Thiel ") - .version("1.0.10+20190507") + .version("1.0.11+20190507") .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_pagespeedonline5_cli") .arg(Arg::with_name("folder") diff --git a/gen/pagespeedonline5/Cargo.toml b/gen/pagespeedonline5/Cargo.toml index a82433f8b4..1c755004d9 100644 --- a/gen/pagespeedonline5/Cargo.toml +++ b/gen/pagespeedonline5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline5" -version = "1.0.10+20190507" +version = "1.0.11+20190507" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline5" homepage = "https://developers.google.com/speed/docs/insights/v5/get-started" -documentation = "https://docs.rs/google-pagespeedonline5/1.0.10+20190507" +documentation = "https://docs.rs/google-pagespeedonline5/1.0.11+20190507" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/pagespeedonline5/README.md b/gen/pagespeedonline5/README.md index f1837315c0..87cfa4b254 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 pagespeedonline* service. -This documentation was generated from *pagespeedonline* crate version *1.0.10+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *pagespeedonline* crate version *1.0.11+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *pagespeedonline* *v5* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v5/get-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/struct.Pagespeedonline.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/struct.Pagespeedonline.html) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/struct.PagespeedapiRunpagespeedCall.html) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/struct.PagespeedapiRunpagespeedCall.html) @@ -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/1.0.10+20190507/google_pagespeedonline5/struct.Pagespeedonline.html)** +* **[Hub](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/struct.Pagespeedonline.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.Part.html)** + * **[Parts](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190507/google_pagespeedonline5/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.CallBuilder.html) 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/1.0.11+20190507/google_pagespeedonline5/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190507/google_pagespeedonline5/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pagespeedonline5/1.0.10+20190507/google_pagespeedonline5/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.ResponseResult.html) 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/1.0.10+20190507/google_pagespeedonline5/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190507/google_pagespeedonline5/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190507/google_pagespeedonline5/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pagespeedonline5/1.0.11+20190507/google_pagespeedonline5/trait.RequestValue.html) are 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/cmn.rs b/gen/pagespeedonline5/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/pagespeedonline5/src/cmn.rs +++ b/gen/pagespeedonline5/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/pagespeedonline5/src/lib.rs b/gen/pagespeedonline5/src/lib.rs index f45e032d9f..27a5954de0 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 *pagespeedonline* crate version *1.0.10+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *pagespeedonline* crate version *1.0.11+20190507*, where *20190507* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *pagespeedonline* *v5* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v5/get-started). @@ -305,7 +305,7 @@ impl<'a, C, A> Pagespeedonline Pagespeedonline { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v5/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -316,7 +316,7 @@ impl<'a, C, A> Pagespeedonline } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/partners2-cli/Cargo.toml b/gen/partners2-cli/Cargo.toml index e11b224a44..a22c495698 100644 --- a/gen/partners2-cli/Cargo.toml +++ b/gen/partners2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-partners2-cli" -version = "1.0.10+20180925" +version = "1.0.11+20180925" authors = ["Sebastian Thiel "] description = "A complete library to interact with Partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/partners2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-partners2] path = "../partners2" -version = "1.0.10+20180925" +version = "1.0.11+20180925" diff --git a/gen/partners2-cli/README.md b/gen/partners2-cli/README.md index 90a8930398..eae802f666 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 *1.0.10*. +This documentation was generated from the *Partners* API at revision *20180925*. The CLI is at version *1.0.11*. ```bash partners2 [options] diff --git a/gen/partners2-cli/mkdocs.yml b/gen/partners2-cli/mkdocs.yml index af41c14e5f..9dcdab9ffe 100644 --- a/gen/partners2-cli/mkdocs.yml +++ b/gen/partners2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Partners v1.0.10+20180925 +site_name: Partners v1.0.11+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 daaed3c429..634b6b559c 100644 --- a/gen/partners2-cli/src/main.rs +++ b/gen/partners2-cli/src/main.rs @@ -2284,7 +2284,7 @@ fn main() { let mut app = App::new("partners2") .author("Sebastian Thiel ") - .version("1.0.10+20180925") + .version("1.0.11+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 ac0f3fb8be..f767ed924e 100644 --- a/gen/partners2/Cargo.toml +++ b/gen/partners2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-partners2" -version = "1.0.10+20180925" +version = "1.0.11+20180925" authors = ["Sebastian Thiel "] description = "A complete library to interact with Partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/partners2" homepage = "https://developers.google.com/partners/" -documentation = "https://docs.rs/google-partners2/1.0.10+20180925" +documentation = "https://docs.rs/google-partners2/1.0.11+20180925" license = "MIT" keywords = ["partners", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/partners2/README.md b/gen/partners2/README.md index cc63d68932..6d72ba96a7 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 *1.0.10+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Partners* crate version *1.0.11+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20180925/google_partners2/struct.Partners.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.Partners.html) ... * analytics - * [*list*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.AnalyticListCall.html) + * [*list*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.AnalyticListCall.html) * client messages - * [*log*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.ClientMessageLogCall.html) -* [companies](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.Company.html) - * [*get*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.CompanyGetCall.html), [*leads create*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.CompanyLeadCreateCall.html) and [*list*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.CompanyListCall.html) -* [leads](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.Lead.html) - * [*list*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.LeadListCall.html) + * [*log*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.ClientMessageLogCall.html) +* [companies](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.Company.html) + * [*get*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.CompanyGetCall.html), [*leads create*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.CompanyLeadCreateCall.html) and [*list*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.CompanyListCall.html) +* [leads](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.Lead.html) + * [*list*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.LeadListCall.html) * offers - * [*history list*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.OfferHistoryListCall.html) and [*list*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.OfferListCall.html) + * [*history list*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.OfferHistoryListCall.html) and [*list*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.OfferListCall.html) * user events - * [*log*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.UserEventLogCall.html) + * [*log*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.UserEventLogCall.html) * user states - * [*list*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.UserStateListCall.html) -* [users](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.User.html) - * [*create company relation*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.UserCreateCompanyRelationCall.html), [*delete company relation*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.UserDeleteCompanyRelationCall.html), [*get*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.UserGetCall.html) and [*update profile*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.UserUpdateProfileCall.html) + * [*list*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.UserStateListCall.html) +* [users](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.User.html) + * [*create company relation*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.UserCreateCompanyRelationCall.html), [*delete company relation*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.UserDeleteCompanyRelationCall.html), [*get*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.UserGetCall.html) and [*update profile*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.UserUpdateProfileCall.html) Other activities are ... -* [get partnersstatus](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.MethodGetPartnersstatuCall.html) -* [update companies](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.MethodUpdateCompanyCall.html) -* [update leads](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.MethodUpdateLeadCall.html) +* [get partnersstatus](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.MethodGetPartnersstatuCall.html) +* [update companies](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.MethodUpdateCompanyCall.html) +* [update leads](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.MethodUpdateLeadCall.html) @@ -42,17 +42,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/struct.Partners.html)** +* **[Hub](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/struct.Partners.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.Part.html)** + * **[Parts](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -159,17 +159,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20180925/google_partners2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -179,29 +179,29 @@ Methods supporting uploads can do so using up to 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/1.0.10+20180925/google_partners2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.CallBuilder.html) 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/1.0.11+20180925/google_partners2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20180925/google_partners2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-partners2/1.0.10+20180925/google_partners2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.ResponseResult.html) 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/1.0.10+20180925/google_partners2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20180925/google_partners2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20180925/google_partners2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-partners2/1.0.11+20180925/google_partners2/trait.RequestValue.html) are 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/cmn.rs b/gen/partners2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/partners2/src/cmn.rs +++ b/gen/partners2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs index 720a4d6294..9f2b61a1f3 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 *1.0.10+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Partners* crate version *1.0.11+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Partners* *v2* API can be found at the //! [official documentation site](https://developers.google.com/partners/). @@ -343,7 +343,7 @@ impl<'a, C, A> Partners Partners { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://partners.googleapis.com/".to_string(), _root_url: "https://partners.googleapis.com/".to_string(), } @@ -378,7 +378,7 @@ impl<'a, C, A> Partners } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/people1-cli/Cargo.toml b/gen/people1-cli/Cargo.toml index c74fecb689..09123f6764 100644 --- a/gen/people1-cli/Cargo.toml +++ b/gen/people1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-people1-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with People Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/people1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-people1] path = "../people1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/people1-cli/README.md b/gen/people1-cli/README.md index 0730f9872e..45d0c8cc0c 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *People Service* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash people1 [options] diff --git a/gen/people1-cli/mkdocs.yml b/gen/people1-cli/mkdocs.yml index 2c261ba9a3..48727d6343 100644 --- a/gen/people1-cli/mkdocs.yml +++ b/gen/people1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: People Service v1.0.10+20190702 +site_name: People Service v1.0.11+20190702 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 bff5ad9f7c..f835639332 100644 --- a/gen/people1-cli/src/main.rs +++ b/gen/people1-cli/src/main.rs @@ -1469,7 +1469,7 @@ fn main() { let mut app = App::new("people1") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 dce1d82148..13cca682f3 100644 --- a/gen/people1/Cargo.toml +++ b/gen/people1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-people1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with People Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/people1" homepage = "https://developers.google.com/people/" -documentation = "https://docs.rs/google-people1/1.0.10+20190702" +documentation = "https://docs.rs/google-people1/1.0.11+20190702" license = "MIT" keywords = ["people", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/people1/README.md b/gen/people1/README.md index 26afde5427..624c8b961d 100644 --- a/gen/people1/README.md +++ b/gen/people1/README.md @@ -5,18 +5,18 @@ 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *People Service* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_people1/struct.PeopleService.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleService.html) ... -* [contact groups](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroup.html) - * [*batch get*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupBatchGetCall.html), [*create*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupCreateCall.html), [*delete*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupDeleteCall.html), [*get*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupGetCall.html), [*list*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupListCall.html), [*members modify*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupMemberModifyCall.html) and [*update*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.ContactGroupUpdateCall.html) +* [contact groups](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroup.html) + * [*batch get*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupBatchGetCall.html), [*create*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupCreateCall.html), [*delete*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupDeleteCall.html), [*get*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupGetCall.html), [*list*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupListCall.html), [*members modify*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupMemberModifyCall.html) and [*update*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.ContactGroupUpdateCall.html) * people - * [*connections list*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.PeopleConnectionListCall.html), [*create contact*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.PeopleCreateContactCall.html), [*delete contact*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.PeopleDeleteContactCall.html), [*get*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.PeopleGetCall.html), [*get batch get*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.PeopleGetBatchGetCall.html) and [*update contact*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/struct.PeopleUpdateContactCall.html) + * [*connections list*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleConnectionListCall.html), [*create contact*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleCreateContactCall.html), [*delete contact*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleDeleteContactCall.html), [*get*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleGetCall.html), [*get batch get*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleGetBatchGetCall.html) and [*update contact*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleUpdateContactCall.html) @@ -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-people1/1.0.10+20190702/google_people1/struct.PeopleService.html)** +* **[Hub](https://docs.rs/google-people1/1.0.11+20190702/google_people1/struct.PeopleService.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.Part.html)** + * **[Parts](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/1.0.10+20190702/google_people1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/1.0.11+20190702/google_people1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_people1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-people1/1.0.11+20190702/google_people1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-people1/1.0.10+20190702/google_people1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.CallBuilder.html) 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/1.0.11+20190702/google_people1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_people1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-people1/1.0.10+20190702/google_people1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.ResponseResult.html) 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/1.0.10+20190702/google_people1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_people1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_people1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-people1/1.0.11+20190702/google_people1/trait.RequestValue.html) are 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/cmn.rs b/gen/people1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/people1/src/cmn.rs +++ b/gen/people1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/people1/src/lib.rs b/gen/people1/src/lib.rs index 0f5ea0aa31..dfb608b330 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *People Service* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *People Service* *v1* API can be found at the //! [official documentation site](https://developers.google.com/people/). @@ -359,7 +359,7 @@ impl<'a, C, A> PeopleService PeopleService { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://people.googleapis.com/".to_string(), _root_url: "https://people.googleapis.com/".to_string(), } @@ -373,7 +373,7 @@ impl<'a, C, A> PeopleService } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/photoslibrary1-cli/Cargo.toml b/gen/photoslibrary1-cli/Cargo.toml index 173cba1079..13e01db492 100644 --- a/gen/photoslibrary1-cli/Cargo.toml +++ b/gen/photoslibrary1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-photoslibrary1-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Photos Library (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/photoslibrary1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-photoslibrary1] path = "../photoslibrary1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/photoslibrary1-cli/README.md b/gen/photoslibrary1-cli/README.md index 1b0f2bb731..92588b3d7d 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Photos Library* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash photoslibrary1 [options] diff --git a/gen/photoslibrary1-cli/mkdocs.yml b/gen/photoslibrary1-cli/mkdocs.yml index be3777e6bf..b9aaccc420 100644 --- a/gen/photoslibrary1-cli/mkdocs.yml +++ b/gen/photoslibrary1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Photos Library v1.0.10+20190702 +site_name: Photos Library v1.0.11+20190702 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 31a38ae0f2..098b4696ac 100644 --- a/gen/photoslibrary1-cli/src/main.rs +++ b/gen/photoslibrary1-cli/src/main.rs @@ -1947,7 +1947,7 @@ fn main() { let mut app = App::new("photoslibrary1") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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") diff --git a/gen/photoslibrary1/Cargo.toml b/gen/photoslibrary1/Cargo.toml index 83b7db1d56..d7111c611f 100644 --- a/gen/photoslibrary1/Cargo.toml +++ b/gen/photoslibrary1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-photoslibrary1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Photos Library (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/photoslibrary1" homepage = "https://developers.google.com/photos/" -documentation = "https://docs.rs/google-photoslibrary1/1.0.10+20190702" +documentation = "https://docs.rs/google-photoslibrary1/1.0.11+20190702" license = "MIT" keywords = ["photoslibrary", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/photoslibrary1/README.md b/gen/photoslibrary1/README.md index dc6b947145..483818186b 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Photos Library* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_photoslibrary1/struct.PhotosLibrary.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.PhotosLibrary.html) ... -* [albums](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.Album.html) - * [*add enrichment*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumAddEnrichmentCall.html), [*batch add media items*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumBatchAddMediaItemCall.html), [*batch remove media items*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumBatchRemoveMediaItemCall.html), [*create*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumCreateCall.html), [*get*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumGetCall.html), [*list*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumListCall.html), [*share*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumShareCall.html) and [*unshare*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.AlbumUnshareCall.html) -* [media items](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.MediaItem.html) - * [*batch create*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.MediaItemBatchCreateCall.html), [*batch get*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.MediaItemBatchGetCall.html), [*get*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.MediaItemGetCall.html), [*list*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.MediaItemListCall.html) and [*search*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.MediaItemSearchCall.html) +* [albums](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.Album.html) + * [*add enrichment*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumAddEnrichmentCall.html), [*batch add media items*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumBatchAddMediaItemCall.html), [*batch remove media items*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumBatchRemoveMediaItemCall.html), [*create*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumCreateCall.html), [*get*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumGetCall.html), [*list*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumListCall.html), [*share*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumShareCall.html) and [*unshare*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.AlbumUnshareCall.html) +* [media items](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.MediaItem.html) + * [*batch create*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.MediaItemBatchCreateCall.html), [*batch get*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.MediaItemBatchGetCall.html), [*get*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.MediaItemGetCall.html), [*list*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.MediaItemListCall.html) and [*search*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.MediaItemSearchCall.html) * shared albums - * [*get*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.SharedAlbumGetCall.html), [*join*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.SharedAlbumJoinCall.html), [*leave*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.SharedAlbumLeaveCall.html) and [*list*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/struct.SharedAlbumListCall.html) + * [*get*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.SharedAlbumGetCall.html), [*join*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.SharedAlbumJoinCall.html), [*leave*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.SharedAlbumLeaveCall.html) and [*list*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.SharedAlbumListCall.html) @@ -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/1.0.10+20190702/google_photoslibrary1/struct.PhotosLibrary.html)** +* **[Hub](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/struct.PhotosLibrary.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.Part.html)** + * **[Parts](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_photoslibrary1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.CallBuilder.html) 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/1.0.11+20190702/google_photoslibrary1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_photoslibrary1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-photoslibrary1/1.0.10+20190702/google_photoslibrary1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.ResponseResult.html) 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/1.0.10+20190702/google_photoslibrary1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_photoslibrary1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_photoslibrary1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-photoslibrary1/1.0.11+20190702/google_photoslibrary1/trait.RequestValue.html) are 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/cmn.rs b/gen/photoslibrary1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/photoslibrary1/src/cmn.rs +++ b/gen/photoslibrary1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/photoslibrary1/src/lib.rs b/gen/photoslibrary1/src/lib.rs index cf44f12765..709b82b151 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Photos Library* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Photos Library* *v1* API can be found at the //! [official documentation site](https://developers.google.com/photos/). @@ -351,7 +351,7 @@ impl<'a, C, A> PhotosLibrary PhotosLibrary { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://photoslibrary.googleapis.com/".to_string(), _root_url: "https://photoslibrary.googleapis.com/".to_string(), } @@ -368,7 +368,7 @@ impl<'a, C, A> PhotosLibrary } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/playcustomapp1-cli/Cargo.toml b/gen/playcustomapp1-cli/Cargo.toml index 77bab9dbfd..eff7145ef2 100644 --- a/gen/playcustomapp1-cli/Cargo.toml +++ b/gen/playcustomapp1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playcustomapp1-cli" -version = "1.0.10+20170622" +version = "1.0.11+20170622" authors = ["Sebastian Thiel "] description = "A complete library to interact with playcustomapp (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/playcustomapp1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-playcustomapp1] path = "../playcustomapp1" -version = "1.0.10+20170622" +version = "1.0.11+20170622" diff --git a/gen/playcustomapp1-cli/README.md b/gen/playcustomapp1-cli/README.md index b083d43ec9..333f8fd094 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 *20170622*. The CLI is at version *1.0.10*. +This documentation was generated from the *playcustomapp* API at revision *20170622*. The CLI is at version *1.0.11*. ```bash playcustomapp1 [options] diff --git a/gen/playcustomapp1-cli/mkdocs.yml b/gen/playcustomapp1-cli/mkdocs.yml index 721c694a96..078b364a85 100644 --- a/gen/playcustomapp1-cli/mkdocs.yml +++ b/gen/playcustomapp1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: playcustomapp v1.0.10+20170622 +site_name: playcustomapp v1.0.11+20170622 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 6f5f4e36f6..6f4fa91faa 100644 --- a/gen/playcustomapp1-cli/src/main.rs +++ b/gen/playcustomapp1-cli/src/main.rs @@ -276,7 +276,7 @@ fn main() { let mut app = App::new("playcustomapp1") .author("Sebastian Thiel ") - .version("1.0.10+20170622") + .version("1.0.11+20170622") .about("An API to 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 f309a53fa6..299348536e 100644 --- a/gen/playcustomapp1/Cargo.toml +++ b/gen/playcustomapp1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playcustomapp1" -version = "1.0.10+20170622" +version = "1.0.11+20170622" authors = ["Sebastian Thiel "] description = "A complete library to interact with playcustomapp (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/playcustomapp1" homepage = "https://developers.google.com/android/work/play/custom-app-api" -documentation = "https://docs.rs/google-playcustomapp1/1.0.10+20170622" +documentation = "https://docs.rs/google-playcustomapp1/1.0.11+20170622" license = "MIT" keywords = ["playcustomapp", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/playcustomapp1/README.md b/gen/playcustomapp1/README.md index 4e1cb47e24..7292a505d6 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 *1.0.10+20170622*, where *20170622* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *playcustomapp* crate version *1.0.11+20170622*, where *20170622* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20170622/google_playcustomapp1/struct.Playcustomapp.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/struct.Playcustomapp.html) ... * accounts - * [*custom apps create*](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/struct.AccountCustomAppCreateCall.html) + * [*custom apps create*](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/struct.AccountCustomAppCreateCall.html) Upload supported by ... -* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/struct.AccountCustomAppCreateCall.html) +* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/struct.AccountCustomAppCreateCall.html) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/struct.Playcustomapp.html)** +* **[Hub](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/struct.Playcustomapp.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.Part.html)** + * **[Parts](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170622/google_playcustomapp1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.CallBuilder.html) 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/1.0.11+20170622/google_playcustomapp1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170622/google_playcustomapp1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-playcustomapp1/1.0.10+20170622/google_playcustomapp1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.ResponseResult.html) 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/1.0.10+20170622/google_playcustomapp1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170622/google_playcustomapp1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170622/google_playcustomapp1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-playcustomapp1/1.0.11+20170622/google_playcustomapp1/trait.RequestValue.html) are 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/cmn.rs b/gen/playcustomapp1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/playcustomapp1/src/cmn.rs +++ b/gen/playcustomapp1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/playcustomapp1/src/lib.rs b/gen/playcustomapp1/src/lib.rs index f14f5cf682..877f185e10 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 *1.0.10+20170622*, where *20170622* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *playcustomapp* crate version *1.0.11+20170622*, where *20170622* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -335,7 +335,7 @@ impl<'a, C, A> Playcustomapp Playcustomapp { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/playcustomapp/v1/accounts/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -346,7 +346,7 @@ impl<'a, C, A> Playcustomapp } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/playmoviespartner1-cli/Cargo.toml b/gen/playmoviespartner1-cli/Cargo.toml index 464961bf8d..9e1efcab9b 100644 --- a/gen/playmoviespartner1-cli/Cargo.toml +++ b/gen/playmoviespartner1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playmoviespartner1-cli" -version = "1.0.10+20170919" +version = "1.0.11+20170919" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/playmoviespartner1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-playmoviespartner1] path = "../playmoviespartner1" -version = "1.0.10+20170919" +version = "1.0.11+20170919" diff --git a/gen/playmoviespartner1-cli/README.md b/gen/playmoviespartner1-cli/README.md index acb19d8f49..38eeef730e 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 *1.0.10*. +This documentation was generated from the *Play Movies* API at revision *20170919*. The CLI is at version *1.0.11*. ```bash playmoviespartner1 [options] diff --git a/gen/playmoviespartner1-cli/mkdocs.yml b/gen/playmoviespartner1-cli/mkdocs.yml index e976926b7a..7d34a3938d 100644 --- a/gen/playmoviespartner1-cli/mkdocs.yml +++ b/gen/playmoviespartner1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Play Movies v1.0.10+20170919 +site_name: Play Movies v1.0.11+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 7136980cd6..22b8862ca2 100644 --- a/gen/playmoviespartner1-cli/src/main.rs +++ b/gen/playmoviespartner1-cli/src/main.rs @@ -737,7 +737,7 @@ fn main() { let mut app = App::new("playmoviespartner1") .author("Sebastian Thiel ") - .version("1.0.10+20170919") + .version("1.0.11+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 8715bc82e1..4ea8568758 100644 --- a/gen/playmoviespartner1/Cargo.toml +++ b/gen/playmoviespartner1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playmoviespartner1" -version = "1.0.10+20170919" +version = "1.0.11+20170919" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/playmoviespartner1" homepage = "https://developers.google.com/playmoviespartner/" -documentation = "https://docs.rs/google-playmoviespartner1/1.0.10+20170919" +documentation = "https://docs.rs/google-playmoviespartner1/1.0.11+20170919" license = "MIT" keywords = ["playmoviespartner", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/playmoviespartner1/README.md b/gen/playmoviespartner1/README.md index f7f4beb62c..e1e4fbaf88 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 *1.0.10+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Play Movies* crate version *1.0.11+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20170919/google_playmoviespartner1/struct.PlayMovies.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.PlayMovies.html) ... * accounts - * [*avails get*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/struct.AccountAvailGetCall.html), [*avails list*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/struct.AccountAvailListCall.html), [*orders get*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/struct.AccountOrderGetCall.html), [*orders list*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/struct.AccountOrderListCall.html), [*store infos country get*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/struct.AccountStoreInfoCountryGetCall.html) and [*store infos list*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/struct.AccountStoreInfoListCall.html) + * [*avails get*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.AccountAvailGetCall.html), [*avails list*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.AccountAvailListCall.html), [*orders get*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.AccountOrderGetCall.html), [*orders list*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.AccountOrderListCall.html), [*store infos country get*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.AccountStoreInfoCountryGetCall.html) and [*store infos list*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.AccountStoreInfoListCall.html) @@ -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/1.0.10+20170919/google_playmoviespartner1/struct.PlayMovies.html)** +* **[Hub](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/struct.PlayMovies.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.Part.html)** + * **[Parts](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170919/google_playmoviespartner1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.CallBuilder.html) 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/1.0.11+20170919/google_playmoviespartner1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170919/google_playmoviespartner1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-playmoviespartner1/1.0.10+20170919/google_playmoviespartner1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.ResponseResult.html) 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/1.0.10+20170919/google_playmoviespartner1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170919/google_playmoviespartner1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170919/google_playmoviespartner1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-playmoviespartner1/1.0.11+20170919/google_playmoviespartner1/trait.RequestValue.html) are 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/cmn.rs b/gen/playmoviespartner1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/playmoviespartner1/src/cmn.rs +++ b/gen/playmoviespartner1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/playmoviespartner1/src/lib.rs b/gen/playmoviespartner1/src/lib.rs index c745b373f3..a7b1e7609b 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 *1.0.10+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Play Movies* crate version *1.0.11+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Play Movies* *v1* API can be found at the //! [official documentation site](https://developers.google.com/playmoviespartner/). @@ -317,7 +317,7 @@ impl<'a, C, A> PlayMovies PlayMovies { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://playmoviespartner.googleapis.com/".to_string(), _root_url: "https://playmoviespartner.googleapis.com/".to_string(), } @@ -328,7 +328,7 @@ impl<'a, C, A> PlayMovies } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/plus1-cli/Cargo.toml b/gen/plus1-cli/Cargo.toml index ebbc8ad589..67eb8407d1 100644 --- a/gen/plus1-cli/Cargo.toml +++ b/gen/plus1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plus1-cli" -version = "1.0.10+20190616" +version = "1.0.11+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plus1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-plus1] path = "../plus1" -version = "1.0.10+20190616" +version = "1.0.11+20190616" diff --git a/gen/plus1-cli/README.md b/gen/plus1-cli/README.md index 088167ce9f..95e03df516 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 *1.0.10*. +This documentation was generated from the *plus* API at revision *20190616*. The CLI is at version *1.0.11*. ```bash plus1 [options] diff --git a/gen/plus1-cli/mkdocs.yml b/gen/plus1-cli/mkdocs.yml index 1cc837dded..61e6705db7 100644 --- a/gen/plus1-cli/mkdocs.yml +++ b/gen/plus1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plus v1.0.10+20190616 +site_name: plus v1.0.11+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 9885e7bb27..fa1945f863 100644 --- a/gen/plus1-cli/src/main.rs +++ b/gen/plus1-cli/src/main.rs @@ -938,7 +938,7 @@ fn main() { let mut app = App::new("plus1") .author("Sebastian Thiel ") - .version("1.0.10+20190616") + .version("1.0.11+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 ccfadaf323..50dab9164b 100644 --- a/gen/plus1/Cargo.toml +++ b/gen/plus1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plus1" -version = "1.0.10+20190616" +version = "1.0.11+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plus1" homepage = "https://developers.google.com/+/api/" -documentation = "https://docs.rs/google-plus1/1.0.10+20190616" +documentation = "https://docs.rs/google-plus1/1.0.11+20190616" license = "MIT" keywords = ["plus", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/plus1/README.md b/gen/plus1/README.md index eded77b2a7..4e3747bbd2 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 *1.0.10+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *plus* crate version *1.0.11+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190616/google_plus1/struct.Plus.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.Plus.html) ... -* [activities](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.Activity.html) - * [*get*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.ActivityGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.ActivityListCall.html) and [*search*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.ActivitySearchCall.html) -* [comments](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.Comment.html) - * [*get*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.CommentGetCall.html) and [*list*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.CommentListCall.html) +* [activities](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.Activity.html) + * [*get*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.ActivityGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.ActivityListCall.html) and [*search*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.ActivitySearchCall.html) +* [comments](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.Comment.html) + * [*get*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.CommentGetCall.html) and [*list*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.CommentListCall.html) * people - * [*get*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.PeopleListCall.html), [*list by activity*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.PeopleListByActivityCall.html) and [*search*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/struct.PeopleSearchCall.html) + * [*get*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.PeopleListCall.html), [*list by activity*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.PeopleListByActivityCall.html) and [*search*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.PeopleSearchCall.html) @@ -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/1.0.10+20190616/google_plus1/struct.Plus.html)** +* **[Hub](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/struct.Plus.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.Part.html)** + * **[Parts](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190616/google_plus1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-plus1/1.0.10+20190616/google_plus1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.CallBuilder.html) 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/1.0.11+20190616/google_plus1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190616/google_plus1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-plus1/1.0.10+20190616/google_plus1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.ResponseResult.html) 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/1.0.10+20190616/google_plus1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190616/google_plus1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190616/google_plus1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-plus1/1.0.11+20190616/google_plus1/trait.RequestValue.html) are 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/cmn.rs b/gen/plus1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/plus1/src/cmn.rs +++ b/gen/plus1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/plus1/src/lib.rs b/gen/plus1/src/lib.rs index 56a9c46c8a..6a92696c21 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 *1.0.10+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *plus* crate version *1.0.11+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *plus* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/api/). @@ -341,7 +341,7 @@ impl<'a, C, A> Plus Plus { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/plus/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -358,7 +358,7 @@ impl<'a, C, A> Plus } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/plusdomains1-cli/Cargo.toml b/gen/plusdomains1-cli/Cargo.toml index e6f500957e..3820b105a6 100644 --- a/gen/plusdomains1-cli/Cargo.toml +++ b/gen/plusdomains1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plusdomains1-cli" -version = "1.0.10+20190616" +version = "1.0.11+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plusdomains1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-plusdomains1] path = "../plusdomains1" -version = "1.0.10+20190616" +version = "1.0.11+20190616" diff --git a/gen/plusdomains1-cli/README.md b/gen/plusdomains1-cli/README.md index d7d19e529a..91b1f1987e 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 *1.0.10*. +This documentation was generated from the *plusDomains* API at revision *20190616*. The CLI is at version *1.0.11*. ```bash plusdomains1 [options] diff --git a/gen/plusdomains1-cli/mkdocs.yml b/gen/plusdomains1-cli/mkdocs.yml index 558299f7c8..a6a35e4a0a 100644 --- a/gen/plusdomains1-cli/mkdocs.yml +++ b/gen/plusdomains1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plusDomains v1.0.10+20190616 +site_name: plusDomains v1.0.11+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 94806ba2ca..38123d8ff4 100644 --- a/gen/plusdomains1-cli/src/main.rs +++ b/gen/plusdomains1-cli/src/main.rs @@ -1114,7 +1114,7 @@ fn main() { let mut app = App::new("plusdomains1") .author("Sebastian Thiel ") - .version("1.0.10+20190616") + .version("1.0.11+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 c31bdd86ab..6977359747 100644 --- a/gen/plusdomains1/Cargo.toml +++ b/gen/plusdomains1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plusdomains1" -version = "1.0.10+20190616" +version = "1.0.11+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plusdomains1" homepage = "https://developers.google.com/+/domains/" -documentation = "https://docs.rs/google-plusdomains1/1.0.10+20190616" +documentation = "https://docs.rs/google-plusdomains1/1.0.11+20190616" license = "MIT" keywords = ["plusDomains", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/plusdomains1/README.md b/gen/plusdomains1/README.md index d8a23d8e0b..3be9cddb40 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 *1.0.10+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *plusDomains* crate version *1.0.11+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190616/google_plusdomains1/struct.PlusDomains.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.PlusDomains.html) ... -* [activities](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.Activity.html) - * [*get*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.ActivityGetCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.ActivityListCall.html) -* [audiences](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.Audience.html) - * [*list*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.AudienceListCall.html) -* [circles](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.Circle.html) - * [*list*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.CircleListCall.html) -* [comments](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.Comment.html) - * [*get*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.CommentGetCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.CommentListCall.html) -* [media](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.Media.html) - * [*insert*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.MediaInsertCall.html) +* [activities](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.Activity.html) + * [*get*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.ActivityGetCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.ActivityListCall.html) +* [audiences](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.Audience.html) + * [*list*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.AudienceListCall.html) +* [circles](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.Circle.html) + * [*list*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.CircleListCall.html) +* [comments](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.Comment.html) + * [*get*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.CommentGetCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.CommentListCall.html) +* [media](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.Media.html) + * [*insert*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.MediaInsertCall.html) * people - * [*get*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.PeopleListCall.html) and [*list by activity*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.PeopleListByActivityCall.html) + * [*get*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.PeopleListCall.html) and [*list by activity*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.PeopleListByActivityCall.html) Upload supported by ... -* [*insert media*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.MediaInsertCall.html) +* [*insert media*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.MediaInsertCall.html) @@ -37,17 +37,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/struct.PlusDomains.html)** +* **[Hub](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/struct.PlusDomains.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.Part.html)** + * **[Parts](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190616/google_plusdomains1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.CallBuilder.html) 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/1.0.11+20190616/google_plusdomains1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190616/google_plusdomains1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-plusdomains1/1.0.10+20190616/google_plusdomains1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.ResponseResult.html) 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/1.0.10+20190616/google_plusdomains1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190616/google_plusdomains1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190616/google_plusdomains1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-plusdomains1/1.0.11+20190616/google_plusdomains1/trait.RequestValue.html) are 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/cmn.rs b/gen/plusdomains1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/plusdomains1/src/cmn.rs +++ b/gen/plusdomains1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/plusdomains1/src/lib.rs b/gen/plusdomains1/src/lib.rs index 51f3b5b0ff..811a3975ad 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 *1.0.10+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *plusDomains* crate version *1.0.11+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *plusDomains* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/domains/). @@ -366,7 +366,7 @@ impl<'a, C, A> PlusDomains PlusDomains { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/plusDomains/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -392,7 +392,7 @@ impl<'a, C, A> PlusDomains } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/prediction1d6-cli/Cargo.toml b/gen/prediction1d6-cli/Cargo.toml index 069834bc62..5b8a8d978e 100644 --- a/gen/prediction1d6-cli/Cargo.toml +++ b/gen/prediction1d6-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-prediction1d6-cli" -version = "1.0.10+20160511" +version = "1.0.11+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/prediction1d6-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-prediction1d6] path = "../prediction1d6" -version = "1.0.10+20160511" +version = "1.0.11+20160511" diff --git a/gen/prediction1d6-cli/README.md b/gen/prediction1d6-cli/README.md index 6a9c8ee757..82e77e61f4 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 *1.0.10*. +This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *1.0.11*. ```bash prediction1d6 [options] diff --git a/gen/prediction1d6-cli/mkdocs.yml b/gen/prediction1d6-cli/mkdocs.yml index 51cb4ef2c0..c8eeba5511 100644 --- a/gen/prediction1d6-cli/mkdocs.yml +++ b/gen/prediction1d6-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: prediction v1.0.10+20160511 +site_name: prediction v1.0.11+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 1c02f7ca31..f183d005b2 100644 --- a/gen/prediction1d6-cli/src/main.rs +++ b/gen/prediction1d6-cli/src/main.rs @@ -963,7 +963,7 @@ fn main() { let mut app = App::new("prediction1d6") .author("Sebastian Thiel ") - .version("1.0.10+20160511") + .version("1.0.11+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 f833bdfc1c..8a49031b0a 100644 --- a/gen/prediction1d6/Cargo.toml +++ b/gen/prediction1d6/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-prediction1d6" -version = "1.0.10+20160511" +version = "1.0.11+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/prediction1d6" homepage = "https://developers.google.com/prediction/docs/developer-guide" -documentation = "https://docs.rs/google-prediction1d6/1.0.10+20160511" +documentation = "https://docs.rs/google-prediction1d6/1.0.11+20160511" license = "MIT" keywords = ["prediction", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/prediction1d6/README.md b/gen/prediction1d6/README.md index f80228dc42..822c5c6e3d 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 *1.0.10+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *prediction* crate version *1.0.11+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160511/google_prediction1d6/struct.Prediction.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.Prediction.html) ... * hostedmodels - * [*predict*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.HostedmodelPredictCall.html) + * [*predict*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.HostedmodelPredictCall.html) * trainedmodels - * [*analyze*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelAnalyzeCall.html), [*delete*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelDeleteCall.html), [*get*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelGetCall.html), [*insert*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelInsertCall.html), [*list*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelListCall.html), [*predict*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelPredictCall.html) and [*update*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/struct.TrainedmodelUpdateCall.html) + * [*analyze*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelAnalyzeCall.html), [*delete*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelDeleteCall.html), [*get*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelGetCall.html), [*insert*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelInsertCall.html), [*list*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelListCall.html), [*predict*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelPredictCall.html) and [*update*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.TrainedmodelUpdateCall.html) @@ -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/1.0.10+20160511/google_prediction1d6/struct.Prediction.html)** +* **[Hub](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/struct.Prediction.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.Part.html)** + * **[Parts](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160511/google_prediction1d6/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.CallBuilder.html) 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/1.0.11+20160511/google_prediction1d6/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160511/google_prediction1d6/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.RequestValue.html) and -[decodable](https://docs.rs/google-prediction1d6/1.0.10+20160511/google_prediction1d6/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.RequestValue.html) and +[decodable](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.ResponseResult.html) 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/1.0.10+20160511/google_prediction1d6/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160511/google_prediction1d6/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160511/google_prediction1d6/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-prediction1d6/1.0.11+20160511/google_prediction1d6/trait.RequestValue.html) are 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/cmn.rs b/gen/prediction1d6/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/prediction1d6/src/cmn.rs +++ b/gen/prediction1d6/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/prediction1d6/src/lib.rs b/gen/prediction1d6/src/lib.rs index 9b37210061..018195e2d1 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 *1.0.10+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *prediction* crate version *1.0.11+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *prediction* *v1d6* API can be found at the //! [official documentation site](https://developers.google.com/prediction/docs/developer-guide). @@ -349,7 +349,7 @@ impl<'a, C, A> Prediction Prediction { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/prediction/v1.6/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -363,7 +363,7 @@ impl<'a, C, A> Prediction } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/proximitybeacon1_beta1-cli/Cargo.toml b/gen/proximitybeacon1_beta1-cli/Cargo.toml index 32e56b07e4..884a49f856 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 = "1.0.10+20190323" +version = "1.0.11+20190323" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/proximitybeacon1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-proximitybeacon1_beta1] path = "../proximitybeacon1_beta1" -version = "1.0.10+20190323" +version = "1.0.11+20190323" diff --git a/gen/proximitybeacon1_beta1-cli/README.md b/gen/proximitybeacon1_beta1-cli/README.md index 8f9d9a9322..73a3fbeabd 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 *20190323*. The CLI is at version *1.0.10*. +This documentation was generated from the *proximitybeacon* API at revision *20190323*. The CLI is at version *1.0.11*. ```bash proximitybeacon1-beta1 [options] diff --git a/gen/proximitybeacon1_beta1-cli/mkdocs.yml b/gen/proximitybeacon1_beta1-cli/mkdocs.yml index 8c7e730f29..6ae595d9ba 100644 --- a/gen/proximitybeacon1_beta1-cli/mkdocs.yml +++ b/gen/proximitybeacon1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: proximitybeacon v1.0.10+20190323 +site_name: proximitybeacon v1.0.11+20190323 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 d5af976627..5c0f207062 100644 --- a/gen/proximitybeacon1_beta1-cli/src/main.rs +++ b/gen/proximitybeacon1_beta1-cli/src/main.rs @@ -1961,7 +1961,7 @@ fn main() { let mut app = App::new("proximitybeacon1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190323") + .version("1.0.11+20190323") .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 ad2b4cb0be..c2a6e69dbe 100644 --- a/gen/proximitybeacon1_beta1/Cargo.toml +++ b/gen/proximitybeacon1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-proximitybeacon1_beta1" -version = "1.0.10+20190323" +version = "1.0.11+20190323" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/proximitybeacon1_beta1" homepage = "https://developers.google.com/beacons/proximity/" -documentation = "https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323" +documentation = "https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323" license = "MIT" keywords = ["proximitybeacon", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/proximitybeacon1_beta1/README.md b/gen/proximitybeacon1_beta1/README.md index f78f2bf8aa..a17eced06e 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 *1.0.10+20190323*, where *20190323* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *proximitybeacon* crate version *1.0.11+20190323*, where *20190323* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190323/google_proximitybeacon1_beta1/struct.Proximitybeacon.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.Proximitybeacon.html) ... * beaconinfo - * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconinfoGetforobservedCall.html) -* [beacons](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.Beacon.html) - * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconActivateCall.html), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentBatchDeleteCall.html), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentCreateCall.html), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentDeleteCall.html), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentListCall.html), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconDeactivateCall.html), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconDecommissionCall.html), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconDeleteCall.html), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconDiagnosticListCall.html), [*get*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconGetCall.html), [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconListCall.html), [*register*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconRegisterCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.BeaconUpdateCall.html) -* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.Namespace.html) - * [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.NamespaceListCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.NamespaceUpdateCall.html) + * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconinfoGetforobservedCall.html) +* [beacons](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.Beacon.html) + * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconActivateCall.html), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentBatchDeleteCall.html), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentCreateCall.html), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentDeleteCall.html), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconAttachmentListCall.html), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconDeactivateCall.html), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconDecommissionCall.html), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconDeleteCall.html), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconDiagnosticListCall.html), [*get*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconGetCall.html), [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconListCall.html), [*register*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconRegisterCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.BeaconUpdateCall.html) +* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.Namespace.html) + * [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.NamespaceListCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.NamespaceUpdateCall.html) Other activities are ... -* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.MethodGetEidparamCall.html) +* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.MethodGetEidparamCall.html) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/struct.Proximitybeacon.html)** +* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/struct.Proximitybeacon.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/enum.Result.html) 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/1.0.10+20190323/google_proximitybeacon1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190323/google_proximitybeacon1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html) 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/1.0.11+20190323/google_proximitybeacon1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190323/google_proximitybeacon1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-proximitybeacon1_beta1/1.0.10+20190323/google_proximitybeacon1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.ResponseResult.html) 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/1.0.10+20190323/google_proximitybeacon1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190323/google_proximitybeacon1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-proximitybeacon1_beta1/1.0.11+20190323/google_proximitybeacon1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/proximitybeacon1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/proximitybeacon1_beta1/src/cmn.rs +++ b/gen/proximitybeacon1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs index 6352d3b101..2ca44cd81b 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 *1.0.10+20190323*, where *20190323* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *proximitybeacon* crate version *1.0.11+20190323*, where *20190323* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *proximitybeacon* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/beacons/proximity/). @@ -344,7 +344,7 @@ impl<'a, C, A> Proximitybeacon Proximitybeacon { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://proximitybeacon.googleapis.com/".to_string(), _root_url: "https://proximitybeacon.googleapis.com/".to_string(), } @@ -364,7 +364,7 @@ impl<'a, C, A> Proximitybeacon } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsub1-cli/Cargo.toml b/gen/pubsub1-cli/Cargo.toml index 26f4f518a3..f8a85de9cc 100644 --- a/gen/pubsub1-cli/Cargo.toml +++ b/gen/pubsub1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1-cli" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-pubsub1] path = "../pubsub1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/pubsub1-cli/README.md b/gen/pubsub1-cli/README.md index 8635b2f1b2..dd65795885 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *Pubsub* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash pubsub1 [options] diff --git a/gen/pubsub1-cli/mkdocs.yml b/gen/pubsub1-cli/mkdocs.yml index b280fbcb2b..55a3fff81a 100644 --- a/gen/pubsub1-cli/mkdocs.yml +++ b/gen/pubsub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v1.0.10+20190625 +site_name: Pubsub v1.0.11+20190625 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 134f48e277..cabf849a52 100644 --- a/gen/pubsub1-cli/src/main.rs +++ b/gen/pubsub1-cli/src/main.rs @@ -3565,7 +3565,7 @@ fn main() { let mut app = App::new("pubsub1") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .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") diff --git a/gen/pubsub1/Cargo.toml b/gen/pubsub1/Cargo.toml index 29fb4a3674..e99aa61cd5 100644 --- a/gen/pubsub1/Cargo.toml +++ b/gen/pubsub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1/1.0.10+20190625" +documentation = "https://docs.rs/google-pubsub1/1.0.11+20190625" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/pubsub1/README.md b/gen/pubsub1/README.md index 160e801756..45334a200a 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Pubsub* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190625/google_pubsub1/struct.Pubsub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.Pubsub.html) ... * projects - * [*snapshots create*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotCreateCall.html), [*snapshots delete*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotDeleteCall.html), [*snapshots get*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotGetCall.html), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotGetIamPolicyCall.html), [*snapshots list*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotListCall.html), [*snapshots patch*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotPatchCall.html), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotSetIamPolicyCall.html), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSnapshotTestIamPermissionCall.html), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions patch*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionPatchCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionPullCall.html), [*subscriptions seek*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionSeekCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicListCall.html), [*topics patch*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicPatchCall.html), [*topics publish*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicSetIamPolicyCall.html), [*topics snapshots list*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicSnapshotListCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/struct.ProjectTopicTestIamPermissionCall.html) + * [*snapshots create*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotCreateCall.html), [*snapshots delete*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotDeleteCall.html), [*snapshots get*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotGetCall.html), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotGetIamPolicyCall.html), [*snapshots list*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotListCall.html), [*snapshots patch*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotPatchCall.html), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotSetIamPolicyCall.html), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSnapshotTestIamPermissionCall.html), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions patch*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionPatchCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionPullCall.html), [*subscriptions seek*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionSeekCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicListCall.html), [*topics patch*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicPatchCall.html), [*topics publish*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicSetIamPolicyCall.html), [*topics snapshots list*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicSnapshotListCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.ProjectTopicTestIamPermissionCall.html) @@ -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/1.0.10+20190625/google_pubsub1/struct.Pubsub.html)** +* **[Hub](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/struct.Pubsub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.Part.html)** + * **[Parts](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_pubsub1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-pubsub1/1.0.10+20190625/google_pubsub1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.CallBuilder.html) 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/1.0.11+20190625/google_pubsub1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_pubsub1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pubsub1/1.0.10+20190625/google_pubsub1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.ResponseResult.html) 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/1.0.10+20190625/google_pubsub1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_pubsub1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_pubsub1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pubsub1/1.0.11+20190625/google_pubsub1/trait.RequestValue.html) are 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/cmn.rs b/gen/pubsub1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/pubsub1/src/cmn.rs +++ b/gen/pubsub1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/pubsub1/src/lib.rs b/gen/pubsub1/src/lib.rs index e1817bf1c0..3f4e14c226 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Pubsub* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Pubsub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). @@ -338,7 +338,7 @@ impl<'a, C, A> Pubsub Pubsub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://pubsub.googleapis.com/".to_string(), _root_url: "https://pubsub.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> Pubsub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsub1_beta2-cli/Cargo.toml b/gen/pubsub1_beta2-cli/Cargo.toml index bd5c820d16..efcc672a92 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 = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-pubsub1_beta2] path = "../pubsub1_beta2" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/pubsub1_beta2-cli/README.md b/gen/pubsub1_beta2-cli/README.md index 07bed8954c..9107307165 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 *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *Pubsub* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash pubsub1-beta2 [options] diff --git a/gen/pubsub1_beta2-cli/mkdocs.yml b/gen/pubsub1_beta2-cli/mkdocs.yml index f915288677..0e6ec2b0a0 100644 --- a/gen/pubsub1_beta2-cli/mkdocs.yml +++ b/gen/pubsub1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v1.0.10+20190625 +site_name: Pubsub v1.0.11+20190625 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 66290f9ae5..b16e798200 100644 --- a/gen/pubsub1_beta2-cli/src/main.rs +++ b/gen/pubsub1_beta2-cli/src/main.rs @@ -2222,7 +2222,7 @@ fn main() { let mut app = App::new("pubsub1-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .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") diff --git a/gen/pubsub1_beta2/Cargo.toml b/gen/pubsub1_beta2/Cargo.toml index 3cfb53b777..5a7f6a1c21 100644 --- a/gen/pubsub1_beta2/Cargo.toml +++ b/gen/pubsub1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1_beta2" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1_beta2" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1_beta2/1.0.10+20190625" +documentation = "https://docs.rs/google-pubsub1_beta2/1.0.11+20190625" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/pubsub1_beta2/README.md b/gen/pubsub1_beta2/README.md index 9bb1ee3ed2..d46c296852 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Pubsub* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190625/google_pubsub1_beta2/struct.Pubsub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.Pubsub.html) ... * projects - * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionPullCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicListCall.html), [*topics publish*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicSetIamPolicyCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/struct.ProjectTopicTestIamPermissionCall.html) + * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionPullCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicListCall.html), [*topics publish*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicSetIamPolicyCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.ProjectTopicTestIamPermissionCall.html) @@ -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/1.0.10+20190625/google_pubsub1_beta2/struct.Pubsub.html)** +* **[Hub](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/struct.Pubsub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/enum.Result.html) 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/1.0.10+20190625/google_pubsub1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190625/google_pubsub1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.CallBuilder.html) 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/1.0.11+20190625/google_pubsub1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190625/google_pubsub1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pubsub1_beta2/1.0.10+20190625/google_pubsub1_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.ResponseResult.html) 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/1.0.10+20190625/google_pubsub1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190625/google_pubsub1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190625/google_pubsub1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pubsub1_beta2/1.0.11+20190625/google_pubsub1_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/pubsub1_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/pubsub1_beta2/src/cmn.rs +++ b/gen/pubsub1_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/pubsub1_beta2/src/lib.rs b/gen/pubsub1_beta2/src/lib.rs index 433987d911..560803d9c9 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 *1.0.10+20190625*, where *20190625* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Pubsub* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Pubsub* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). @@ -337,7 +337,7 @@ impl<'a, C, A> Pubsub Pubsub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://pubsub.googleapis.com/".to_string(), _root_url: "https://pubsub.googleapis.com/".to_string(), } @@ -348,7 +348,7 @@ impl<'a, C, A> Pubsub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/qpxexpress1-cli/Cargo.toml b/gen/qpxexpress1-cli/Cargo.toml index 2cb744daba..0b735552e6 100644 --- a/gen/qpxexpress1-cli/Cargo.toml +++ b/gen/qpxexpress1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-qpxexpress1-cli" -version = "1.0.10+20160708" +version = "1.0.11+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/qpxexpress1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-qpxexpress1] path = "../qpxexpress1" -version = "1.0.10+20160708" +version = "1.0.11+20160708" diff --git a/gen/qpxexpress1-cli/README.md b/gen/qpxexpress1-cli/README.md index 93e5c5fc80..431cd9f519 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 *1.0.10*. +This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *1.0.11*. ```bash qpxexpress1 [options] diff --git a/gen/qpxexpress1-cli/mkdocs.yml b/gen/qpxexpress1-cli/mkdocs.yml index a06a9fb557..d08cb4e84e 100644 --- a/gen/qpxexpress1-cli/mkdocs.yml +++ b/gen/qpxexpress1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: QPX Express v1.0.10+20160708 +site_name: QPX Express v1.0.11+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 066a30bf56..3e18508d2e 100644 --- a/gen/qpxexpress1-cli/src/main.rs +++ b/gen/qpxexpress1-cli/src/main.rs @@ -265,7 +265,7 @@ fn main() { let mut app = App::new("qpxexpress1") .author("Sebastian Thiel ") - .version("1.0.10+20160708") + .version("1.0.11+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 135378e3ee..6cb09491a5 100644 --- a/gen/qpxexpress1/Cargo.toml +++ b/gen/qpxexpress1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-qpxexpress1" -version = "1.0.10+20160708" +version = "1.0.11+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/qpxexpress1" homepage = "http://developers.google.com/qpx-express" -documentation = "https://docs.rs/google-qpxexpress1/1.0.10+20160708" +documentation = "https://docs.rs/google-qpxexpress1/1.0.11+20160708" license = "MIT" keywords = ["qpxExpress", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/qpxexpress1/README.md b/gen/qpxexpress1/README.md index 279018b9aa..4ea0f25164 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 *1.0.10+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *QPX Express* crate version *1.0.11+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160708/google_qpxexpress1/struct.QPXExpress.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/struct.QPXExpress.html) ... * trips - * [*search*](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/struct.TripSearchCall.html) + * [*search*](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/struct.TripSearchCall.html) @@ -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/1.0.10+20160708/google_qpxexpress1/struct.QPXExpress.html)** +* **[Hub](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/struct.QPXExpress.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.Part.html)** + * **[Parts](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160708/google_qpxexpress1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.CallBuilder.html) 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/1.0.11+20160708/google_qpxexpress1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160708/google_qpxexpress1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-qpxexpress1/1.0.10+20160708/google_qpxexpress1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.ResponseResult.html) 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/1.0.10+20160708/google_qpxexpress1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160708/google_qpxexpress1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160708/google_qpxexpress1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-qpxexpress1/1.0.11+20160708/google_qpxexpress1/trait.RequestValue.html) are 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/cmn.rs b/gen/qpxexpress1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/qpxexpress1/src/cmn.rs +++ b/gen/qpxexpress1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs index ff46974a72..7adaed1f32 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 *1.0.10+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *QPX Express* crate version *1.0.11+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *QPX Express* *v1* API can be found at the //! [official documentation site](http://developers.google.com/qpx-express). @@ -307,7 +307,7 @@ impl<'a, C, A> QPXExpress QPXExpress { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/qpxExpress/v1/trips/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -318,7 +318,7 @@ impl<'a, C, A> QPXExpress } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/redis1-cli/Cargo.toml b/gen/redis1-cli/Cargo.toml index 48cf466df0..31aae2ec9b 100644 --- a/gen/redis1-cli/Cargo.toml +++ b/gen/redis1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-redis1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Redis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/redis1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-redis1] path = "../redis1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/redis1-cli/README.md b/gen/redis1-cli/README.md index 7d71a6916c..5493ab5a5d 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Redis* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash redis1 [options] diff --git a/gen/redis1-cli/mkdocs.yml b/gen/redis1-cli/mkdocs.yml index 3d90dcd84d..53ecfd6104 100644 --- a/gen/redis1-cli/mkdocs.yml +++ b/gen/redis1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Redis v1.0.10+20190628 +site_name: Cloud Redis v1.0.11+20190628 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 b105f87e46..6d50f90cd6 100644 --- a/gen/redis1-cli/src/main.rs +++ b/gen/redis1-cli/src/main.rs @@ -1574,7 +1574,7 @@ fn main() { let mut app = App::new("redis1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 9cfe57a369..a14a71b573 100644 --- a/gen/redis1/Cargo.toml +++ b/gen/redis1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-redis1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Redis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/redis1" homepage = "https://cloud.google.com/memorystore/docs/redis/" -documentation = "https://docs.rs/google-redis1/1.0.10+20190628" +documentation = "https://docs.rs/google-redis1/1.0.11+20190628" license = "MIT" keywords = ["redis", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/redis1/README.md b/gen/redis1/README.md index ce8e8984e8..fc8f65f1f7 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Redis* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_redis1/struct.CloudRedis.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.CloudRedis.html) ... * projects - * [*locations get*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances export*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceExportCall.html), [*locations instances failover*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceFailoverCall.html), [*locations instances get*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceGetCall.html), [*locations instances import*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceImportCall.html), [*locations instances list*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationInstancePatchCall.html), [*locations list*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/struct.ProjectLocationOperationListCall.html) + * [*locations get*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationGetCall.html), [*locations instances create*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceCreateCall.html), [*locations instances delete*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceDeleteCall.html), [*locations instances export*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceExportCall.html), [*locations instances failover*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceFailoverCall.html), [*locations instances get*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceGetCall.html), [*locations instances import*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceImportCall.html), [*locations instances list*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstanceListCall.html), [*locations instances patch*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationInstancePatchCall.html), [*locations list*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationListCall.html), [*locations operations cancel*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.ProjectLocationOperationListCall.html) @@ -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/1.0.10+20190628/google_redis1/struct.CloudRedis.html)** +* **[Hub](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/struct.CloudRedis.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.Part.html)** + * **[Parts](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_redis1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-redis1/1.0.10+20190628/google_redis1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.CallBuilder.html) 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/1.0.11+20190628/google_redis1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_redis1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-redis1/1.0.10+20190628/google_redis1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.ResponseResult.html) 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/1.0.10+20190628/google_redis1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_redis1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_redis1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-redis1/1.0.11+20190628/google_redis1/trait.RequestValue.html) are 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/cmn.rs b/gen/redis1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/redis1/src/cmn.rs +++ b/gen/redis1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/redis1/src/lib.rs b/gen/redis1/src/lib.rs index 595ca41837..ec6120a545 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Redis* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Redis* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/docs/redis/). @@ -337,7 +337,7 @@ impl<'a, C, A> CloudRedis CloudRedis { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://redis.googleapis.com/".to_string(), _root_url: "https://redis.googleapis.com/".to_string(), } @@ -348,7 +348,7 @@ impl<'a, C, A> CloudRedis } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/remotebuildexecution2-cli/Cargo.toml b/gen/remotebuildexecution2-cli/Cargo.toml index 205fc61d59..396c0adf3b 100644 --- a/gen/remotebuildexecution2-cli/Cargo.toml +++ b/gen/remotebuildexecution2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-remotebuildexecution2-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Remote Build Execution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/remotebuildexecution2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-remotebuildexecution2] path = "../remotebuildexecution2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/remotebuildexecution2-cli/README.md b/gen/remotebuildexecution2-cli/README.md index f1b421fe66..9dbad27349 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *Remote Build Execution* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash remotebuildexecution2 [options] diff --git a/gen/remotebuildexecution2-cli/mkdocs.yml b/gen/remotebuildexecution2-cli/mkdocs.yml index 9f53bd6624..c70a704557 100644 --- a/gen/remotebuildexecution2-cli/mkdocs.yml +++ b/gen/remotebuildexecution2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Remote Build Execution v1.0.10+20190702 +site_name: Remote Build Execution v1.0.11+20190702 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 c5a0cf41e1..97e8eabad5 100644 --- a/gen/remotebuildexecution2-cli/src/main.rs +++ b/gen/remotebuildexecution2-cli/src/main.rs @@ -1398,7 +1398,7 @@ fn main() { let mut app = App::new("remotebuildexecution2") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 b8d9c948c5..6eaf5b88dd 100644 --- a/gen/remotebuildexecution2/Cargo.toml +++ b/gen/remotebuildexecution2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-remotebuildexecution2" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with Remote Build Execution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/remotebuildexecution2" homepage = "https://cloud.google.com/remote-build-execution/docs/" -documentation = "https://docs.rs/google-remotebuildexecution2/1.0.10+20190702" +documentation = "https://docs.rs/google-remotebuildexecution2/1.0.11+20190702" license = "MIT" keywords = ["remotebuildexecution", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/remotebuildexecution2/README.md b/gen/remotebuildexecution2/README.md index 825ed4573c..927f98aa06 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Remote Build Execution* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_remotebuildexecution2/struct.RemoteBuildExecution.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.RemoteBuildExecution.html) ... * action results - * [*get*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.ActionResultGetCall.html) and [*update*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.ActionResultUpdateCall.html) + * [*get*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.ActionResultGetCall.html) and [*update*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.ActionResultUpdateCall.html) * actions - * [*execute*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.ActionExecuteCall.html) + * [*execute*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.ActionExecuteCall.html) * blobs - * [*batch read*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.BlobBatchReadCall.html), [*batch update*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.BlobBatchUpdateCall.html), [*find missing*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.BlobFindMissingCall.html) and [*get tree*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.BlobGetTreeCall.html) + * [*batch read*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.BlobBatchReadCall.html), [*batch update*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.BlobBatchUpdateCall.html), [*find missing*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.BlobFindMissingCall.html) and [*get tree*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.BlobGetTreeCall.html) * operations - * [*wait execution*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.OperationWaitExecutionCall.html) + * [*wait execution*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.OperationWaitExecutionCall.html) Other activities are ... -* [get capabilities](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.MethodGetCapabilityCall.html) +* [get capabilities](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.MethodGetCapabilityCall.html) @@ -32,17 +32,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/struct.RemoteBuildExecution.html)** +* **[Hub](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/struct.RemoteBuildExecution.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.Part.html)** + * **[Parts](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_remotebuildexecution2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.CallBuilder.html) 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/1.0.11+20190702/google_remotebuildexecution2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_remotebuildexecution2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-remotebuildexecution2/1.0.10+20190702/google_remotebuildexecution2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.ResponseResult.html) 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/1.0.10+20190702/google_remotebuildexecution2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_remotebuildexecution2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_remotebuildexecution2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-remotebuildexecution2/1.0.11+20190702/google_remotebuildexecution2/trait.RequestValue.html) are 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/cmn.rs b/gen/remotebuildexecution2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/remotebuildexecution2/src/cmn.rs +++ b/gen/remotebuildexecution2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/remotebuildexecution2/src/lib.rs b/gen/remotebuildexecution2/src/lib.rs index aa82abce37..a8f8243c8c 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Remote Build Execution* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -333,7 +333,7 @@ impl<'a, C, A> RemoteBuildExecution RemoteBuildExecution { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://remotebuildexecution.googleapis.com/".to_string(), _root_url: "https://remotebuildexecution.googleapis.com/".to_string(), } @@ -356,7 +356,7 @@ impl<'a, C, A> RemoteBuildExecution } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/replicapool1_beta2-cli/Cargo.toml b/gen/replicapool1_beta2-cli/Cargo.toml index c3041b4314..9d28472e83 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 = "1.0.10+20160512" +version = "1.0.11+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapool1_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-replicapool1_beta2] path = "../replicapool1_beta2" -version = "1.0.10+20160512" +version = "1.0.11+20160512" diff --git a/gen/replicapool1_beta2-cli/README.md b/gen/replicapool1_beta2-cli/README.md index 0ca0aa6234..4618b5378b 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 *1.0.10*. +This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *1.0.11*. ```bash replicapool1-beta2 [options] diff --git a/gen/replicapool1_beta2-cli/mkdocs.yml b/gen/replicapool1_beta2-cli/mkdocs.yml index 53a518e0d5..e0c67d39b0 100644 --- a/gen/replicapool1_beta2-cli/mkdocs.yml +++ b/gen/replicapool1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapool v1.0.10+20160512 +site_name: replicapool v1.0.11+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 062dba8118..cd86cffb36 100644 --- a/gen/replicapool1_beta2-cli/src/main.rs +++ b/gen/replicapool1_beta2-cli/src/main.rs @@ -1490,7 +1490,7 @@ fn main() { let mut app = App::new("replicapool1-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20160512") + .version("1.0.11+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 3b59d1027c..059c026f44 100644 --- a/gen/replicapool1_beta2/Cargo.toml +++ b/gen/replicapool1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-replicapool1_beta2" -version = "1.0.10+20160512" +version = "1.0.11+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapool1_beta2" homepage = "https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" -documentation = "https://docs.rs/google-replicapool1_beta2/1.0.10+20160512" +documentation = "https://docs.rs/google-replicapool1_beta2/1.0.11+20160512" license = "MIT" keywords = ["replicapool", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/replicapool1_beta2/README.md b/gen/replicapool1_beta2/README.md index 3ecce3c90a..4e470661c3 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 *1.0.10+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *replicapool* crate version *1.0.11+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160512/google_replicapool1_beta2/struct.Replicapool.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.Replicapool.html) ... -* [instance group managers](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManager.html) - * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerAbandonInstanceCall.html), [*delete*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerListCall.html), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetTargetPoolCall.html) +* [instance group managers](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManager.html) + * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerAbandonInstanceCall.html), [*delete*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerListCall.html), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetTargetPoolCall.html) * zone operations - * [*get*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/struct.ZoneOperationListCall.html) + * [*get*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.ZoneOperationListCall.html) @@ -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/1.0.10+20160512/google_replicapool1_beta2/struct.Replicapool.html)** +* **[Hub](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/struct.Replicapool.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/enum.Result.html) 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/1.0.10+20160512/google_replicapool1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160512/google_replicapool1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.CallBuilder.html) 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/1.0.11+20160512/google_replicapool1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160512/google_replicapool1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-replicapool1_beta2/1.0.10+20160512/google_replicapool1_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.ResponseResult.html) 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/1.0.10+20160512/google_replicapool1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160512/google_replicapool1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160512/google_replicapool1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-replicapool1_beta2/1.0.11+20160512/google_replicapool1_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/replicapool1_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/replicapool1_beta2/src/cmn.rs +++ b/gen/replicapool1_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/replicapool1_beta2/src/lib.rs b/gen/replicapool1_beta2/src/lib.rs index db7dea15e5..9937c5014a 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 *1.0.10+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *replicapool* crate version *1.0.11+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -346,7 +346,7 @@ impl<'a, C, A> Replicapool Replicapool { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/replicapool/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -360,7 +360,7 @@ impl<'a, C, A> Replicapool } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/replicapoolupdater1_beta1-cli/Cargo.toml b/gen/replicapoolupdater1_beta1-cli/Cargo.toml index f10c5a501d..63a5746e61 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 = "1.0.10+20161003" +version = "1.0.11+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapoolupdater1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-replicapoolupdater1_beta1] path = "../replicapoolupdater1_beta1" -version = "1.0.10+20161003" +version = "1.0.11+20161003" diff --git a/gen/replicapoolupdater1_beta1-cli/README.md b/gen/replicapoolupdater1_beta1-cli/README.md index 8f36f20256..02208eeef5 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 *1.0.10*. +This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *1.0.11*. ```bash replicapoolupdater1-beta1 [options] diff --git a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml index 64eca18602..35e5c722a1 100644 --- a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml +++ b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapoolupdater v1.0.10+20161003 +site_name: replicapoolupdater v1.0.11+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 bc71f028a2..f6b20a6a82 100644 --- a/gen/replicapoolupdater1_beta1-cli/src/main.rs +++ b/gen/replicapoolupdater1_beta1-cli/src/main.rs @@ -1118,7 +1118,7 @@ fn main() { let mut app = App::new("replicapoolupdater1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20161003") + .version("1.0.11+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 0b87d584cd..4a615e75e4 100644 --- a/gen/replicapoolupdater1_beta1/Cargo.toml +++ b/gen/replicapoolupdater1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-replicapoolupdater1_beta1" -version = "1.0.10+20161003" +version = "1.0.11+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/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/1.0.10+20161003" +documentation = "https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003" license = "MIT" keywords = ["replicapoolupdater", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/replicapoolupdater1_beta1/README.md b/gen/replicapoolupdater1_beta1/README.md index 046253cb1b..0acfe1d6ad 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 *1.0.10+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *replicapoolupdater* crate version *1.0.11+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html) ... -* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdate.html) - * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateCancelCall.html), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateGetCall.html), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateInsertCall.html), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListCall.html), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListInstanceUpdateCall.html), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdatePauseCall.html), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateResumeCall.html) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateRollbackCall.html) +* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdate.html) + * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateCancelCall.html), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateGetCall.html), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateInsertCall.html), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListCall.html), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListInstanceUpdateCall.html), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdatePauseCall.html), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateResumeCall.html) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateRollbackCall.html) * zone operations - * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationListCall.html) + * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationListCall.html) @@ -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/1.0.10+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html)** +* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/enum.Result.html) 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/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20161003/google_replicapoolupdater1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html) 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/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-replicapoolupdater1_beta1/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.ResponseResult.html) 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/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-replicapoolupdater1_beta1/1.0.11+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/replicapoolupdater1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/replicapoolupdater1_beta1/src/cmn.rs +++ b/gen/replicapoolupdater1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs b/gen/replicapoolupdater1_beta1/src/lib.rs index b8d94e27e8..84c0845b6a 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 *1.0.10+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *replicapoolupdater* crate version *1.0.11+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -344,7 +344,7 @@ impl<'a, C, A> Replicapoolupdater Replicapoolupdater { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/replicapoolupdater/v1beta1/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -358,7 +358,7 @@ impl<'a, C, A> Replicapoolupdater } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/reseller1_sandbox-cli/Cargo.toml b/gen/reseller1_sandbox-cli/Cargo.toml index 5990d95412..14576e391a 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 = "1.0.10+20160329" +version = "1.0.11+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/reseller1_sandbox-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-reseller1_sandbox] path = "../reseller1_sandbox" -version = "1.0.10+20160329" +version = "1.0.11+20160329" diff --git a/gen/reseller1_sandbox-cli/README.md b/gen/reseller1_sandbox-cli/README.md index ad276fea45..2e252513b2 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 *1.0.10*. +This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *1.0.11*. ```bash reseller1-sandbox [options] diff --git a/gen/reseller1_sandbox-cli/mkdocs.yml b/gen/reseller1_sandbox-cli/mkdocs.yml index 8a80ae3ef1..35d6ecc61d 100644 --- a/gen/reseller1_sandbox-cli/mkdocs.yml +++ b/gen/reseller1_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reseller v1.0.10+20160329 +site_name: reseller v1.0.11+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 daed323030..b1d7941410 100644 --- a/gen/reseller1_sandbox-cli/src/main.rs +++ b/gen/reseller1_sandbox-cli/src/main.rs @@ -1646,7 +1646,7 @@ fn main() { let mut app = App::new("reseller1-sandbox") .author("Sebastian Thiel ") - .version("1.0.10+20160329") + .version("1.0.11+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 5012f6e9d3..20c7d4e2e3 100644 --- a/gen/reseller1_sandbox/Cargo.toml +++ b/gen/reseller1_sandbox/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-reseller1_sandbox" -version = "1.0.10+20160329" +version = "1.0.11+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/reseller1_sandbox" homepage = "https://developers.google.com/google-apps/reseller/" -documentation = "https://docs.rs/google-reseller1_sandbox/1.0.10+20160329" +documentation = "https://docs.rs/google-reseller1_sandbox/1.0.11+20160329" license = "MIT" keywords = ["reseller", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/reseller1_sandbox/README.md b/gen/reseller1_sandbox/README.md index 34c42b9d87..bc4a2b47ce 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 *1.0.10+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *reseller* crate version *1.0.11+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160329/google_reseller1_sandbox/struct.Reseller.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.Reseller.html) ... -* [customers](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.Customer.html) - * [*get*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.CustomerGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.CustomerInsertCall.html), [*patch*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.CustomerUpdateCall.html) -* [subscriptions](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.Subscription.html) - * [*activate*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionActivateCall.html), [*change plan*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionChangePlanCall.html), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionChangeRenewalSettingCall.html), [*change seats*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionChangeSeatCall.html), [*delete*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionDeleteCall.html), [*get*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionListCall.html), [*start paid service*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionStartPaidServiceCall.html) and [*suspend*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/struct.SubscriptionSuspendCall.html) +* [customers](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.Customer.html) + * [*get*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.CustomerGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.CustomerInsertCall.html), [*patch*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.CustomerUpdateCall.html) +* [subscriptions](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.Subscription.html) + * [*activate*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionActivateCall.html), [*change plan*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionChangePlanCall.html), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionChangeRenewalSettingCall.html), [*change seats*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionChangeSeatCall.html), [*delete*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionDeleteCall.html), [*get*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionListCall.html), [*start paid service*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionStartPaidServiceCall.html) and [*suspend*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.SubscriptionSuspendCall.html) @@ -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/1.0.10+20160329/google_reseller1_sandbox/struct.Reseller.html)** +* **[Hub](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/struct.Reseller.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.Part.html)** + * **[Parts](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/enum.Result.html) 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/1.0.10+20160329/google_reseller1_sandbox/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160329/google_reseller1_sandbox/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.CallBuilder.html) 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/1.0.11+20160329/google_reseller1_sandbox/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160329/google_reseller1_sandbox/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.RequestValue.html) and -[decodable](https://docs.rs/google-reseller1_sandbox/1.0.10+20160329/google_reseller1_sandbox/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.RequestValue.html) and +[decodable](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.ResponseResult.html) 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/1.0.10+20160329/google_reseller1_sandbox/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160329/google_reseller1_sandbox/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160329/google_reseller1_sandbox/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-reseller1_sandbox/1.0.11+20160329/google_reseller1_sandbox/trait.RequestValue.html) are 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/cmn.rs b/gen/reseller1_sandbox/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/reseller1_sandbox/src/cmn.rs +++ b/gen/reseller1_sandbox/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/reseller1_sandbox/src/lib.rs b/gen/reseller1_sandbox/src/lib.rs index c6d1055185..676a9176ab 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 *1.0.10+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *reseller* crate version *1.0.11+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *reseller* *v1_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/reseller/). @@ -342,7 +342,7 @@ impl<'a, C, A> Reseller Reseller { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/apps/reseller/v1sandbox/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -356,7 +356,7 @@ impl<'a, C, A> Reseller } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/resourceviews1_beta2-cli/Cargo.toml b/gen/resourceviews1_beta2-cli/Cargo.toml index f9bc3e6255..636d19fc3f 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 = "1.0.10+20160512" +version = "1.0.11+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/resourceviews1_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-resourceviews1_beta2] path = "../resourceviews1_beta2" -version = "1.0.10+20160512" +version = "1.0.11+20160512" diff --git a/gen/resourceviews1_beta2-cli/README.md b/gen/resourceviews1_beta2-cli/README.md index 18b76141a1..8c52219a44 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 *1.0.10*. +This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *1.0.11*. ```bash resourceviews1-beta2 [options] diff --git a/gen/resourceviews1_beta2-cli/mkdocs.yml b/gen/resourceviews1_beta2-cli/mkdocs.yml index 0c709490a6..d170ee63a8 100644 --- a/gen/resourceviews1_beta2-cli/mkdocs.yml +++ b/gen/resourceviews1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: resourceviews v1.0.10+20160512 +site_name: resourceviews v1.0.11+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 32ade66af3..1353590371 100644 --- a/gen/resourceviews1_beta2-cli/src/main.rs +++ b/gen/resourceviews1_beta2-cli/src/main.rs @@ -1323,7 +1323,7 @@ fn main() { let mut app = App::new("resourceviews1-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20160512") + .version("1.0.11+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 4a12c36404..0a453ff667 100644 --- a/gen/resourceviews1_beta2/Cargo.toml +++ b/gen/resourceviews1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-resourceviews1_beta2" -version = "1.0.10+20160512" +version = "1.0.11+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/resourceviews1_beta2" homepage = "https://developers.google.com/compute/" -documentation = "https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512" +documentation = "https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512" license = "MIT" keywords = ["resourceviews", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/resourceviews1_beta2/README.md b/gen/resourceviews1_beta2/README.md index 43aec62dc7..6606ebe9a9 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 *1.0.10+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *resourceviews* crate version *1.0.11+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160512/google_resourceviews1_beta2/struct.Resourceviews.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.Resourceviews.html) ... * zone operations - * [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneOperationListCall.html) + * [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneOperationListCall.html) * zone views - * [*add resources*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewAddResourceCall.html), [*delete*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewDeleteCall.html), [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewGetCall.html), [*get service*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewGetServiceCall.html), [*insert*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewInsertCall.html), [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewListCall.html), [*list resources*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewListResourceCall.html), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewRemoveResourceCall.html) and [*set service*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/struct.ZoneViewSetServiceCall.html) + * [*add resources*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewAddResourceCall.html), [*delete*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewDeleteCall.html), [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewGetCall.html), [*get service*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewGetServiceCall.html), [*insert*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewInsertCall.html), [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewListCall.html), [*list resources*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewListResourceCall.html), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewRemoveResourceCall.html) and [*set service*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.ZoneViewSetServiceCall.html) @@ -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/1.0.10+20160512/google_resourceviews1_beta2/struct.Resourceviews.html)** +* **[Hub](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/struct.Resourceviews.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/enum.Result.html) 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/1.0.10+20160512/google_resourceviews1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160512/google_resourceviews1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.CallBuilder.html) 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/1.0.11+20160512/google_resourceviews1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160512/google_resourceviews1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-resourceviews1_beta2/1.0.10+20160512/google_resourceviews1_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.ResponseResult.html) 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/1.0.10+20160512/google_resourceviews1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160512/google_resourceviews1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160512/google_resourceviews1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-resourceviews1_beta2/1.0.11+20160512/google_resourceviews1_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/resourceviews1_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/resourceviews1_beta2/src/cmn.rs +++ b/gen/resourceviews1_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/resourceviews1_beta2/src/lib.rs b/gen/resourceviews1_beta2/src/lib.rs index e8929a62f7..4b86fce813 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 *1.0.10+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *resourceviews* crate version *1.0.11+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *resourceviews* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/). @@ -356,7 +356,7 @@ impl<'a, C, A> Resourceviews Resourceviews { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/resourceviews/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -370,7 +370,7 @@ impl<'a, C, A> Resourceviews } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/run1-cli/Cargo.toml b/gen/run1-cli/Cargo.toml index 8af566a23b..5fa9faacb9 100644 --- a/gen/run1-cli/Cargo.toml +++ b/gen/run1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-run1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/run1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-run1] path = "../run1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/run1-cli/README.md b/gen/run1-cli/README.md index 59bb8d3bf9..b7b11d0f71 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Run* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash run1 [options] diff --git a/gen/run1-cli/mkdocs.yml b/gen/run1-cli/mkdocs.yml index d422f4d599..29bda069cd 100644 --- a/gen/run1-cli/mkdocs.yml +++ b/gen/run1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Run v1.0.10+20190624 +site_name: Cloud Run v1.0.11+20190624 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 c6c3cffbdd..dcf8f1cea1 100644 --- a/gen/run1-cli/src/main.rs +++ b/gen/run1-cli/src/main.rs @@ -228,7 +228,7 @@ fn main() { let mut app = App::new("run1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .about("Deploy and manage user provided container images that scale automatically based on HTTP traffic.") .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 cf60a4bb4e..2fa3dfe8ed 100644 --- a/gen/run1/Cargo.toml +++ b/gen/run1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-run1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/run1" homepage = "https://cloud.google.com/run/" -documentation = "https://docs.rs/google-run1/1.0.10+20190624" +documentation = "https://docs.rs/google-run1/1.0.11+20190624" license = "MIT" keywords = ["run", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/run1/README.md b/gen/run1/README.md index e185bc8402..5101a4cff3 100644 --- a/gen/run1/README.md +++ b/gen/run1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Run* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_run1/struct.CloudRun.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run1/1.0.11+20190624/google_run1/struct.CloudRun.html) ... * projects - * [*locations get*](https://docs.rs/google-run1/1.0.10+20190624/google_run1/struct.ProjectLocationGetCall.html) + * [*locations get*](https://docs.rs/google-run1/1.0.11+20190624/google_run1/struct.ProjectLocationGetCall.html) @@ -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-run1/1.0.10+20190624/google_run1/struct.CloudRun.html)** +* **[Hub](https://docs.rs/google-run1/1.0.11+20190624/google_run1/struct.CloudRun.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.Part.html)** + * **[Parts](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/1.0.10+20190624/google_run1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/1.0.11+20190624/google_run1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_run1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-run1/1.0.11+20190624/google_run1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-run1/1.0.10+20190624/google_run1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.CallBuilder.html) 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/1.0.11+20190624/google_run1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_run1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-run1/1.0.10+20190624/google_run1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.ResponseResult.html) 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/1.0.10+20190624/google_run1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_run1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_run1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-run1/1.0.11+20190624/google_run1/trait.RequestValue.html) are 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/cmn.rs b/gen/run1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/run1/src/cmn.rs +++ b/gen/run1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/run1/src/lib.rs b/gen/run1/src/lib.rs index 1fb0433f5f..5c830b50d7 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Run* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Run* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/run/). @@ -317,7 +317,7 @@ impl<'a, C, A> CloudRun CloudRun { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://run.googleapis.com/".to_string(), _root_url: "https://run.googleapis.com/".to_string(), } @@ -328,7 +328,7 @@ impl<'a, C, A> CloudRun } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/runtimeconfig1-cli/Cargo.toml b/gen/runtimeconfig1-cli/Cargo.toml index 581d565566..fee62cfa8d 100644 --- a/gen/runtimeconfig1-cli/Cargo.toml +++ b/gen/runtimeconfig1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-runtimeconfig1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/runtimeconfig1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-runtimeconfig1] path = "../runtimeconfig1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/runtimeconfig1-cli/README.md b/gen/runtimeconfig1-cli/README.md index 5d781bbea5..a28ae8eb8a 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash runtimeconfig1 [options] diff --git a/gen/runtimeconfig1-cli/mkdocs.yml b/gen/runtimeconfig1-cli/mkdocs.yml index 35e9dc8641..b3f315f520 100644 --- a/gen/runtimeconfig1-cli/mkdocs.yml +++ b/gen/runtimeconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v1.0.10+20190624 +site_name: Cloud RuntimeConfig v1.0.11+20190624 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 d68e66065a..5b1706087a 100644 --- a/gen/runtimeconfig1-cli/src/main.rs +++ b/gen/runtimeconfig1-cli/src/main.rs @@ -451,7 +451,7 @@ fn main() { let mut app = App::new("runtimeconfig1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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 28ab375283..3b48a1a8e8 100644 --- a/gen/runtimeconfig1/Cargo.toml +++ b/gen/runtimeconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/runtimeconfig1" homepage = "https://cloud.google.com/deployment-manager/runtime-configurator/" -documentation = "https://docs.rs/google-runtimeconfig1/1.0.10+20190624" +documentation = "https://docs.rs/google-runtimeconfig1/1.0.11+20190624" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/runtimeconfig1/README.md b/gen/runtimeconfig1/README.md index b32ee20001..d09087566e 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud RuntimeConfig* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_runtimeconfig1/struct.CloudRuntimeConfig.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/struct.CloudRuntimeConfig.html) ... -* [operations](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/struct.OperationDeleteCall.html) and [*list*](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/struct.OperationDeleteCall.html) and [*list*](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/struct.OperationListCall.html) @@ -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/1.0.10+20190624/google_runtimeconfig1/struct.CloudRuntimeConfig.html)** +* **[Hub](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/struct.CloudRuntimeConfig.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.Part.html)** + * **[Parts](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_runtimeconfig1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.CallBuilder.html) 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/1.0.11+20190624/google_runtimeconfig1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_runtimeconfig1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-runtimeconfig1/1.0.10+20190624/google_runtimeconfig1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.ResponseResult.html) 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/1.0.10+20190624/google_runtimeconfig1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_runtimeconfig1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_runtimeconfig1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-runtimeconfig1/1.0.11+20190624/google_runtimeconfig1/trait.RequestValue.html) are 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/cmn.rs b/gen/runtimeconfig1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/runtimeconfig1/src/cmn.rs +++ b/gen/runtimeconfig1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/runtimeconfig1/src/lib.rs b/gen/runtimeconfig1/src/lib.rs index 4916a977c9..96c723b3c1 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud RuntimeConfig* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud RuntimeConfig* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). @@ -329,7 +329,7 @@ impl<'a, C, A> CloudRuntimeConfig CloudRuntimeConfig { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://runtimeconfig.googleapis.com/".to_string(), _root_url: "https://runtimeconfig.googleapis.com/".to_string(), } @@ -340,7 +340,7 @@ impl<'a, C, A> CloudRuntimeConfig } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/runtimeconfig1_beta1-cli/Cargo.toml b/gen/runtimeconfig1_beta1-cli/Cargo.toml index 43bbd000e8..a1602efd59 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 = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/runtimeconfig1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-runtimeconfig1_beta1] path = "../runtimeconfig1_beta1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/runtimeconfig1_beta1-cli/README.md b/gen/runtimeconfig1_beta1-cli/README.md index 49212c716b..c56e380f56 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash runtimeconfig1-beta1 [options] diff --git a/gen/runtimeconfig1_beta1-cli/mkdocs.yml b/gen/runtimeconfig1_beta1-cli/mkdocs.yml index 102259df59..afd1d5e585 100644 --- a/gen/runtimeconfig1_beta1-cli/mkdocs.yml +++ b/gen/runtimeconfig1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v1.0.10+20190624 +site_name: Cloud RuntimeConfig v1.0.11+20190624 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 2b6c402684..cc43340d05 100644 --- a/gen/runtimeconfig1_beta1-cli/src/main.rs +++ b/gen/runtimeconfig1_beta1-cli/src/main.rs @@ -2441,7 +2441,7 @@ fn main() { let mut app = App::new("runtimeconfig1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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 679b0d29fe..dbf66b1329 100644 --- a/gen/runtimeconfig1_beta1/Cargo.toml +++ b/gen/runtimeconfig1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1_beta1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/runtimeconfig1_beta1" homepage = "https://cloud.google.com/deployment-manager/runtime-configurator/" -documentation = "https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624" +documentation = "https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/runtimeconfig1_beta1/README.md b/gen/runtimeconfig1_beta1/README.md index e0b4cd1b5b..64110d18a5 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud RuntimeConfig* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_runtimeconfig1_beta1/struct.CloudRuntimeConfig.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.CloudRuntimeConfig.html) ... * projects - * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigCreateCall.html), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigDeleteCall.html), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigGetCall.html), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigGetIamPolicyCall.html), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigListCall.html), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigOperationGetCall.html), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigOperationTestIamPermissionCall.html), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigSetIamPolicyCall.html), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigTestIamPermissionCall.html), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigUpdateCall.html), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableCreateCall.html), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableDeleteCall.html), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableGetCall.html), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableListCall.html), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableTestIamPermissionCall.html), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableUpdateCall.html), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableWatchCall.html), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterCreateCall.html), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterDeleteCall.html), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterGetCall.html), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterListCall.html) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterTestIamPermissionCall.html) + * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigCreateCall.html), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigDeleteCall.html), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigGetCall.html), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigGetIamPolicyCall.html), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigListCall.html), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigOperationGetCall.html), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigOperationTestIamPermissionCall.html), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigSetIamPolicyCall.html), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigTestIamPermissionCall.html), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigUpdateCall.html), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableCreateCall.html), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableDeleteCall.html), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableGetCall.html), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableListCall.html), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableTestIamPermissionCall.html), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableUpdateCall.html), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigVariableWatchCall.html), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterCreateCall.html), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterDeleteCall.html), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterGetCall.html), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterListCall.html) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.ProjectConfigWaiterTestIamPermissionCall.html) @@ -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/1.0.10+20190624/google_runtimeconfig1_beta1/struct.CloudRuntimeConfig.html)** +* **[Hub](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/struct.CloudRuntimeConfig.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/enum.Result.html) 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/1.0.10+20190624/google_runtimeconfig1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_runtimeconfig1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html) 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/1.0.11+20190624/google_runtimeconfig1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_runtimeconfig1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-runtimeconfig1_beta1/1.0.10+20190624/google_runtimeconfig1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.ResponseResult.html) 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/1.0.10+20190624/google_runtimeconfig1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_runtimeconfig1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-runtimeconfig1_beta1/1.0.11+20190624/google_runtimeconfig1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/runtimeconfig1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/runtimeconfig1_beta1/src/cmn.rs +++ b/gen/runtimeconfig1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/runtimeconfig1_beta1/src/lib.rs b/gen/runtimeconfig1_beta1/src/lib.rs index 016d6406cf..ec26ef2591 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud RuntimeConfig* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -338,7 +338,7 @@ impl<'a, C, A> CloudRuntimeConfig CloudRuntimeConfig { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://runtimeconfig.googleapis.com/".to_string(), _root_url: "https://runtimeconfig.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> CloudRuntimeConfig } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/safebrowsing4-cli/Cargo.toml b/gen/safebrowsing4-cli/Cargo.toml index 10f87bb41d..5a3b8a3804 100644 --- a/gen/safebrowsing4-cli/Cargo.toml +++ b/gen/safebrowsing4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-safebrowsing4-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/safebrowsing4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-safebrowsing4] path = "../safebrowsing4" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/safebrowsing4-cli/README.md b/gen/safebrowsing4-cli/README.md index 4d155cd31b..019c416ac8 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *safebrowsing* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash safebrowsing4 [options] diff --git a/gen/safebrowsing4-cli/mkdocs.yml b/gen/safebrowsing4-cli/mkdocs.yml index 8ffec05a35..ff0d26d17d 100644 --- a/gen/safebrowsing4-cli/mkdocs.yml +++ b/gen/safebrowsing4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: safebrowsing v1.0.10+20190702 +site_name: safebrowsing v1.0.11+20190702 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 e1f0974520..4008076900 100644 --- a/gen/safebrowsing4-cli/src/main.rs +++ b/gen/safebrowsing4-cli/src/main.rs @@ -897,7 +897,7 @@ fn main() { let mut app = App::new("safebrowsing4") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .about("Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.") .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 21a2a27461..c35ac186f7 100644 --- a/gen/safebrowsing4/Cargo.toml +++ b/gen/safebrowsing4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-safebrowsing4" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/safebrowsing4" homepage = "https://developers.google.com/safe-browsing/" -documentation = "https://docs.rs/google-safebrowsing4/1.0.10+20190702" +documentation = "https://docs.rs/google-safebrowsing4/1.0.11+20190702" license = "MIT" keywords = ["safebrowsing", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/safebrowsing4/README.md b/gen/safebrowsing4/README.md index d8da6ab08d..2ca916b48a 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *safebrowsing* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_safebrowsing4/struct.Safebrowsing.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.Safebrowsing.html) ... * encoded full hashes - * [*get*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.EncodedFullHasheGetCall.html) + * [*get*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.EncodedFullHasheGetCall.html) * encoded updates - * [*get*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.EncodedUpdateGetCall.html) + * [*get*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.EncodedUpdateGetCall.html) * full hashes - * [*find*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.FullHasheFindCall.html) -* [threat hits](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.ThreatHit.html) - * [*create*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.ThreatHitCreateCall.html) + * [*find*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.FullHasheFindCall.html) +* [threat hits](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.ThreatHit.html) + * [*create*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.ThreatHitCreateCall.html) * threat list updates - * [*fetch*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.ThreatListUpdateFetchCall.html) + * [*fetch*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.ThreatListUpdateFetchCall.html) * threat lists - * [*list*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.ThreatListListCall.html) + * [*list*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.ThreatListListCall.html) * threat matches - * [*find*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/struct.ThreatMatcheFindCall.html) + * [*find*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.ThreatMatcheFindCall.html) @@ -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/1.0.10+20190702/google_safebrowsing4/struct.Safebrowsing.html)** +* **[Hub](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/struct.Safebrowsing.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.Part.html)** + * **[Parts](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_safebrowsing4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.CallBuilder.html) 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/1.0.11+20190702/google_safebrowsing4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_safebrowsing4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-safebrowsing4/1.0.10+20190702/google_safebrowsing4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.ResponseResult.html) 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/1.0.10+20190702/google_safebrowsing4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_safebrowsing4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_safebrowsing4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-safebrowsing4/1.0.11+20190702/google_safebrowsing4/trait.RequestValue.html) are 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/cmn.rs b/gen/safebrowsing4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/safebrowsing4/src/cmn.rs +++ b/gen/safebrowsing4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/safebrowsing4/src/lib.rs b/gen/safebrowsing4/src/lib.rs index 5e95976701..3bde3bd1fa 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *safebrowsing* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *safebrowsing* *v4* API can be found at the //! [official documentation site](https://developers.google.com/safe-browsing/). @@ -312,7 +312,7 @@ impl<'a, C, A> Safebrowsing Safebrowsing { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://safebrowsing.googleapis.com/".to_string(), _root_url: "https://safebrowsing.googleapis.com/".to_string(), } @@ -341,7 +341,7 @@ impl<'a, C, A> Safebrowsing } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/searchconsole1-cli/Cargo.toml b/gen/searchconsole1-cli/Cargo.toml index 72ee3b59ad..ea24950996 100644 --- a/gen/searchconsole1-cli/Cargo.toml +++ b/gen/searchconsole1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-searchconsole1-cli" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Search Console (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/searchconsole1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-searchconsole1] path = "../searchconsole1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" diff --git a/gen/searchconsole1-cli/README.md b/gen/searchconsole1-cli/README.md index 3c6e409b11..2935f8b447 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 *20190629*. The CLI is at version *1.0.10*. +This documentation was generated from the *Search Console* API at revision *20190629*. The CLI is at version *1.0.11*. ```bash searchconsole1 [options] diff --git a/gen/searchconsole1-cli/mkdocs.yml b/gen/searchconsole1-cli/mkdocs.yml index 1c3ee94bd6..9743e6d946 100644 --- a/gen/searchconsole1-cli/mkdocs.yml +++ b/gen/searchconsole1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Search Console v1.0.10+20190629 +site_name: Search Console v1.0.11+20190629 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 2193ba2ea2..6dc8d2cd08 100644 --- a/gen/searchconsole1-cli/src/main.rs +++ b/gen/searchconsole1-cli/src/main.rs @@ -259,7 +259,7 @@ fn main() { let mut app = App::new("searchconsole1") .author("Sebastian Thiel ") - .version("1.0.10+20190629") + .version("1.0.11+20190629") .about("Provides tools for running validation tests against single URLs") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_searchconsole1_cli") .arg(Arg::with_name("folder") diff --git a/gen/searchconsole1/Cargo.toml b/gen/searchconsole1/Cargo.toml index ef8e1d60da..dacb342ea6 100644 --- a/gen/searchconsole1/Cargo.toml +++ b/gen/searchconsole1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-searchconsole1" -version = "1.0.10+20190629" +version = "1.0.11+20190629" authors = ["Sebastian Thiel "] description = "A complete library to interact with Search Console (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/searchconsole1" homepage = "https://developers.google.com/webmaster-tools/search-console-api/" -documentation = "https://docs.rs/google-searchconsole1/1.0.10+20190629" +documentation = "https://docs.rs/google-searchconsole1/1.0.11+20190629" license = "MIT" keywords = ["searchconsole", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/searchconsole1/README.md b/gen/searchconsole1/README.md index 0cab68d19b..60e2dbb011 100644 --- a/gen/searchconsole1/README.md +++ b/gen/searchconsole1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Search Console* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190629/google_searchconsole1/struct.SearchConsole.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/struct.SearchConsole.html) ... * url testing tools - * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/struct.UrlTestingToolMobileFriendlyTestRunCall.html) + * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/struct.UrlTestingToolMobileFriendlyTestRunCall.html) @@ -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-searchconsole1/1.0.10+20190629/google_searchconsole1/struct.SearchConsole.html)** +* **[Hub](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/struct.SearchConsole.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.Part.html)** + * **[Parts](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190629/google_searchconsole1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.CallBuilder.html) 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/1.0.11+20190629/google_searchconsole1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190629/google_searchconsole1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-searchconsole1/1.0.10+20190629/google_searchconsole1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.ResponseResult.html) 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/1.0.10+20190629/google_searchconsole1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190629/google_searchconsole1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190629/google_searchconsole1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-searchconsole1/1.0.11+20190629/google_searchconsole1/trait.RequestValue.html) are 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/cmn.rs b/gen/searchconsole1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/searchconsole1/src/cmn.rs +++ b/gen/searchconsole1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/searchconsole1/src/lib.rs b/gen/searchconsole1/src/lib.rs index 10679da967..a44db0dfb1 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 *1.0.10+20190629*, where *20190629* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Search Console* crate version *1.0.11+20190629*, where *20190629* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -307,7 +307,7 @@ impl<'a, C, A> SearchConsole SearchConsole { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://searchconsole.googleapis.com/".to_string(), _root_url: "https://searchconsole.googleapis.com/".to_string(), } @@ -318,7 +318,7 @@ impl<'a, C, A> SearchConsole } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/securitycenter1-cli/Cargo.toml b/gen/securitycenter1-cli/Cargo.toml index 665feb5950..6ea565bb45 100644 --- a/gen/securitycenter1-cli/Cargo.toml +++ b/gen/securitycenter1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-securitycenter1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Security Command Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/securitycenter1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-securitycenter1] path = "../securitycenter1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/securitycenter1-cli/README.md b/gen/securitycenter1-cli/README.md index 7a5b8b12a2..071a69e446 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Security Command Center* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash securitycenter1 [options] diff --git a/gen/securitycenter1-cli/mkdocs.yml b/gen/securitycenter1-cli/mkdocs.yml index c90118dd12..e9d2bfaae8 100644 --- a/gen/securitycenter1-cli/mkdocs.yml +++ b/gen/securitycenter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Security Command Center v1.0.10+20190628 +site_name: Security Command Center v1.0.11+20190628 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 6a4a6717ea..28bd067a15 100644 --- a/gen/securitycenter1-cli/src/main.rs +++ b/gen/securitycenter1-cli/src/main.rs @@ -2673,7 +2673,7 @@ fn main() { let mut app = App::new("securitycenter1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .about("Cloud 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 1a08702325..069669c5ab 100644 --- a/gen/securitycenter1/Cargo.toml +++ b/gen/securitycenter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-securitycenter1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Security Command Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/securitycenter1" homepage = "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview" -documentation = "https://docs.rs/google-securitycenter1/1.0.10+20190628" +documentation = "https://docs.rs/google-securitycenter1/1.0.11+20190628" license = "MIT" keywords = ["securitycenter", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/securitycenter1/README.md b/gen/securitycenter1/README.md index 0f303b1a63..1b5479636a 100644 --- a/gen/securitycenter1/README.md +++ b/gen/securitycenter1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Security Command Center* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Security Command Center* *v1* API can be found at the [official documentation site](https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.SecurityCommandCenter.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.SecurityCommandCenter.html) ... * organizations - * [*assets group*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationAssetGroupCall.html), [*assets list*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationAssetListCall.html), [*assets run discovery*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationAssetRunDiscoveryCall.html), [*assets update security marks*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationAssetUpdateSecurityMarkCall.html), [*get organization settings*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationGetOrganizationSettingCall.html), [*operations cancel*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationOperationCancelCall.html), [*operations delete*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationOperationDeleteCall.html), [*operations get*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationOperationGetCall.html), [*operations list*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationOperationListCall.html), [*sources create*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceCreateCall.html), [*sources findings create*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceFindingCreateCall.html), [*sources findings group*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceFindingGroupCall.html), [*sources findings list*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceFindingListCall.html), [*sources findings patch*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceFindingPatchCall.html), [*sources findings set state*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceFindingSetStateCall.html), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceFindingUpdateSecurityMarkCall.html), [*sources get*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceGetCall.html), [*sources get iam policy*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceGetIamPolicyCall.html), [*sources list*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceListCall.html), [*sources patch*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourcePatchCall.html), [*sources set iam policy*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceSetIamPolicyCall.html), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationSourceTestIamPermissionCall.html) and [*update organization settings*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.OrganizationUpdateOrganizationSettingCall.html) + * [*assets group*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationAssetGroupCall.html), [*assets list*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationAssetListCall.html), [*assets run discovery*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationAssetRunDiscoveryCall.html), [*assets update security marks*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationAssetUpdateSecurityMarkCall.html), [*get organization settings*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationGetOrganizationSettingCall.html), [*operations cancel*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationOperationCancelCall.html), [*operations delete*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationOperationDeleteCall.html), [*operations get*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationOperationGetCall.html), [*operations list*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationOperationListCall.html), [*sources create*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceCreateCall.html), [*sources findings create*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceFindingCreateCall.html), [*sources findings group*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceFindingGroupCall.html), [*sources findings list*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceFindingListCall.html), [*sources findings patch*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceFindingPatchCall.html), [*sources findings set state*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceFindingSetStateCall.html), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceFindingUpdateSecurityMarkCall.html), [*sources get*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceGetCall.html), [*sources get iam policy*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceGetIamPolicyCall.html), [*sources list*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceListCall.html), [*sources patch*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourcePatchCall.html), [*sources set iam policy*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceSetIamPolicyCall.html), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationSourceTestIamPermissionCall.html) and [*update organization settings*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.OrganizationUpdateOrganizationSettingCall.html) @@ -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-securitycenter1/1.0.10+20190628/google_securitycenter1/struct.SecurityCommandCenter.html)** +* **[Hub](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/struct.SecurityCommandCenter.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.Part.html)** + * **[Parts](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_securitycenter1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.CallBuilder.html) 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/1.0.11+20190628/google_securitycenter1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_securitycenter1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-securitycenter1/1.0.10+20190628/google_securitycenter1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.ResponseResult.html) 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/1.0.10+20190628/google_securitycenter1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_securitycenter1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_securitycenter1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-securitycenter1/1.0.11+20190628/google_securitycenter1/trait.RequestValue.html) are 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/cmn.rs b/gen/securitycenter1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/securitycenter1/src/cmn.rs +++ b/gen/securitycenter1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/securitycenter1/src/lib.rs b/gen/securitycenter1/src/lib.rs index a9b2d3da89..63088c0f0e 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Security Command Center* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Security Command Center* *v1* API can be found at the //! [official documentation site](https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview). @@ -333,7 +333,7 @@ impl<'a, C, A> SecurityCommandCenter SecurityCommandCenter { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://securitycenter.googleapis.com/".to_string(), _root_url: "https://securitycenter.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> SecurityCommandCenter } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicebroker1-cli/Cargo.toml b/gen/servicebroker1-cli/Cargo.toml index bf8e928935..fea965ab9a 100644 --- a/gen/servicebroker1-cli/Cargo.toml +++ b/gen/servicebroker1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicebroker1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Broker (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/servicebroker1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-servicebroker1] path = "../servicebroker1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/servicebroker1-cli/README.md b/gen/servicebroker1-cli/README.md index 70ebaf22f6..a05149321f 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 *1.0.10*. +This documentation was generated from the *Service Broker* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash servicebroker1 [options] diff --git a/gen/servicebroker1-cli/mkdocs.yml b/gen/servicebroker1-cli/mkdocs.yml index 154b738697..64f4d620d6 100644 --- a/gen/servicebroker1-cli/mkdocs.yml +++ b/gen/servicebroker1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Broker v1.0.10+20190624 +site_name: Service Broker v1.0.11+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 a5d48c00a4..58a0c60c16 100644 --- a/gen/servicebroker1-cli/src/main.rs +++ b/gen/servicebroker1-cli/src/main.rs @@ -473,7 +473,7 @@ fn main() { let mut app = App::new("servicebroker1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+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 0dfe19ca70..ea4f9f3823 100644 --- a/gen/servicebroker1/Cargo.toml +++ b/gen/servicebroker1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicebroker1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Broker (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/servicebroker1" homepage = "https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker" -documentation = "https://docs.rs/google-servicebroker1/1.0.10+20190624" +documentation = "https://docs.rs/google-servicebroker1/1.0.11+20190624" license = "MIT" keywords = ["servicebroker", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/servicebroker1/README.md b/gen/servicebroker1/README.md index d33045b94f..814eefffb3 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Service Broker* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190624/google_servicebroker1/struct.ServiceBroker.html) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/struct.ServiceBroker.html) ... -* [get iam policy](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/struct.MethodGetIamPolicyCall.html) -* [set iam policy](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/struct.MethodSetIamPolicyCall.html) -* [test iam permissions](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/struct.MethodTestIamPermissionCall.html) +* [get iam policy](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/struct.MethodGetIamPolicyCall.html) +* [set iam policy](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/struct.MethodSetIamPolicyCall.html) +* [test iam permissions](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/struct.MethodTestIamPermissionCall.html) @@ -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/1.0.10+20190624/google_servicebroker1/struct.ServiceBroker.html)** +* **[Hub](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/struct.ServiceBroker.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.Part.html)** + * **[Parts](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190624/google_servicebroker1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.CallBuilder.html) 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/1.0.11+20190624/google_servicebroker1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190624/google_servicebroker1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-servicebroker1/1.0.10+20190624/google_servicebroker1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.ResponseResult.html) 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/1.0.10+20190624/google_servicebroker1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190624/google_servicebroker1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190624/google_servicebroker1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-servicebroker1/1.0.11+20190624/google_servicebroker1/trait.RequestValue.html) are 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/cmn.rs b/gen/servicebroker1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/servicebroker1/src/cmn.rs +++ b/gen/servicebroker1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/servicebroker1/src/lib.rs b/gen/servicebroker1/src/lib.rs index 14404b77e0..61b8bfb4e8 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 *1.0.10+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Service Broker* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -331,7 +331,7 @@ impl<'a, C, A> ServiceBroker ServiceBroker { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://servicebroker.googleapis.com/".to_string(), _root_url: "https://servicebroker.googleapis.com/".to_string(), } @@ -342,7 +342,7 @@ impl<'a, C, A> ServiceBroker } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicecontrol1-cli/Cargo.toml b/gen/servicecontrol1-cli/Cargo.toml index 97717654a1..e9cce08f9e 100644 --- a/gen/servicecontrol1-cli/Cargo.toml +++ b/gen/servicecontrol1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicecontrol1-cli" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/servicecontrol1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-servicecontrol1] path = "../servicecontrol1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" diff --git a/gen/servicecontrol1-cli/README.md b/gen/servicecontrol1-cli/README.md index 9a9966a638..660ae97c69 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 *20190622*. The CLI is at version *1.0.10*. +This documentation was generated from the *Service Control* API at revision *20190622*. The CLI is at version *1.0.11*. ```bash servicecontrol1 [options] diff --git a/gen/servicecontrol1-cli/mkdocs.yml b/gen/servicecontrol1-cli/mkdocs.yml index 2aa1000daf..5e89944b08 100644 --- a/gen/servicecontrol1-cli/mkdocs.yml +++ b/gen/servicecontrol1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v1.0.10+20190622 +site_name: Service Control v1.0.11+20190622 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 e77919087d..466cd2c4e2 100644 --- a/gen/servicecontrol1-cli/src/main.rs +++ b/gen/servicecontrol1-cli/src/main.rs @@ -567,7 +567,7 @@ fn main() { let mut app = App::new("servicecontrol1") .author("Sebastian Thiel ") - .version("1.0.10+20190622") + .version("1.0.11+20190622") .about("Provides control plane functionality to managed services, such as logging, monitoring, and status checks.") .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 8375d75e7a..889e5d6fee 100644 --- a/gen/servicecontrol1/Cargo.toml +++ b/gen/servicecontrol1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol1" -version = "1.0.10+20190622" +version = "1.0.11+20190622" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/servicecontrol1" homepage = "https://cloud.google.com/service-control/" -documentation = "https://docs.rs/google-servicecontrol1/1.0.10+20190622" +documentation = "https://docs.rs/google-servicecontrol1/1.0.11+20190622" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/servicecontrol1/README.md b/gen/servicecontrol1/README.md index af0a9a5b9a..12faecff6a 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Service Control* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190622/google_servicecontrol1/struct.ServiceControl.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/struct.ServiceControl.html) ... * services - * [*allocate quota*](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/struct.ServiceAllocateQuotaCall.html), [*check*](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/struct.ServiceCheckCall.html) and [*report*](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/struct.ServiceReportCall.html) + * [*allocate quota*](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/struct.ServiceAllocateQuotaCall.html), [*check*](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/struct.ServiceCheckCall.html) and [*report*](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/struct.ServiceReportCall.html) @@ -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/1.0.10+20190622/google_servicecontrol1/struct.ServiceControl.html)** +* **[Hub](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/struct.ServiceControl.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.Part.html)** + * **[Parts](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190622/google_servicecontrol1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.CallBuilder.html) 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/1.0.11+20190622/google_servicecontrol1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190622/google_servicecontrol1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-servicecontrol1/1.0.10+20190622/google_servicecontrol1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.ResponseResult.html) 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/1.0.10+20190622/google_servicecontrol1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190622/google_servicecontrol1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190622/google_servicecontrol1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-servicecontrol1/1.0.11+20190622/google_servicecontrol1/trait.RequestValue.html) are 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/cmn.rs b/gen/servicecontrol1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/servicecontrol1/src/cmn.rs +++ b/gen/servicecontrol1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/servicecontrol1/src/lib.rs b/gen/servicecontrol1/src/lib.rs index a669cd9b60..d7a01fbc3e 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 *1.0.10+20190622*, where *20190622* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Service Control* crate version *1.0.11+20190622*, where *20190622* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Service Control* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). @@ -333,7 +333,7 @@ impl<'a, C, A> ServiceControl ServiceControl { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://servicecontrol.googleapis.com/".to_string(), _root_url: "https://servicecontrol.googleapis.com/".to_string(), } @@ -344,7 +344,7 @@ impl<'a, C, A> ServiceControl } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/serviceregistryalpha-cli/Cargo.toml b/gen/serviceregistryalpha-cli/Cargo.toml index 21d6577bfe..9c91875d7a 100644 --- a/gen/serviceregistryalpha-cli/Cargo.toml +++ b/gen/serviceregistryalpha-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-serviceregistryalpha-cli" -version = "1.0.10+20160401" +version = "1.0.11+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/serviceregistryalpha-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-serviceregistryalpha] path = "../serviceregistryalpha" -version = "1.0.10+20160401" +version = "1.0.11+20160401" diff --git a/gen/serviceregistryalpha-cli/README.md b/gen/serviceregistryalpha-cli/README.md index 2742d6b32c..96be161520 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 *1.0.10*. +This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *1.0.11*. ```bash serviceregistryalpha [options] diff --git a/gen/serviceregistryalpha-cli/mkdocs.yml b/gen/serviceregistryalpha-cli/mkdocs.yml index 8f10ee04f9..7351a35117 100644 --- a/gen/serviceregistryalpha-cli/mkdocs.yml +++ b/gen/serviceregistryalpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Registry v1.0.10+20160401 +site_name: Service Registry v1.0.11+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 c0c95af513..c5798e9668 100644 --- a/gen/serviceregistryalpha-cli/src/main.rs +++ b/gen/serviceregistryalpha-cli/src/main.rs @@ -975,7 +975,7 @@ fn main() { let mut app = App::new("serviceregistryalpha") .author("Sebastian Thiel ") - .version("1.0.10+20160401") + .version("1.0.11+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 5fed5cbd06..c4456ca2e8 100644 --- a/gen/serviceregistryalpha/Cargo.toml +++ b/gen/serviceregistryalpha/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-serviceregistryalpha" -version = "1.0.10+20160401" +version = "1.0.11+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/serviceregistryalpha" homepage = "https://developers.google.com/cloud-serviceregistry/" -documentation = "https://docs.rs/google-serviceregistryalpha/1.0.10+20160401" +documentation = "https://docs.rs/google-serviceregistryalpha/1.0.11+20160401" license = "MIT" keywords = ["serviceregistry", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/serviceregistryalpha/README.md b/gen/serviceregistryalpha/README.md index bd442288a1..8ac9d3d751 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 *1.0.10+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Service Registry* crate version *1.0.11+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html) ... -* [endpoints](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.Endpoint.html) - * [*delete*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.EndpointDeleteCall.html), [*get*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.EndpointGetCall.html), [*insert*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.EndpointInsertCall.html), [*list*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.EndpointListCall.html), [*patch*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.EndpointPatchCall.html) and [*update*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.EndpointUpdateCall.html) -* [operations](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.Operation.html) - * [*get*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/struct.OperationListCall.html) +* [endpoints](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.Endpoint.html) + * [*delete*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.EndpointDeleteCall.html), [*get*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.EndpointGetCall.html), [*insert*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.EndpointInsertCall.html), [*list*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.EndpointListCall.html), [*patch*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.EndpointPatchCall.html) and [*update*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.EndpointUpdateCall.html) +* [operations](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.Operation.html) + * [*get*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.OperationListCall.html) @@ -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/1.0.10+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html)** +* **[Hub](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.Part.html)** + * **[Parts](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160401/google_serviceregistryalpha/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.CallBuilder.html) 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/1.0.11+20160401/google_serviceregistryalpha/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160401/google_serviceregistryalpha/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.RequestValue.html) and -[decodable](https://docs.rs/google-serviceregistryalpha/1.0.10+20160401/google_serviceregistryalpha/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.RequestValue.html) and +[decodable](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.ResponseResult.html) 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/1.0.10+20160401/google_serviceregistryalpha/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160401/google_serviceregistryalpha/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160401/google_serviceregistryalpha/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-serviceregistryalpha/1.0.11+20160401/google_serviceregistryalpha/trait.RequestValue.html) are 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/cmn.rs b/gen/serviceregistryalpha/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/serviceregistryalpha/src/cmn.rs +++ b/gen/serviceregistryalpha/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/serviceregistryalpha/src/lib.rs b/gen/serviceregistryalpha/src/lib.rs index f84154dca9..c3c1321622 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 *1.0.10+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Service Registry* crate version *1.0.11+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Service Registry* *alpha* API can be found at the //! [official documentation site](https://developers.google.com/cloud-serviceregistry/). @@ -344,7 +344,7 @@ impl<'a, C, A> ServiceRegistry ServiceRegistry { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/serviceregistry/alpha/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -358,7 +358,7 @@ impl<'a, C, A> ServiceRegistry } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sheets4-cli/Cargo.toml b/gen/sheets4-cli/Cargo.toml index 577308a070..d39f7509c9 100644 --- a/gen/sheets4-cli/Cargo.toml +++ b/gen/sheets4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sheets4-cli" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Sheets (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sheets4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-sheets4] path = "../sheets4" -version = "1.0.10+20190625" +version = "1.0.11+20190625" diff --git a/gen/sheets4-cli/README.md b/gen/sheets4-cli/README.md index 94dfcc0ce1..5e00aebdb0 100644 --- a/gen/sheets4-cli/README.md +++ b/gen/sheets4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Sheets* API at revision *20190625*. The CLI is at version *1.0.10*. +This documentation was generated from the *Sheets* API at revision *20190625*. The CLI is at version *1.0.11*. ```bash sheets4 [options] diff --git a/gen/sheets4-cli/mkdocs.yml b/gen/sheets4-cli/mkdocs.yml index ee30a1ab17..46a7e6342e 100644 --- a/gen/sheets4-cli/mkdocs.yml +++ b/gen/sheets4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Sheets v1.0.10+20190625 +site_name: Sheets v1.0.11+20190625 site_url: http://byron.github.io/google-apis-rs/google-sheets4-cli site_description: A complete library to interact with Sheets (protocol v4) diff --git a/gen/sheets4-cli/src/main.rs b/gen/sheets4-cli/src/main.rs index 23acaee9c3..16f10a9a17 100644 --- a/gen/sheets4-cli/src/main.rs +++ b/gen/sheets4-cli/src/main.rs @@ -2228,7 +2228,7 @@ fn main() { let mut app = App::new("sheets4") .author("Sebastian Thiel ") - .version("1.0.10+20190625") + .version("1.0.11+20190625") .about("Reads and writes Google Sheets.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sheets4_cli") .arg(Arg::with_name("url") diff --git a/gen/sheets4/Cargo.toml b/gen/sheets4/Cargo.toml index 35395917b9..e282c260e1 100644 --- a/gen/sheets4/Cargo.toml +++ b/gen/sheets4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sheets4" -version = "1.0.10+20190625" +version = "1.0.11+20190625" authors = ["Sebastian Thiel "] description = "A complete library to interact with Sheets (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sheets4" homepage = "https://developers.google.com/sheets/" -documentation = "https://docs.rs/google-sheets4/1.0.10+20190625" +documentation = "https://docs.rs/google-sheets4/1.0.11+20190625" license = "MIT" keywords = ["sheets", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/sheets4/README.md b/gen/sheets4/README.md index 63a39a02e2..f34cf1c50c 100644 --- a/gen/sheets4/README.md +++ b/gen/sheets4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-sheets4` library allows access to all features of the *Google Sheets* service. -This documentation was generated from *Sheets* crate version *1.0.10+20190625*, where *20190625* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Sheets* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Sheets* *v4* API can be found at the [official documentation site](https://developers.google.com/sheets/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.Sheets.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.Sheets.html) ... -* [spreadsheets](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.Spreadsheet.html) - * [*batch update*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetBatchUpdateCall.html), [*create*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetCreateCall.html), [*developer metadata get*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetDeveloperMetadataGetCall.html), [*developer metadata search*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetDeveloperMetadataSearchCall.html), [*get*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetGetCall.html), [*get by data filter*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetGetByDataFilterCall.html), [*sheets copy to*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetSheetCopyToCall.html), [*values append*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueAppendCall.html), [*values batch clear*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueBatchClearCall.html), [*values batch clear by data filter*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueBatchClearByDataFilterCall.html), [*values batch get*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueBatchGetCall.html), [*values batch get by data filter*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueBatchGetByDataFilterCall.html), [*values batch update*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueBatchUpdateCall.html), [*values batch update by data filter*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueBatchUpdateByDataFilterCall.html), [*values clear*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueClearCall.html), [*values get*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueGetCall.html) and [*values update*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/struct.SpreadsheetValueUpdateCall.html) +* [spreadsheets](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.Spreadsheet.html) + * [*batch update*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetBatchUpdateCall.html), [*create*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetCreateCall.html), [*developer metadata get*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetDeveloperMetadataGetCall.html), [*developer metadata search*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetDeveloperMetadataSearchCall.html), [*get*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetGetCall.html), [*get by data filter*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetGetByDataFilterCall.html), [*sheets copy to*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetSheetCopyToCall.html), [*values append*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueAppendCall.html), [*values batch clear*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueBatchClearCall.html), [*values batch clear by data filter*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueBatchClearByDataFilterCall.html), [*values batch get*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueBatchGetCall.html), [*values batch get by data filter*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueBatchGetByDataFilterCall.html), [*values batch update*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueBatchUpdateCall.html), [*values batch update by data filter*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueBatchUpdateByDataFilterCall.html), [*values clear*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueClearCall.html), [*values get*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueGetCall.html) and [*values update*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.SpreadsheetValueUpdateCall.html) @@ -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-sheets4/1.0.10+20190625/google_sheets4/struct.Sheets.html)** +* **[Hub](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/struct.Sheets.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.Part.html)** + * **[Parts](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-sheets4/1.0.10+20190625/google_sheets4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sheets4/1.0.10+20190625/google_sheets4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-sheets4/1.0.11+20190625/google_sheets4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sheets4/src/cmn.rs b/gen/sheets4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/sheets4/src/cmn.rs +++ b/gen/sheets4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/sheets4/src/lib.rs b/gen/sheets4/src/lib.rs index 626ead396b..c102cd4897 100644 --- a/gen/sheets4/src/lib.rs +++ b/gen/sheets4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Sheets* crate version *1.0.10+20190625*, where *20190625* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Sheets* crate version *1.0.11+20190625*, where *20190625* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Sheets* *v4* API can be found at the //! [official documentation site](https://developers.google.com/sheets/). @@ -371,7 +371,7 @@ impl<'a, C, A> Sheets Sheets { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://sheets.googleapis.com/".to_string(), _root_url: "https://sheets.googleapis.com/".to_string(), } @@ -382,7 +382,7 @@ impl<'a, C, A> Sheets } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/siteverification1-cli/Cargo.toml b/gen/siteverification1-cli/Cargo.toml index b94c855ca5..7db5326d6d 100644 --- a/gen/siteverification1-cli/Cargo.toml +++ b/gen/siteverification1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-siteverification1-cli" -version = "1.0.10+20180830" +version = "1.0.11+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/siteverification1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-siteverification1] path = "../siteverification1" -version = "1.0.10+20180830" +version = "1.0.11+20180830" diff --git a/gen/siteverification1-cli/README.md b/gen/siteverification1-cli/README.md index 23d94492aa..872a038e0d 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 *20180830*. The CLI is at version *1.0.10*. +This documentation was generated from the *siteVerification* API at revision *20180830*. The CLI is at version *1.0.11*. ```bash siteverification1 [options] diff --git a/gen/siteverification1-cli/mkdocs.yml b/gen/siteverification1-cli/mkdocs.yml index 3625afadaa..980dc30d76 100644 --- a/gen/siteverification1-cli/mkdocs.yml +++ b/gen/siteverification1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: siteVerification v1.0.10+20180830 +site_name: siteVerification v1.0.11+20180830 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 fcb0a1a638..d27c8f9f9a 100644 --- a/gen/siteverification1-cli/src/main.rs +++ b/gen/siteverification1-cli/src/main.rs @@ -828,7 +828,7 @@ fn main() { let mut app = App::new("siteverification1") .author("Sebastian Thiel ") - .version("1.0.10+20180830") + .version("1.0.11+20180830") .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 b0969f6fc2..451d27d4bd 100644 --- a/gen/siteverification1/Cargo.toml +++ b/gen/siteverification1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-siteverification1" -version = "1.0.10+20180830" +version = "1.0.11+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/siteverification1" homepage = "https://developers.google.com/site-verification/" -documentation = "https://docs.rs/google-siteverification1/1.0.10+20180830" +documentation = "https://docs.rs/google-siteverification1/1.0.11+20180830" license = "MIT" keywords = ["siteVerification", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/siteverification1/README.md b/gen/siteverification1/README.md index efb9f1cde0..e6a554aba9 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 *1.0.10+20180830*, where *20180830* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *siteVerification* crate version *1.0.11+20180830*, where *20180830* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20180830/google_siteverification1/struct.SiteVerification.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.SiteVerification.html) ... * web resource - * [*delete*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourceDeleteCall.html), [*get*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourceGetCall.html), [*get token*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourceGetTokenCall.html), [*insert*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourceInsertCall.html), [*list*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourceListCall.html), [*patch*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourcePatchCall.html) and [*update*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/struct.WebResourceUpdateCall.html) + * [*delete*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourceDeleteCall.html), [*get*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourceGetCall.html), [*get token*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourceGetTokenCall.html), [*insert*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourceInsertCall.html), [*list*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourceListCall.html), [*patch*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourcePatchCall.html) and [*update*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.WebResourceUpdateCall.html) @@ -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/1.0.10+20180830/google_siteverification1/struct.SiteVerification.html)** +* **[Hub](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/struct.SiteVerification.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.Part.html)** + * **[Parts](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20180830/google_siteverification1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-siteverification1/1.0.10+20180830/google_siteverification1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.CallBuilder.html) 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/1.0.11+20180830/google_siteverification1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20180830/google_siteverification1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-siteverification1/1.0.10+20180830/google_siteverification1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.ResponseResult.html) 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/1.0.10+20180830/google_siteverification1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20180830/google_siteverification1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20180830/google_siteverification1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-siteverification1/1.0.11+20180830/google_siteverification1/trait.RequestValue.html) are 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/cmn.rs b/gen/siteverification1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/siteverification1/src/cmn.rs +++ b/gen/siteverification1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/siteverification1/src/lib.rs b/gen/siteverification1/src/lib.rs index a9e0e982bd..3fe66c7c46 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 *1.0.10+20180830*, where *20180830* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *siteVerification* crate version *1.0.11+20180830*, where *20180830* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *siteVerification* *v1* API can be found at the //! [official documentation site](https://developers.google.com/site-verification/). @@ -336,7 +336,7 @@ impl<'a, C, A> SiteVerification SiteVerification { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/siteVerification/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> SiteVerification } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sourcerepo1-cli/Cargo.toml b/gen/sourcerepo1-cli/Cargo.toml index 6174bb6f54..8beee6b58a 100644 --- a/gen/sourcerepo1-cli/Cargo.toml +++ b/gen/sourcerepo1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sourcerepo1-cli" -version = "1.0.10+20190611" +version = "1.0.11+20190611" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Source Repositories (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sourcerepo1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-sourcerepo1] path = "../sourcerepo1" -version = "1.0.10+20190611" +version = "1.0.11+20190611" diff --git a/gen/sourcerepo1-cli/README.md b/gen/sourcerepo1-cli/README.md index 93a4bedcab..1428ce2ac6 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 *20190611*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Source Repositories* API at revision *20190611*. The CLI is at version *1.0.11*. ```bash sourcerepo1 [options] diff --git a/gen/sourcerepo1-cli/mkdocs.yml b/gen/sourcerepo1-cli/mkdocs.yml index 8cb40b3dec..c9dadcafbc 100644 --- a/gen/sourcerepo1-cli/mkdocs.yml +++ b/gen/sourcerepo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Source Repositories v1.0.10+20190611 +site_name: Cloud Source Repositories v1.0.11+20190611 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 0a507397a4..55d7ebcad4 100644 --- a/gen/sourcerepo1-cli/src/main.rs +++ b/gen/sourcerepo1-cli/src/main.rs @@ -1275,7 +1275,7 @@ fn main() { let mut app = App::new("sourcerepo1") .author("Sebastian Thiel ") - .version("1.0.10+20190611") + .version("1.0.11+20190611") .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 09059dba2f..2471d64781 100644 --- a/gen/sourcerepo1/Cargo.toml +++ b/gen/sourcerepo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sourcerepo1" -version = "1.0.10+20190611" +version = "1.0.11+20190611" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Source Repositories (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sourcerepo1" homepage = "https://cloud.google.com/source-repositories/docs/apis" -documentation = "https://docs.rs/google-sourcerepo1/1.0.10+20190611" +documentation = "https://docs.rs/google-sourcerepo1/1.0.11+20190611" license = "MIT" keywords = ["sourcerepo", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/sourcerepo1/README.md b/gen/sourcerepo1/README.md index b45d817d03..ead66be735 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 *1.0.10+20190611*, where *20190611* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Source Repositories* crate version *1.0.11+20190611*, where *20190611* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190611/google_sourcerepo1/struct.CloudSourceRepositories.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.CloudSourceRepositories.html) ... * projects - * [*get config*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectGetConfigCall.html), [*repos create*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoCreateCall.html), [*repos delete*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoDeleteCall.html), [*repos get*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoGetCall.html), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoGetIamPolicyCall.html), [*repos list*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoListCall.html), [*repos patch*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoPatchCall.html), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoSetIamPolicyCall.html), [*repos sync*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoSyncCall.html), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectRepoTestIamPermissionCall.html) and [*update config*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/struct.ProjectUpdateConfigCall.html) + * [*get config*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectGetConfigCall.html), [*repos create*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoCreateCall.html), [*repos delete*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoDeleteCall.html), [*repos get*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoGetCall.html), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoGetIamPolicyCall.html), [*repos list*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoListCall.html), [*repos patch*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoPatchCall.html), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoSetIamPolicyCall.html), [*repos sync*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoSyncCall.html), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectRepoTestIamPermissionCall.html) and [*update config*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.ProjectUpdateConfigCall.html) @@ -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/1.0.10+20190611/google_sourcerepo1/struct.CloudSourceRepositories.html)** +* **[Hub](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/struct.CloudSourceRepositories.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.Part.html)** + * **[Parts](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190611/google_sourcerepo1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.CallBuilder.html) 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/1.0.11+20190611/google_sourcerepo1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190611/google_sourcerepo1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-sourcerepo1/1.0.10+20190611/google_sourcerepo1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.ResponseResult.html) 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/1.0.10+20190611/google_sourcerepo1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190611/google_sourcerepo1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190611/google_sourcerepo1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-sourcerepo1/1.0.11+20190611/google_sourcerepo1/trait.RequestValue.html) are 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/cmn.rs b/gen/sourcerepo1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/sourcerepo1/src/cmn.rs +++ b/gen/sourcerepo1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/sourcerepo1/src/lib.rs b/gen/sourcerepo1/src/lib.rs index 97ab17ea68..54b875c6e7 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 *1.0.10+20190611*, where *20190611* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Source Repositories* crate version *1.0.11+20190611*, where *20190611* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -343,7 +343,7 @@ impl<'a, C, A> CloudSourceRepositories CloudSourceRepositories { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://sourcerepo.googleapis.com/".to_string(), _root_url: "https://sourcerepo.googleapis.com/".to_string(), } @@ -354,7 +354,7 @@ impl<'a, C, A> CloudSourceRepositories } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/spanner1-cli/Cargo.toml b/gen/spanner1-cli/Cargo.toml index d9fa63f97f..e128e9450b 100644 --- a/gen/spanner1-cli/Cargo.toml +++ b/gen/spanner1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-spanner1-cli" -version = "1.0.10+20190613" +version = "1.0.11+20190613" authors = ["Sebastian Thiel "] description = "A complete library to interact with Spanner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/spanner1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-spanner1] path = "../spanner1" -version = "1.0.10+20190613" +version = "1.0.11+20190613" diff --git a/gen/spanner1-cli/README.md b/gen/spanner1-cli/README.md index 00f0c59d0f..2ff43e34c0 100644 --- a/gen/spanner1-cli/README.md +++ b/gen/spanner1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Spanner* API at revision *20190613*. The CLI is at version *1.0.10*. +This documentation was generated from the *Spanner* API at revision *20190613*. The CLI is at version *1.0.11*. ```bash spanner1 [options] diff --git a/gen/spanner1-cli/mkdocs.yml b/gen/spanner1-cli/mkdocs.yml index 5d5c7b26f3..4ffd2628e0 100644 --- a/gen/spanner1-cli/mkdocs.yml +++ b/gen/spanner1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Spanner v1.0.10+20190613 +site_name: Spanner v1.0.11+20190613 site_url: http://byron.github.io/google-apis-rs/google-spanner1-cli site_description: A complete library to interact with Spanner (protocol v1) diff --git a/gen/spanner1-cli/src/main.rs b/gen/spanner1-cli/src/main.rs index 9a6fe4cb85..1e9f5bb5ef 100644 --- a/gen/spanner1-cli/src/main.rs +++ b/gen/spanner1-cli/src/main.rs @@ -4619,7 +4619,7 @@ fn main() { let mut app = App::new("spanner1") .author("Sebastian Thiel ") - .version("1.0.10+20190613") + .version("1.0.11+20190613") .about("Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_spanner1_cli") .arg(Arg::with_name("url") diff --git a/gen/spanner1/Cargo.toml b/gen/spanner1/Cargo.toml index 988e8d6c36..82904d47df 100644 --- a/gen/spanner1/Cargo.toml +++ b/gen/spanner1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-spanner1" -version = "1.0.10+20190613" +version = "1.0.11+20190613" authors = ["Sebastian Thiel "] description = "A complete library to interact with Spanner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/spanner1" homepage = "https://cloud.google.com/spanner/" -documentation = "https://docs.rs/google-spanner1/1.0.10+20190613" +documentation = "https://docs.rs/google-spanner1/1.0.11+20190613" license = "MIT" keywords = ["spanner", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/spanner1/README.md b/gen/spanner1/README.md index 8d2f27f781..ba64058886 100644 --- a/gen/spanner1/README.md +++ b/gen/spanner1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-spanner1` library allows access to all features of the *Google Spanner* service. -This documentation was generated from *Spanner* crate version *1.0.10+20190613*, where *20190613* is the exact revision of the *spanner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Spanner* crate version *1.0.11+20190613*, where *20190613* is the exact revision of the *spanner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Spanner* *v1* API can be found at the [official documentation site](https://cloud.google.com/spanner/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.Spanner.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.Spanner.html) ... * projects - * [*instance configs get*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceConfigGetCall.html), [*instance configs list*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceConfigListCall.html), [*instances create*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceCreateCall.html), [*instances databases create*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseCreateCall.html), [*instances databases drop database*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseDropDatabaseCall.html), [*instances databases get*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseGetCall.html), [*instances databases get ddl*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseGetDdlCall.html), [*instances databases get iam policy*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseGetIamPolicyCall.html), [*instances databases list*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseListCall.html), [*instances databases operations cancel*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationCancelCall.html), [*instances databases operations delete*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationDeleteCall.html), [*instances databases operations get*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationGetCall.html), [*instances databases operations list*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationListCall.html), [*instances databases sessions begin transaction*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionBeginTransactionCall.html), [*instances databases sessions commit*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionCommitCall.html), [*instances databases sessions create*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionCreateCall.html), [*instances databases sessions delete*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionDeleteCall.html), [*instances databases sessions execute batch dml*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionExecuteBatchDmlCall.html), [*instances databases sessions execute sql*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionExecuteSqlCall.html), [*instances databases sessions execute streaming sql*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionExecuteStreamingSqlCall.html), [*instances databases sessions get*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionGetCall.html), [*instances databases sessions list*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionListCall.html), [*instances databases sessions partition query*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionPartitionQueryCall.html), [*instances databases sessions partition read*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionPartitionReadCall.html), [*instances databases sessions read*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionReadCall.html), [*instances databases sessions rollback*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionRollbackCall.html), [*instances databases sessions streaming read*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionStreamingReadCall.html), [*instances databases set iam policy*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseSetIamPolicyCall.html), [*instances databases test iam permissions*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseTestIamPermissionCall.html), [*instances databases update ddl*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDatabaseUpdateDdlCall.html), [*instances delete*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceDeleteCall.html), [*instances get*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceGetCall.html), [*instances get iam policy*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceGetIamPolicyCall.html), [*instances list*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceListCall.html), [*instances operations cancel*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceOperationCancelCall.html), [*instances operations delete*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceOperationDeleteCall.html), [*instances operations get*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceOperationGetCall.html), [*instances operations list*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceOperationListCall.html), [*instances patch*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstancePatchCall.html), [*instances set iam policy*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceSetIamPolicyCall.html) and [*instances test iam permissions*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/struct.ProjectInstanceTestIamPermissionCall.html) + * [*instance configs get*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceConfigGetCall.html), [*instance configs list*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceConfigListCall.html), [*instances create*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceCreateCall.html), [*instances databases create*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseCreateCall.html), [*instances databases drop database*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseDropDatabaseCall.html), [*instances databases get*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseGetCall.html), [*instances databases get ddl*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseGetDdlCall.html), [*instances databases get iam policy*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseGetIamPolicyCall.html), [*instances databases list*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseListCall.html), [*instances databases operations cancel*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationCancelCall.html), [*instances databases operations delete*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationDeleteCall.html), [*instances databases operations get*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationGetCall.html), [*instances databases operations list*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseOperationListCall.html), [*instances databases sessions begin transaction*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionBeginTransactionCall.html), [*instances databases sessions commit*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionCommitCall.html), [*instances databases sessions create*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionCreateCall.html), [*instances databases sessions delete*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionDeleteCall.html), [*instances databases sessions execute batch dml*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionExecuteBatchDmlCall.html), [*instances databases sessions execute sql*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionExecuteSqlCall.html), [*instances databases sessions execute streaming sql*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionExecuteStreamingSqlCall.html), [*instances databases sessions get*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionGetCall.html), [*instances databases sessions list*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionListCall.html), [*instances databases sessions partition query*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionPartitionQueryCall.html), [*instances databases sessions partition read*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionPartitionReadCall.html), [*instances databases sessions read*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionReadCall.html), [*instances databases sessions rollback*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionRollbackCall.html), [*instances databases sessions streaming read*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSessionStreamingReadCall.html), [*instances databases set iam policy*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseSetIamPolicyCall.html), [*instances databases test iam permissions*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseTestIamPermissionCall.html), [*instances databases update ddl*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDatabaseUpdateDdlCall.html), [*instances delete*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceDeleteCall.html), [*instances get*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceGetCall.html), [*instances get iam policy*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceGetIamPolicyCall.html), [*instances list*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceListCall.html), [*instances operations cancel*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceOperationCancelCall.html), [*instances operations delete*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceOperationDeleteCall.html), [*instances operations get*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceOperationGetCall.html), [*instances operations list*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceOperationListCall.html), [*instances patch*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstancePatchCall.html), [*instances set iam policy*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceSetIamPolicyCall.html) and [*instances test iam permissions*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.ProjectInstanceTestIamPermissionCall.html) @@ -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-spanner1/1.0.10+20190613/google_spanner1/struct.Spanner.html)** +* **[Hub](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/struct.Spanner.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.Part.html)** + * **[Parts](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-spanner1/1.0.10+20190613/google_spanner1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-spanner1/1.0.10+20190613/google_spanner1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-spanner1/1.0.11+20190613/google_spanner1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/spanner1/src/cmn.rs b/gen/spanner1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/spanner1/src/cmn.rs +++ b/gen/spanner1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/spanner1/src/lib.rs b/gen/spanner1/src/lib.rs index e593681dbd..2be7fc5bb4 100644 --- a/gen/spanner1/src/lib.rs +++ b/gen/spanner1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Spanner* crate version *1.0.10+20190613*, where *20190613* is the exact revision of the *spanner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Spanner* crate version *1.0.11+20190613*, where *20190613* is the exact revision of the *spanner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Spanner* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/spanner/). @@ -344,7 +344,7 @@ impl<'a, C, A> Spanner Spanner { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://spanner.googleapis.com/".to_string(), _root_url: "https://spanner.googleapis.com/".to_string(), } @@ -355,7 +355,7 @@ impl<'a, C, A> Spanner } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/spectrum1_explorer-cli/Cargo.toml b/gen/spectrum1_explorer-cli/Cargo.toml index 92c2f1b5d0..467cc8abc9 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 = "1.0.10+20170306" +version = "1.0.11+20170306" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/spectrum1_explorer-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-spectrum1_explorer] path = "../spectrum1_explorer" -version = "1.0.10+20170306" +version = "1.0.11+20170306" diff --git a/gen/spectrum1_explorer-cli/README.md b/gen/spectrum1_explorer-cli/README.md index a18f21ca52..9180650dad 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 *1.0.10*. +This documentation was generated from the *spectrum* API at revision *20170306*. The CLI is at version *1.0.11*. ```bash spectrum1-explorer [options] diff --git a/gen/spectrum1_explorer-cli/mkdocs.yml b/gen/spectrum1_explorer-cli/mkdocs.yml index c0a17c9042..1a04e72fc2 100644 --- a/gen/spectrum1_explorer-cli/mkdocs.yml +++ b/gen/spectrum1_explorer-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: spectrum v1.0.10+20170306 +site_name: spectrum v1.0.11+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 313299bdb7..7e497edd9d 100644 --- a/gen/spectrum1_explorer-cli/src/main.rs +++ b/gen/spectrum1_explorer-cli/src/main.rs @@ -961,7 +961,7 @@ fn main() { let mut app = App::new("spectrum1-explorer") .author("Sebastian Thiel ") - .version("1.0.10+20170306") + .version("1.0.11+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 3b6f14ac91..f733501aba 100644 --- a/gen/spectrum1_explorer/Cargo.toml +++ b/gen/spectrum1_explorer/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-spectrum1_explorer" -version = "1.0.10+20170306" +version = "1.0.11+20170306" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/spectrum1_explorer" homepage = "http://developers.google.com/spectrum" -documentation = "https://docs.rs/google-spectrum1_explorer/1.0.10+20170306" +documentation = "https://docs.rs/google-spectrum1_explorer/1.0.11+20170306" license = "MIT" keywords = ["spectrum", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/spectrum1_explorer/README.md b/gen/spectrum1_explorer/README.md index 5a1abe7874..baef323265 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 *1.0.10+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *spectrum* crate version *1.0.11+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20170306/google_spectrum1_explorer/struct.Spectrum.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.Spectrum.html) ... * paws - * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/struct.PawGetSpectrumCall.html), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/struct.PawGetSpectrumBatchCall.html), [*init*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/struct.PawInitCall.html), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/struct.PawNotifySpectrumUseCall.html), [*register*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/struct.PawRegisterCall.html) and [*verify device*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/struct.PawVerifyDeviceCall.html) + * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.PawGetSpectrumCall.html), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.PawGetSpectrumBatchCall.html), [*init*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.PawInitCall.html), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.PawNotifySpectrumUseCall.html), [*register*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.PawRegisterCall.html) and [*verify device*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.PawVerifyDeviceCall.html) @@ -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/1.0.10+20170306/google_spectrum1_explorer/struct.Spectrum.html)** +* **[Hub](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/struct.Spectrum.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.Part.html)** + * **[Parts](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/enum.Result.html) 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/1.0.10+20170306/google_spectrum1_explorer/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170306/google_spectrum1_explorer/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.CallBuilder.html) 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/1.0.11+20170306/google_spectrum1_explorer/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170306/google_spectrum1_explorer/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.RequestValue.html) and -[decodable](https://docs.rs/google-spectrum1_explorer/1.0.10+20170306/google_spectrum1_explorer/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.RequestValue.html) and +[decodable](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.ResponseResult.html) 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/1.0.10+20170306/google_spectrum1_explorer/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170306/google_spectrum1_explorer/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170306/google_spectrum1_explorer/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-spectrum1_explorer/1.0.11+20170306/google_spectrum1_explorer/trait.RequestValue.html) are 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/cmn.rs b/gen/spectrum1_explorer/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/spectrum1_explorer/src/cmn.rs +++ b/gen/spectrum1_explorer/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/spectrum1_explorer/src/lib.rs b/gen/spectrum1_explorer/src/lib.rs index f1ebf93d01..a4d863f00a 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 *1.0.10+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *spectrum* crate version *1.0.11+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *spectrum* *v1_explorer* API can be found at the //! [official documentation site](http://developers.google.com/spectrum). @@ -307,7 +307,7 @@ impl<'a, C, A> Spectrum Spectrum { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/spectrum/v1explorer/paws/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -318,7 +318,7 @@ impl<'a, C, A> Spectrum } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/speech1-cli/Cargo.toml b/gen/speech1-cli/Cargo.toml index 44773b4940..f0fc4e5f5e 100644 --- a/gen/speech1-cli/Cargo.toml +++ b/gen/speech1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-speech1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/speech1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-speech1] path = "../speech1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/speech1-cli/README.md b/gen/speech1-cli/README.md index 2311f1c382..a0cf0ae1b7 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *Speech* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash speech1 [options] diff --git a/gen/speech1-cli/mkdocs.yml b/gen/speech1-cli/mkdocs.yml index 6bac242ed6..788cea7007 100644 --- a/gen/speech1-cli/mkdocs.yml +++ b/gen/speech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v1.0.10+20190627 +site_name: Speech v1.0.11+20190627 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 e792cdc741..34e5b84647 100644 --- a/gen/speech1-cli/src/main.rs +++ b/gen/speech1-cli/src/main.rs @@ -788,7 +788,7 @@ fn main() { let mut app = App::new("speech1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 75afa0ee55..37c61ebc72 100644 --- a/gen/speech1/Cargo.toml +++ b/gen/speech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/speech1" homepage = "https://cloud.google.com/speech-to-text/docs/quickstart-protocol" -documentation = "https://docs.rs/google-speech1/1.0.10+20190627" +documentation = "https://docs.rs/google-speech1/1.0.11+20190627" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/speech1/README.md b/gen/speech1/README.md index 86898d5b73..64bb316fd5 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Speech* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_speech1/struct.Speech.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.Speech.html) ... -* [operations](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.Operation.html) - * [*get*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.Operation.html) + * [*get*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.OperationListCall.html) * projects - * [*locations operations get*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.ProjectLocationOperationListCall.html) + * [*locations operations get*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.ProjectLocationOperationListCall.html) * speech - * [*longrunningrecognize*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.SpeechLongrunningrecognizeCall.html) and [*recognize*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/struct.SpeechRecognizeCall.html) + * [*longrunningrecognize*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.SpeechLongrunningrecognizeCall.html) and [*recognize*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.SpeechRecognizeCall.html) @@ -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/1.0.10+20190627/google_speech1/struct.Speech.html)** +* **[Hub](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/struct.Speech.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.Part.html)** + * **[Parts](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_speech1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-speech1/1.0.10+20190627/google_speech1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.CallBuilder.html) 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/1.0.11+20190627/google_speech1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_speech1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-speech1/1.0.10+20190627/google_speech1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.ResponseResult.html) 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/1.0.10+20190627/google_speech1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_speech1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_speech1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-speech1/1.0.11+20190627/google_speech1/trait.RequestValue.html) are 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/cmn.rs b/gen/speech1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/speech1/src/cmn.rs +++ b/gen/speech1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/speech1/src/lib.rs b/gen/speech1/src/lib.rs index 52e38a3ce7..02152fcfbb 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Speech* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -332,7 +332,7 @@ impl<'a, C, A> Speech Speech { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://speech.googleapis.com/".to_string(), _root_url: "https://speech.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> Speech } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/speech1_beta1-cli/Cargo.toml b/gen/speech1_beta1-cli/Cargo.toml index 7e6122efbc..f2b3f30a9d 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 = "1.0.10+20181005" +version = "1.0.11+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/speech1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-speech1_beta1] path = "../speech1_beta1" -version = "1.0.10+20181005" +version = "1.0.11+20181005" diff --git a/gen/speech1_beta1-cli/README.md b/gen/speech1_beta1-cli/README.md index a41daf0790..8f97a65315 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 *1.0.10*. +This documentation was generated from the *Speech* API at revision *20181005*. The CLI is at version *1.0.11*. ```bash speech1-beta1 [options] diff --git a/gen/speech1_beta1-cli/mkdocs.yml b/gen/speech1_beta1-cli/mkdocs.yml index 99ef6d55d1..e9e7959026 100644 --- a/gen/speech1_beta1-cli/mkdocs.yml +++ b/gen/speech1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v1.0.10+20181005 +site_name: Speech v1.0.11+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 61eda51995..26b0ebe7a3 100644 --- a/gen/speech1_beta1-cli/src/main.rs +++ b/gen/speech1_beta1-cli/src/main.rs @@ -574,7 +574,7 @@ fn main() { let mut app = App::new("speech1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20181005") + .version("1.0.11+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 d5c14145a0..33dffa43b6 100644 --- a/gen/speech1_beta1/Cargo.toml +++ b/gen/speech1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1_beta1" -version = "1.0.10+20181005" +version = "1.0.11+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/speech1_beta1" homepage = "https://cloud.google.com/speech-to-text/docs/quickstart-protocol" -documentation = "https://docs.rs/google-speech1_beta1/1.0.10+20181005" +documentation = "https://docs.rs/google-speech1_beta1/1.0.11+20181005" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/speech1_beta1/README.md b/gen/speech1_beta1/README.md index ef7cc8d7f7..d674083360 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 *1.0.10+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Speech* crate version *1.0.11+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20181005/google_speech1_beta1/struct.Speech.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.Speech.html) ... -* [operations](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/struct.Operation.html) - * [*get*](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/struct.OperationListCall.html) +* [operations](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.Operation.html) + * [*get*](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.OperationListCall.html) * speech - * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/struct.SpeechAsyncrecognizeCall.html) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/struct.SpeechSyncrecognizeCall.html) + * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.SpeechAsyncrecognizeCall.html) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.SpeechSyncrecognizeCall.html) @@ -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/1.0.10+20181005/google_speech1_beta1/struct.Speech.html)** +* **[Hub](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/struct.Speech.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/enum.Result.html) 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/1.0.10+20181005/google_speech1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20181005/google_speech1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.CallBuilder.html) 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/1.0.11+20181005/google_speech1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20181005/google_speech1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-speech1_beta1/1.0.10+20181005/google_speech1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.ResponseResult.html) 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/1.0.10+20181005/google_speech1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20181005/google_speech1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20181005/google_speech1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-speech1_beta1/1.0.11+20181005/google_speech1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/speech1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/speech1_beta1/src/cmn.rs +++ b/gen/speech1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/speech1_beta1/src/lib.rs b/gen/speech1_beta1/src/lib.rs index 4d595b1c4c..ed199b21b0 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 *1.0.10+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Speech* crate version *1.0.11+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -329,7 +329,7 @@ impl<'a, C, A> Speech Speech { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://speech.googleapis.com/".to_string(), _root_url: "https://speech.googleapis.com/".to_string(), } @@ -343,7 +343,7 @@ impl<'a, C, A> Speech } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sqladmin1_beta4-cli/Cargo.toml b/gen/sqladmin1_beta4-cli/Cargo.toml index 848dda1ed6..9a5804563e 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 = "1.0.10+20190607" +version = "1.0.11+20190607" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sqladmin1_beta4-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-sqladmin1_beta4] path = "../sqladmin1_beta4" -version = "1.0.10+20190607" +version = "1.0.11+20190607" diff --git a/gen/sqladmin1_beta4-cli/README.md b/gen/sqladmin1_beta4-cli/README.md index 44817ea4de..2655be9a8f 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 *20190607*. The CLI is at version *1.0.10*. +This documentation was generated from the *SQL Admin* API at revision *20190607*. The CLI is at version *1.0.11*. ```bash sqladmin1-beta4 [options] diff --git a/gen/sqladmin1_beta4-cli/mkdocs.yml b/gen/sqladmin1_beta4-cli/mkdocs.yml index 9451c91d61..4f67a05184 100644 --- a/gen/sqladmin1_beta4-cli/mkdocs.yml +++ b/gen/sqladmin1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v1.0.10+20190607 +site_name: SQL Admin v1.0.11+20190607 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 8d579b7973..a217165a0b 100644 --- a/gen/sqladmin1_beta4-cli/src/main.rs +++ b/gen/sqladmin1_beta4-cli/src/main.rs @@ -5006,7 +5006,7 @@ fn main() { let mut app = App::new("sqladmin1-beta4") .author("Sebastian Thiel ") - .version("1.0.10+20190607") + .version("1.0.11+20190607") .about("Creates and manages Cloud SQL instances, which provide fully managed MySQL or PostgreSQL databases.") .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 c3fae06183..68c593198e 100644 --- a/gen/sqladmin1_beta4/Cargo.toml +++ b/gen/sqladmin1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sqladmin1_beta4" -version = "1.0.10+20190607" +version = "1.0.11+20190607" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sqladmin1_beta4" homepage = "https://cloud.google.com/sql/docs/reference/latest" -documentation = "https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607" +documentation = "https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607" license = "MIT" keywords = ["sqladmin", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/sqladmin1_beta4/README.md b/gen/sqladmin1_beta4/README.md index 0f9221066f..821b33b4ee 100644 --- a/gen/sqladmin1_beta4/README.md +++ b/gen/sqladmin1_beta4/README.md @@ -5,30 +5,30 @@ 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 *1.0.10+20190607*, where *20190607* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *SQL Admin* crate version *1.0.11+20190607*, where *20190607* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *SQL Admin* *v1_beta4* API can be found at the [official documentation site](https://cloud.google.com/sql/docs/reference/latest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SQLAdmin.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SQLAdmin.html) ... -* [backup runs](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.BackupRun.html) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.BackupRunDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.BackupRunGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.BackupRunInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.BackupRunListCall.html) -* [databases](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.Database.html) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.DatabaseDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.DatabaseGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.DatabaseInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.DatabaseListCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.DatabasePatchCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.DatabaseUpdateCall.html) -* [flags](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.Flag.html) - * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.FlagListCall.html) +* [backup runs](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.BackupRun.html) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.BackupRunDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.BackupRunGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.BackupRunInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.BackupRunListCall.html) +* [databases](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.Database.html) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.DatabaseDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.DatabaseGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.DatabaseInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.DatabaseListCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.DatabasePatchCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.DatabaseUpdateCall.html) +* [flags](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.Flag.html) + * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.FlagListCall.html) * instances - * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceAddServerCaCall.html), [*clone*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceCloneCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceDeleteCall.html), [*demote master*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceDemoteMasterCall.html), [*export*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceExportCall.html), [*failover*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceFailoverCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceGetCall.html), [*import*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceImportCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceListCall.html), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceListServerCaCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstancePatchCall.html), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstancePromoteReplicaCall.html), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceResetSslConfigCall.html), [*restart*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceRestartCall.html), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceRestoreBackupCall.html), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceRotateServerCaCall.html), [*start replica*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceStartReplicaCall.html), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceStopReplicaCall.html), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceTruncateLogCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.InstanceUpdateCall.html) -* [operations](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.Operation.html) - * [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.OperationListCall.html) -* [ssl certs](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SslCert.html) - * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SslCertCreateEphemeralCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SslCertDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SslCertGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SslCertInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SslCertListCall.html) -* [tiers](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.Tier.html) - * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.TierListCall.html) -* [users](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.User.html) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.UserDeleteCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.UserInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.UserListCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.UserUpdateCall.html) + * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceAddServerCaCall.html), [*clone*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceCloneCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceDeleteCall.html), [*demote master*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceDemoteMasterCall.html), [*export*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceExportCall.html), [*failover*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceFailoverCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceGetCall.html), [*import*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceImportCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceListCall.html), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceListServerCaCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstancePatchCall.html), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstancePromoteReplicaCall.html), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceResetSslConfigCall.html), [*restart*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceRestartCall.html), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceRestoreBackupCall.html), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceRotateServerCaCall.html), [*start replica*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceStartReplicaCall.html), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceStopReplicaCall.html), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceTruncateLogCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.InstanceUpdateCall.html) +* [operations](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.Operation.html) + * [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.OperationListCall.html) +* [ssl certs](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SslCert.html) + * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SslCertCreateEphemeralCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SslCertDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SslCertGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SslCertInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SslCertListCall.html) +* [tiers](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.Tier.html) + * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.TierListCall.html) +* [users](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.User.html) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.UserDeleteCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.UserInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.UserListCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.UserUpdateCall.html) @@ -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-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/struct.SQLAdmin.html)** +* **[Hub](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/struct.SQLAdmin.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.Part.html)** + * **[Parts](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -174,17 +174,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/enum.Result.html) 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/1.0.10+20190607/google_sqladmin1_beta4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190607/google_sqladmin1_beta4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.CallBuilder.html) 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/1.0.11+20190607/google_sqladmin1_beta4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190607/google_sqladmin1_beta4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-sqladmin1_beta4/1.0.10+20190607/google_sqladmin1_beta4/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.ResponseResult.html) 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/1.0.10+20190607/google_sqladmin1_beta4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190607/google_sqladmin1_beta4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190607/google_sqladmin1_beta4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-sqladmin1_beta4/1.0.11+20190607/google_sqladmin1_beta4/trait.RequestValue.html) are 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/cmn.rs b/gen/sqladmin1_beta4/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/sqladmin1_beta4/src/cmn.rs +++ b/gen/sqladmin1_beta4/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/sqladmin1_beta4/src/lib.rs b/gen/sqladmin1_beta4/src/lib.rs index 46eedc7e79..cba15ea12e 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 *1.0.10+20190607*, where *20190607* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *SQL Admin* crate version *1.0.11+20190607*, where *20190607* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/sql/docs/reference/latest). @@ -378,7 +378,7 @@ impl<'a, C, A> SQLAdmin SQLAdmin { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/sql/v1beta4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -410,7 +410,7 @@ impl<'a, C, A> SQLAdmin } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/storage1-cli/Cargo.toml b/gen/storage1-cli/Cargo.toml index f058efef65..d73d535b8a 100644 --- a/gen/storage1-cli/Cargo.toml +++ b/gen/storage1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storage1-cli" -version = "1.0.10+20190624" +version = "1.0.11+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storage1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-storage1] path = "../storage1" -version = "1.0.10+20190624" +version = "1.0.11+20190624" diff --git a/gen/storage1-cli/README.md b/gen/storage1-cli/README.md index bc8d47a53e..7fda158157 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 *20190624*. The CLI is at version *1.0.10*. +This documentation was generated from the *storage* API at revision *20190624*. The CLI is at version *1.0.11*. ```bash storage1 [options] diff --git a/gen/storage1-cli/mkdocs.yml b/gen/storage1-cli/mkdocs.yml index 48a687acd3..d860fa5f29 100644 --- a/gen/storage1-cli/mkdocs.yml +++ b/gen/storage1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storage v1.0.10+20190624 +site_name: storage v1.0.11+20190624 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 b3d3f5cbec..a293157af2 100644 --- a/gen/storage1-cli/src/main.rs +++ b/gen/storage1-cli/src/main.rs @@ -6421,7 +6421,7 @@ fn main() { let mut app = App::new("storage1") .author("Sebastian Thiel ") - .version("1.0.10+20190624") + .version("1.0.11+20190624") .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/src/cmn.rs b/gen/storage1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/storage1/src/cmn.rs +++ b/gen/storage1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/storagetransfer1-cli/Cargo.toml b/gen/storagetransfer1-cli/Cargo.toml index 41b9c8dc4b..b16d69128c 100644 --- a/gen/storagetransfer1-cli/Cargo.toml +++ b/gen/storagetransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storagetransfer1-cli" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storagetransfer1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-storagetransfer1] path = "../storagetransfer1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" diff --git a/gen/storagetransfer1-cli/README.md b/gen/storagetransfer1-cli/README.md index 33c4063166..ef8281c773 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 *20190702*. The CLI is at version *1.0.10*. +This documentation was generated from the *storagetransfer* API at revision *20190702*. The CLI is at version *1.0.11*. ```bash storagetransfer1 [options] diff --git a/gen/storagetransfer1-cli/mkdocs.yml b/gen/storagetransfer1-cli/mkdocs.yml index 09952ec79d..76f7afbf94 100644 --- a/gen/storagetransfer1-cli/mkdocs.yml +++ b/gen/storagetransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storagetransfer v1.0.10+20190702 +site_name: storagetransfer v1.0.11+20190702 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 4c7419e7ec..f2eafd78fc 100644 --- a/gen/storagetransfer1-cli/src/main.rs +++ b/gen/storagetransfer1-cli/src/main.rs @@ -1267,7 +1267,7 @@ fn main() { let mut app = App::new("storagetransfer1") .author("Sebastian Thiel ") - .version("1.0.10+20190702") + .version("1.0.11+20190702") .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 337838f5c5..9a4adefb91 100644 --- a/gen/storagetransfer1/Cargo.toml +++ b/gen/storagetransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storagetransfer1" -version = "1.0.10+20190702" +version = "1.0.11+20190702" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storagetransfer1" homepage = "https://cloud.google.com/storage-transfer/docs" -documentation = "https://docs.rs/google-storagetransfer1/1.0.10+20190702" +documentation = "https://docs.rs/google-storagetransfer1/1.0.11+20190702" license = "MIT" keywords = ["storagetransfer", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/storagetransfer1/README.md b/gen/storagetransfer1/README.md index 742d98429c..c376ed25d5 100644 --- a/gen/storagetransfer1/README.md +++ b/gen/storagetransfer1/README.md @@ -5,20 +5,20 @@ 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *storagetransfer* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190702/google_storagetransfer1/struct.Storagetransfer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.Storagetransfer.html) ... -* [google service accounts](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.GoogleServiceAccount.html) - * [*get*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.GoogleServiceAccountGetCall.html) -* [transfer jobs](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferJob.html) - * [*create*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferJobCreateCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferJobGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferJobListCall.html) and [*patch*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferJobPatchCall.html) -* [transfer operations](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperation.html) - * [*cancel*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperationCancelCall.html), [*delete*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperationDeleteCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperationGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperationListCall.html), [*pause*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperationPauseCall.html) and [*resume*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.TransferOperationResumeCall.html) +* [google service accounts](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.GoogleServiceAccount.html) + * [*get*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.GoogleServiceAccountGetCall.html) +* [transfer jobs](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferJob.html) + * [*create*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferJobCreateCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferJobGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferJobListCall.html) and [*patch*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferJobPatchCall.html) +* [transfer operations](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperation.html) + * [*cancel*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperationCancelCall.html), [*delete*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperationDeleteCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperationGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperationListCall.html), [*pause*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperationPauseCall.html) and [*resume*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.TransferOperationResumeCall.html) @@ -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-storagetransfer1/1.0.10+20190702/google_storagetransfer1/struct.Storagetransfer.html)** +* **[Hub](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/struct.Storagetransfer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.Part.html)** + * **[Parts](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190702/google_storagetransfer1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.CallBuilder.html) 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/1.0.11+20190702/google_storagetransfer1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190702/google_storagetransfer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-storagetransfer1/1.0.10+20190702/google_storagetransfer1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.ResponseResult.html) 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/1.0.10+20190702/google_storagetransfer1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190702/google_storagetransfer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190702/google_storagetransfer1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-storagetransfer1/1.0.11+20190702/google_storagetransfer1/trait.RequestValue.html) are 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/cmn.rs b/gen/storagetransfer1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/storagetransfer1/src/cmn.rs +++ b/gen/storagetransfer1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/storagetransfer1/src/lib.rs b/gen/storagetransfer1/src/lib.rs index 64b027b72a..7b9ad3d3ba 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 *1.0.10+20190702*, where *20190702* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *storagetransfer* crate version *1.0.11+20190702*, where *20190702* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *storagetransfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/storage-transfer/docs). @@ -332,7 +332,7 @@ impl<'a, C, A> Storagetransfer Storagetransfer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://storagetransfer.googleapis.com/".to_string(), _root_url: "https://storagetransfer.googleapis.com/".to_string(), } @@ -349,7 +349,7 @@ impl<'a, C, A> Storagetransfer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/surveys2-cli/Cargo.toml b/gen/surveys2-cli/Cargo.toml index 8ae76e859f..09b6022aaa 100644 --- a/gen/surveys2-cli/Cargo.toml +++ b/gen/surveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-surveys2-cli" -version = "1.0.10+20180508" +version = "1.0.11+20180508" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/surveys2-cli" @@ -26,16 +26,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-surveys2] path = "../surveys2" -version = "1.0.10+20180508" +version = "1.0.11+20180508" diff --git a/gen/surveys2-cli/README.md b/gen/surveys2-cli/README.md index 03335789de..ce97883d0d 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 *1.0.10*. +This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *1.0.11*. ```bash surveys2 [options] diff --git a/gen/surveys2-cli/mkdocs.yml b/gen/surveys2-cli/mkdocs.yml index 139dbf5658..a023b82ac9 100644 --- a/gen/surveys2-cli/mkdocs.yml +++ b/gen/surveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Surveys v1.0.10+20180508 +site_name: Surveys v1.0.11+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 54712a9ae3..aaec0df66d 100644 --- a/gen/surveys2-cli/src/main.rs +++ b/gen/surveys2-cli/src/main.rs @@ -974,7 +974,7 @@ fn main() { let mut app = App::new("surveys2") .author("Sebastian Thiel ") - .version("1.0.10+20180508") + .version("1.0.11+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 fc02645cb9..d4455aa345 100644 --- a/gen/surveys2/Cargo.toml +++ b/gen/surveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-surveys2" -version = "1.0.10+20180508" +version = "1.0.11+20180508" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/surveys2" -documentation = "https://docs.rs/google-surveys2/1.0.10+20180508" +documentation = "https://docs.rs/google-surveys2/1.0.11+20180508" license = "MIT" keywords = ["surveys", "google", "protocol", "web", "api"] autobins = false @@ -23,9 +23,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/surveys2/README.md b/gen/surveys2/README.md index 2962b4cde8..4baceab76c 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 *1.0.10+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Surveys* crate version *1.0.11+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.Surveys.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.Surveys.html) ... * results - * [*get*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.ResultGetCall.html) -* [surveys](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.Survey.html) - * [*delete*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyDeleteCall.html), [*get*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyGetCall.html), [*insert*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyInsertCall.html), [*list*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyListCall.html), [*start*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyStartCall.html), [*stop*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyStopCall.html) and [*update*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.SurveyUpdateCall.html) + * [*get*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.ResultGetCall.html) +* [surveys](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.Survey.html) + * [*delete*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyDeleteCall.html), [*get*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyGetCall.html), [*insert*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyInsertCall.html), [*list*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyListCall.html), [*start*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyStartCall.html), [*stop*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyStopCall.html) and [*update*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.SurveyUpdateCall.html) Download supported by ... -* [*get results*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.ResultGetCall.html) +* [*get results*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.ResultGetCall.html) @@ -26,17 +26,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/struct.Surveys.html)** +* **[Hub](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/struct.Surveys.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.Part.html)** + * **[Parts](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20180508/google_surveys2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-surveys2/1.0.10+20180508/google_surveys2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.CallBuilder.html) 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/1.0.11+20180508/google_surveys2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20180508/google_surveys2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-surveys2/1.0.10+20180508/google_surveys2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.ResponseResult.html) 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/1.0.10+20180508/google_surveys2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20180508/google_surveys2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20180508/google_surveys2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-surveys2/1.0.11+20180508/google_surveys2/trait.RequestValue.html) are 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/cmn.rs b/gen/surveys2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/surveys2/src/cmn.rs +++ b/gen/surveys2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/surveys2/src/lib.rs b/gen/surveys2/src/lib.rs index 8c25801f2c..7cb7878a54 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 *1.0.10+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Surveys* crate version *1.0.11+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/surveys2). //! # Features //! @@ -340,7 +340,7 @@ impl<'a, C, A> Surveys Surveys { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/surveys/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -354,7 +354,7 @@ impl<'a, C, A> Surveys } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tagmanager1-cli/Cargo.toml b/gen/tagmanager1-cli/Cargo.toml index f4149c8d9f..0b273e6ee1 100644 --- a/gen/tagmanager1-cli/Cargo.toml +++ b/gen/tagmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager1-cli" -version = "1.0.10+20190516" +version = "1.0.11+20190516" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tagmanager1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-tagmanager1] path = "../tagmanager1" -version = "1.0.10+20190516" +version = "1.0.11+20190516" diff --git a/gen/tagmanager1-cli/README.md b/gen/tagmanager1-cli/README.md index c967547233..fad52ee497 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 *20190516*. The CLI is at version *1.0.10*. +This documentation was generated from the *Tag Manager* API at revision *20190516*. The CLI is at version *1.0.11*. ```bash tagmanager1 [options] diff --git a/gen/tagmanager1-cli/mkdocs.yml b/gen/tagmanager1-cli/mkdocs.yml index 5b978b48dc..bc98d504e4 100644 --- a/gen/tagmanager1-cli/mkdocs.yml +++ b/gen/tagmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v1.0.10+20190516 +site_name: Tag Manager v1.0.11+20190516 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 12ee8adaeb..dcf47b3fdd 100644 --- a/gen/tagmanager1-cli/src/main.rs +++ b/gen/tagmanager1-cli/src/main.rs @@ -5246,7 +5246,7 @@ fn main() { let mut app = App::new("tagmanager1") .author("Sebastian Thiel ") - .version("1.0.10+20190516") + .version("1.0.11+20190516") .about("Accesses Tag Manager accounts and containers.") .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 21082386c7..60c5a913c1 100644 --- a/gen/tagmanager1/Cargo.toml +++ b/gen/tagmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager1" -version = "1.0.10+20190516" +version = "1.0.11+20190516" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tagmanager1" homepage = "https://developers.google.com/tag-manager/api/v1/" -documentation = "https://docs.rs/google-tagmanager1/1.0.10+20190516" +documentation = "https://docs.rs/google-tagmanager1/1.0.11+20190516" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/tagmanager1/README.md b/gen/tagmanager1/README.md index bcda711223..e0a37dcb3b 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 *1.0.10+20190516*, where *20190516* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Tag Manager* crate version *1.0.11+20190516*, where *20190516* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Tag Manager* *v1* API can be found at the [official documentation site](https://developers.google.com/tag-manager/api/v1/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.TagManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.TagManager.html) ... -* [accounts](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.Account.html) - * [*containers create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerCreateCall.html), [*containers delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerDeleteCall.html), [*containers environments create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerEnvironmentCreateCall.html), [*containers environments delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerEnvironmentDeleteCall.html), [*containers environments get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerEnvironmentGetCall.html), [*containers environments list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerEnvironmentListCall.html), [*containers environments update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerEnvironmentUpdateCall.html), [*containers folders create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerFolderCreateCall.html), [*containers folders delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerFolderDeleteCall.html), [*containers folders entities list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerFolderEntityListCall.html), [*containers folders get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerFolderGetCall.html), [*containers folders list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerFolderListCall.html), [*containers folders update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerFolderUpdateCall.html), [*containers get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerGetCall.html), [*containers list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerListCall.html), [*containers move_folders update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerMoveFolderUpdateCall.html), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerReauthorizeEnvironmentUpdateCall.html), [*containers tags create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTagCreateCall.html), [*containers tags delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTagDeleteCall.html), [*containers tags get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTagGetCall.html), [*containers tags list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTagListCall.html), [*containers tags update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTagUpdateCall.html), [*containers triggers create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTriggerCreateCall.html), [*containers triggers delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTriggerDeleteCall.html), [*containers triggers get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTriggerGetCall.html), [*containers triggers list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTriggerListCall.html), [*containers triggers update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerTriggerUpdateCall.html), [*containers update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerUpdateCall.html), [*containers variables create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVariableCreateCall.html), [*containers variables delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVariableDeleteCall.html), [*containers variables get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVariableGetCall.html), [*containers variables list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVariableListCall.html), [*containers variables update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVariableUpdateCall.html), [*containers versions create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionCreateCall.html), [*containers versions delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionDeleteCall.html), [*containers versions get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionGetCall.html), [*containers versions list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionListCall.html), [*containers versions publish*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionPublishCall.html), [*containers versions restore*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionRestoreCall.html), [*containers versions undelete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionUndeleteCall.html), [*containers versions update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountContainerVersionUpdateCall.html), [*get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountListCall.html), [*permissions create*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountPermissionCreateCall.html), [*permissions delete*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountPermissionDeleteCall.html), [*permissions get*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountPermissionGetCall.html), [*permissions list*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountPermissionListCall.html), [*permissions update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountPermissionUpdateCall.html) and [*update*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/struct.AccountUpdateCall.html) +* [accounts](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.Account.html) + * [*containers create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerCreateCall.html), [*containers delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerDeleteCall.html), [*containers environments create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerEnvironmentCreateCall.html), [*containers environments delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerEnvironmentDeleteCall.html), [*containers environments get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerEnvironmentGetCall.html), [*containers environments list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerEnvironmentListCall.html), [*containers environments update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerEnvironmentUpdateCall.html), [*containers folders create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerFolderCreateCall.html), [*containers folders delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerFolderDeleteCall.html), [*containers folders entities list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerFolderEntityListCall.html), [*containers folders get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerFolderGetCall.html), [*containers folders list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerFolderListCall.html), [*containers folders update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerFolderUpdateCall.html), [*containers get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerGetCall.html), [*containers list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerListCall.html), [*containers move_folders update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerMoveFolderUpdateCall.html), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerReauthorizeEnvironmentUpdateCall.html), [*containers tags create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTagCreateCall.html), [*containers tags delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTagDeleteCall.html), [*containers tags get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTagGetCall.html), [*containers tags list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTagListCall.html), [*containers tags update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTagUpdateCall.html), [*containers triggers create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTriggerCreateCall.html), [*containers triggers delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTriggerDeleteCall.html), [*containers triggers get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTriggerGetCall.html), [*containers triggers list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTriggerListCall.html), [*containers triggers update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerTriggerUpdateCall.html), [*containers update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerUpdateCall.html), [*containers variables create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVariableCreateCall.html), [*containers variables delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVariableDeleteCall.html), [*containers variables get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVariableGetCall.html), [*containers variables list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVariableListCall.html), [*containers variables update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVariableUpdateCall.html), [*containers versions create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionCreateCall.html), [*containers versions delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionDeleteCall.html), [*containers versions get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionGetCall.html), [*containers versions list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionListCall.html), [*containers versions publish*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionPublishCall.html), [*containers versions restore*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionRestoreCall.html), [*containers versions undelete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionUndeleteCall.html), [*containers versions update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountContainerVersionUpdateCall.html), [*get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountListCall.html), [*permissions create*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountPermissionCreateCall.html), [*permissions delete*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountPermissionDeleteCall.html), [*permissions get*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountPermissionGetCall.html), [*permissions list*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountPermissionListCall.html), [*permissions update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountPermissionUpdateCall.html) and [*update*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.AccountUpdateCall.html) @@ -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/1.0.10+20190516/google_tagmanager1/struct.TagManager.html)** +* **[Hub](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/struct.TagManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -181,17 +181,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190516/google_tagmanager1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.CallBuilder.html) 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/1.0.11+20190516/google_tagmanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190516/google_tagmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tagmanager1/1.0.10+20190516/google_tagmanager1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.ResponseResult.html) 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/1.0.10+20190516/google_tagmanager1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190516/google_tagmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190516/google_tagmanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tagmanager1/1.0.11+20190516/google_tagmanager1/trait.RequestValue.html) are 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/cmn.rs b/gen/tagmanager1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/tagmanager1/src/cmn.rs +++ b/gen/tagmanager1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/tagmanager1/src/lib.rs b/gen/tagmanager1/src/lib.rs index b584c7ef58..0e1148ff5b 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 *1.0.10+20190516*, where *20190516* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Tag Manager* crate version *1.0.11+20190516*, where *20190516* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Tag Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager/api/v1/). @@ -407,7 +407,7 @@ impl<'a, C, A> TagManager TagManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/tagmanager/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -418,7 +418,7 @@ impl<'a, C, A> TagManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tagmanager2-cli/Cargo.toml b/gen/tagmanager2-cli/Cargo.toml index bb71c914e5..c6a6184885 100644 --- a/gen/tagmanager2-cli/Cargo.toml +++ b/gen/tagmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager2-cli" -version = "1.0.10+20190516" +version = "1.0.11+20190516" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tagmanager2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-tagmanager2] path = "../tagmanager2" -version = "1.0.10+20190516" +version = "1.0.11+20190516" diff --git a/gen/tagmanager2-cli/README.md b/gen/tagmanager2-cli/README.md index 8ad45f0248..3cd8cd89fd 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 *20190516*. The CLI is at version *1.0.10*. +This documentation was generated from the *Tag Manager* API at revision *20190516*. The CLI is at version *1.0.11*. ```bash tagmanager2 [options] diff --git a/gen/tagmanager2-cli/mkdocs.yml b/gen/tagmanager2-cli/mkdocs.yml index fa70e646db..872ecc4af0 100644 --- a/gen/tagmanager2-cli/mkdocs.yml +++ b/gen/tagmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v1.0.10+20190516 +site_name: Tag Manager v1.0.11+20190516 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 f972b3970d..e151d99f0c 100644 --- a/gen/tagmanager2-cli/src/main.rs +++ b/gen/tagmanager2-cli/src/main.rs @@ -7792,7 +7792,7 @@ fn main() { let mut app = App::new("tagmanager2") .author("Sebastian Thiel ") - .version("1.0.10+20190516") + .version("1.0.11+20190516") .about("Accesses Tag Manager accounts and containers.") .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 f7398b3ae1..746e3ac6ea 100644 --- a/gen/tagmanager2/Cargo.toml +++ b/gen/tagmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager2" -version = "1.0.10+20190516" +version = "1.0.11+20190516" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tagmanager2" homepage = "https://developers.google.com/tag-manager/api/v2/" -documentation = "https://docs.rs/google-tagmanager2/1.0.10+20190516" +documentation = "https://docs.rs/google-tagmanager2/1.0.11+20190516" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/tagmanager2/README.md b/gen/tagmanager2/README.md index f6417545b4..565d642cfe 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 *1.0.10+20190516*, where *20190516* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Tag Manager* crate version *1.0.11+20190516*, where *20190516* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *Tag Manager* *v2* API can be found at the [official documentation site](https://developers.google.com/tag-manager/api/v2/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.TagManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.TagManager.html) ... -* [accounts](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.Account.html) - * [*containers create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerCreateCall.html), [*containers delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerDeleteCall.html), [*containers environments create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerEnvironmentCreateCall.html), [*containers environments delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerEnvironmentDeleteCall.html), [*containers environments get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerEnvironmentGetCall.html), [*containers environments list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerEnvironmentListCall.html), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerEnvironmentReauthorizeCall.html), [*containers environments update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerEnvironmentUpdateCall.html), [*containers get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerGetCall.html), [*containers list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerListCall.html), [*containers update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerUpdateCall.html), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionHeaderLatestCall.html), [*containers version_headers list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionHeaderListCall.html), [*containers versions delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionDeleteCall.html), [*containers versions get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionGetCall.html), [*containers versions live*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionLiveCall.html), [*containers versions publish*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionPublishCall.html), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionSetLatestCall.html), [*containers versions undelete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionUndeleteCall.html), [*containers versions update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerVersionUpdateCall.html), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableCreateCall.html), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableDeleteCall.html), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableListCall.html), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableRevertCall.html), [*containers workspaces create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceCreateCall.html), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceCreateVersionCall.html), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceDeleteCall.html), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderCreateCall.html), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderDeleteCall.html), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderEntityCall.html), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderGetCall.html), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderListCall.html), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderMoveEntitiesToFolderCall.html), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderRevertCall.html), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderUpdateCall.html), [*containers workspaces get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceGetCall.html), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceGetStatuCall.html), [*containers workspaces list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceListCall.html), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceQuickPreviewCall.html), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceResolveConflictCall.html), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceSyncCall.html), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagCreateCall.html), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagDeleteCall.html), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagGetCall.html), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagListCall.html), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagRevertCall.html), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagUpdateCall.html), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateCreateCall.html), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateDeleteCall.html), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateGetCall.html), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateListCall.html), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateRevertCall.html), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateUpdateCall.html), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerCreateCall.html), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerDeleteCall.html), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerGetCall.html), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerListCall.html), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerRevertCall.html), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerUpdateCall.html), [*containers workspaces update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceUpdateCall.html), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableCreateCall.html), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableDeleteCall.html), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableGetCall.html), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableListCall.html), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableRevertCall.html), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableUpdateCall.html), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneCreateCall.html), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneDeleteCall.html), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneGetCall.html), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneListCall.html), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneRevertCall.html), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneUpdateCall.html), [*get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountListCall.html), [*update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountUpdateCall.html), [*user_permissions create*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountUserPermissionCreateCall.html), [*user_permissions delete*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountUserPermissionDeleteCall.html), [*user_permissions get*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountUserPermissionGetCall.html), [*user_permissions list*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountUserPermissionListCall.html) and [*user_permissions update*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/struct.AccountUserPermissionUpdateCall.html) +* [accounts](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.Account.html) + * [*containers create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerCreateCall.html), [*containers delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerDeleteCall.html), [*containers environments create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerEnvironmentCreateCall.html), [*containers environments delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerEnvironmentDeleteCall.html), [*containers environments get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerEnvironmentGetCall.html), [*containers environments list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerEnvironmentListCall.html), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerEnvironmentReauthorizeCall.html), [*containers environments update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerEnvironmentUpdateCall.html), [*containers get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerGetCall.html), [*containers list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerListCall.html), [*containers update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerUpdateCall.html), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionHeaderLatestCall.html), [*containers version_headers list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionHeaderListCall.html), [*containers versions delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionDeleteCall.html), [*containers versions get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionGetCall.html), [*containers versions live*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionLiveCall.html), [*containers versions publish*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionPublishCall.html), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionSetLatestCall.html), [*containers versions undelete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionUndeleteCall.html), [*containers versions update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerVersionUpdateCall.html), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableCreateCall.html), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableDeleteCall.html), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableListCall.html), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceBuiltInVariableRevertCall.html), [*containers workspaces create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceCreateCall.html), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceCreateVersionCall.html), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceDeleteCall.html), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderCreateCall.html), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderDeleteCall.html), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderEntityCall.html), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderGetCall.html), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderListCall.html), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderMoveEntitiesToFolderCall.html), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderRevertCall.html), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceFolderUpdateCall.html), [*containers workspaces get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceGetCall.html), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceGetStatuCall.html), [*containers workspaces list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceListCall.html), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceQuickPreviewCall.html), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceResolveConflictCall.html), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceSyncCall.html), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagCreateCall.html), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagDeleteCall.html), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagGetCall.html), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagListCall.html), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagRevertCall.html), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTagUpdateCall.html), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateCreateCall.html), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateDeleteCall.html), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateGetCall.html), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateListCall.html), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateRevertCall.html), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTemplateUpdateCall.html), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerCreateCall.html), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerDeleteCall.html), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerGetCall.html), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerListCall.html), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerRevertCall.html), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceTriggerUpdateCall.html), [*containers workspaces update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceUpdateCall.html), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableCreateCall.html), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableDeleteCall.html), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableGetCall.html), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableListCall.html), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableRevertCall.html), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceVariableUpdateCall.html), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneCreateCall.html), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneDeleteCall.html), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneGetCall.html), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneListCall.html), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneRevertCall.html), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountContainerWorkspaceZoneUpdateCall.html), [*get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountListCall.html), [*update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountUpdateCall.html), [*user_permissions create*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountUserPermissionCreateCall.html), [*user_permissions delete*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountUserPermissionDeleteCall.html), [*user_permissions get*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountUserPermissionGetCall.html), [*user_permissions list*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountUserPermissionListCall.html) and [*user_permissions update*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.AccountUserPermissionUpdateCall.html) @@ -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/1.0.10+20190516/google_tagmanager2/struct.TagManager.html)** +* **[Hub](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/struct.TagManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.Part.html)** + * **[Parts](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -212,17 +212,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190516/google_tagmanager2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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/1.0.10+20190516/google_tagmanager2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.CallBuilder.html) 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/1.0.11+20190516/google_tagmanager2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190516/google_tagmanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tagmanager2/1.0.10+20190516/google_tagmanager2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.ResponseResult.html) 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/1.0.10+20190516/google_tagmanager2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190516/google_tagmanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190516/google_tagmanager2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tagmanager2/1.0.11+20190516/google_tagmanager2/trait.RequestValue.html) are 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/cmn.rs b/gen/tagmanager2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/tagmanager2/src/cmn.rs +++ b/gen/tagmanager2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/tagmanager2/src/lib.rs b/gen/tagmanager2/src/lib.rs index 77390067ef..6f6716b8b0 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 *1.0.10+20190516*, where *20190516* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Tag Manager* crate version *1.0.11+20190516*, where *20190516* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Tag Manager* *v2* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager/api/v2/). @@ -438,7 +438,7 @@ impl<'a, C, A> TagManager TagManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/tagmanager/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -449,7 +449,7 @@ impl<'a, C, A> TagManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/taskqueue1_beta2-cli/Cargo.toml b/gen/taskqueue1_beta2-cli/Cargo.toml index 62ce090eac..3ab1ec62f0 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 = "1.0.10+20160428" +version = "1.0.11+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/taskqueue1_beta2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-taskqueue1_beta2] path = "../taskqueue1_beta2" -version = "1.0.10+20160428" +version = "1.0.11+20160428" diff --git a/gen/taskqueue1_beta2-cli/README.md b/gen/taskqueue1_beta2-cli/README.md index 9f72ea7347..9ac0ccddce 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 *1.0.10*. +This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *1.0.11*. ```bash taskqueue1-beta2 [options] diff --git a/gen/taskqueue1_beta2-cli/mkdocs.yml b/gen/taskqueue1_beta2-cli/mkdocs.yml index 40f00c216b..0eca2de364 100644 --- a/gen/taskqueue1_beta2-cli/mkdocs.yml +++ b/gen/taskqueue1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: taskqueue v1.0.10+20160428 +site_name: taskqueue v1.0.11+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 3d911c2101..31b2421267 100644 --- a/gen/taskqueue1_beta2-cli/src/main.rs +++ b/gen/taskqueue1_beta2-cli/src/main.rs @@ -1010,7 +1010,7 @@ fn main() { let mut app = App::new("taskqueue1-beta2") .author("Sebastian Thiel ") - .version("1.0.10+20160428") + .version("1.0.11+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 4243b0f2d4..b028c4427c 100644 --- a/gen/taskqueue1_beta2/Cargo.toml +++ b/gen/taskqueue1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-taskqueue1_beta2" -version = "1.0.10+20160428" +version = "1.0.11+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/taskqueue1_beta2" homepage = "https://developers.google.com/appengine/docs/python/taskqueue/rest" -documentation = "https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428" +documentation = "https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428" license = "MIT" keywords = ["taskqueue", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/taskqueue1_beta2/README.md b/gen/taskqueue1_beta2/README.md index 7e57de4bfe..536522a626 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 *1.0.10+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *taskqueue* crate version *1.0.11+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160428/google_taskqueue1_beta2/struct.Taskqueue.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.Taskqueue.html) ... * taskqueues - * [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskqueueGetCall.html) -* [tasks](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.Task.html) - * [*delete*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskInsertCall.html), [*lease*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskLeaseCall.html), [*list*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskListCall.html), [*patch*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/struct.TaskUpdateCall.html) + * [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskqueueGetCall.html) +* [tasks](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.Task.html) + * [*delete*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskInsertCall.html), [*lease*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskLeaseCall.html), [*list*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskListCall.html), [*patch*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.TaskUpdateCall.html) @@ -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/1.0.10+20160428/google_taskqueue1_beta2/struct.Taskqueue.html)** +* **[Hub](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/struct.Taskqueue.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/enum.Result.html) 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/1.0.10+20160428/google_taskqueue1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160428/google_taskqueue1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.CallBuilder.html) 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/1.0.11+20160428/google_taskqueue1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160428/google_taskqueue1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-taskqueue1_beta2/1.0.10+20160428/google_taskqueue1_beta2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.ResponseResult.html) 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/1.0.10+20160428/google_taskqueue1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160428/google_taskqueue1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160428/google_taskqueue1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-taskqueue1_beta2/1.0.11+20160428/google_taskqueue1_beta2/trait.RequestValue.html) are 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/cmn.rs b/gen/taskqueue1_beta2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/taskqueue1_beta2/src/cmn.rs +++ b/gen/taskqueue1_beta2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/taskqueue1_beta2/src/lib.rs b/gen/taskqueue1_beta2/src/lib.rs index ffd08592ab..ae244d078e 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 *1.0.10+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *taskqueue* crate version *1.0.11+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -333,7 +333,7 @@ impl<'a, C, A> Taskqueue Taskqueue { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/taskqueue/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> Taskqueue } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tasks1-cli/Cargo.toml b/gen/tasks1-cli/Cargo.toml index f1742a8673..1cb79a3b83 100644 --- a/gen/tasks1-cli/Cargo.toml +++ b/gen/tasks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tasks1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tasks1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-tasks1] path = "../tasks1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/tasks1-cli/README.md b/gen/tasks1-cli/README.md index 355cf6e32f..04fdb90d92 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *tasks* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash tasks1 [options] diff --git a/gen/tasks1-cli/mkdocs.yml b/gen/tasks1-cli/mkdocs.yml index ae2bd17e72..d4dbb91ea1 100644 --- a/gen/tasks1-cli/mkdocs.yml +++ b/gen/tasks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: tasks v1.0.10+20190628 +site_name: tasks v1.0.11+20190628 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 35a5a11004..11b24854ea 100644 --- a/gen/tasks1-cli/src/main.rs +++ b/gen/tasks1-cli/src/main.rs @@ -1553,7 +1553,7 @@ fn main() { let mut app = App::new("tasks1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .about("Manages 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 c2dc55da86..7673a25539 100644 --- a/gen/tasks1/Cargo.toml +++ b/gen/tasks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tasks1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tasks1" homepage = "https://developers.google.com/google-apps/tasks/firstapp" -documentation = "https://docs.rs/google-tasks1/1.0.10+20190628" +documentation = "https://docs.rs/google-tasks1/1.0.11+20190628" license = "MIT" keywords = ["tasks", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/tasks1/README.md b/gen/tasks1/README.md index 66f2bab1f4..515bf73f6e 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *tasks* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *tasks* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/tasks/firstapp). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasksHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasksHub.html) ... * tasklists - * [*delete*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasklistDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasklistGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasklistInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasklistListCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasklistPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TasklistUpdateCall.html) -* [tasks](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.Task.html) - * [*clear*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskClearCall.html), [*delete*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskListCall.html), [*move*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskMoveCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/struct.TaskUpdateCall.html) + * [*delete*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasklistDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasklistGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasklistInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasklistListCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasklistPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasklistUpdateCall.html) +* [tasks](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.Task.html) + * [*clear*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskClearCall.html), [*delete*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskListCall.html), [*move*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskMoveCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TaskUpdateCall.html) @@ -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/1.0.10+20190628/google_tasks1/struct.TasksHub.html)** +* **[Hub](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/struct.TasksHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.Part.html)** + * **[Parts](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_tasks1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-tasks1/1.0.10+20190628/google_tasks1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.CallBuilder.html) 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/1.0.11+20190628/google_tasks1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_tasks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tasks1/1.0.10+20190628/google_tasks1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.ResponseResult.html) 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/1.0.10+20190628/google_tasks1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_tasks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_tasks1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tasks1/1.0.11+20190628/google_tasks1/trait.RequestValue.html) are 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/cmn.rs b/gen/tasks1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/tasks1/src/cmn.rs +++ b/gen/tasks1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/tasks1/src/lib.rs b/gen/tasks1/src/lib.rs index 437cf83c36..57bd837d86 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *tasks* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *tasks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/tasks/firstapp). @@ -350,7 +350,7 @@ impl<'a, C, A> TasksHub TasksHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/tasks/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -364,7 +364,7 @@ impl<'a, C, A> TasksHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/testing1-cli/Cargo.toml b/gen/testing1-cli/Cargo.toml index 5271c9fb31..2768733fe6 100644 --- a/gen/testing1-cli/Cargo.toml +++ b/gen/testing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-testing1-cli" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with testing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/testing1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-testing1] path = "../testing1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" diff --git a/gen/testing1-cli/README.md b/gen/testing1-cli/README.md index a0766f8d81..b65cf2eb07 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 *20190627*. The CLI is at version *1.0.10*. +This documentation was generated from the *testing* API at revision *20190627*. The CLI is at version *1.0.11*. ```bash testing1 [options] diff --git a/gen/testing1-cli/mkdocs.yml b/gen/testing1-cli/mkdocs.yml index aa2fa85778..ad261fcbf8 100644 --- a/gen/testing1-cli/mkdocs.yml +++ b/gen/testing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: testing v1.0.10+20190627 +site_name: testing v1.0.11+20190627 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 a65099cbac..440bb0a750 100644 --- a/gen/testing1-cli/src/main.rs +++ b/gen/testing1-cli/src/main.rs @@ -726,7 +726,7 @@ fn main() { let mut app = App::new("testing1") .author("Sebastian Thiel ") - .version("1.0.10+20190627") + .version("1.0.11+20190627") .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 d97b8ac1d7..8843d096c5 100644 --- a/gen/testing1/Cargo.toml +++ b/gen/testing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-testing1" -version = "1.0.10+20190627" +version = "1.0.11+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with testing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/testing1" homepage = "https://developers.google.com/cloud-test-lab/" -documentation = "https://docs.rs/google-testing1/1.0.10+20190627" +documentation = "https://docs.rs/google-testing1/1.0.11+20190627" license = "MIT" keywords = ["testing", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/testing1/README.md b/gen/testing1/README.md index af82594cac..8f46ad24d7 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *testing* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190627/google_testing1/struct.Testing.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.Testing.html) ... * application detail service - * [*get apk details*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/struct.ApplicationDetailServiceGetApkDetailCall.html) + * [*get apk details*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.ApplicationDetailServiceGetApkDetailCall.html) * projects - * [*test matrices cancel*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/struct.ProjectTestMatriceCancelCall.html), [*test matrices create*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/struct.ProjectTestMatriceCreateCall.html) and [*test matrices get*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/struct.ProjectTestMatriceGetCall.html) -* [test environment catalog](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/struct.TestEnvironmentCatalog.html) - * [*get*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/struct.TestEnvironmentCatalogGetCall.html) + * [*test matrices cancel*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.ProjectTestMatriceCancelCall.html), [*test matrices create*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.ProjectTestMatriceCreateCall.html) and [*test matrices get*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.ProjectTestMatriceGetCall.html) +* [test environment catalog](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.TestEnvironmentCatalog.html) + * [*get*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.TestEnvironmentCatalogGetCall.html) @@ -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/1.0.10+20190627/google_testing1/struct.Testing.html)** +* **[Hub](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/struct.Testing.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.Part.html)** + * **[Parts](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190627/google_testing1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-testing1/1.0.10+20190627/google_testing1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.CallBuilder.html) 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/1.0.11+20190627/google_testing1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190627/google_testing1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-testing1/1.0.10+20190627/google_testing1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.ResponseResult.html) 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/1.0.10+20190627/google_testing1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190627/google_testing1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190627/google_testing1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-testing1/1.0.11+20190627/google_testing1/trait.RequestValue.html) are 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/cmn.rs b/gen/testing1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/testing1/src/cmn.rs +++ b/gen/testing1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/testing1/src/lib.rs b/gen/testing1/src/lib.rs index 8194f5f746..02472eb282 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 *1.0.10+20190627*, where *20190627* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *testing* crate version *1.0.11+20190627*, where *20190627* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *testing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-test-lab/). @@ -340,7 +340,7 @@ impl<'a, C, A> Testing Testing { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://testing.googleapis.com/".to_string(), _root_url: "https://testing.googleapis.com/".to_string(), } @@ -357,7 +357,7 @@ impl<'a, C, A> Testing } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/texttospeech1-cli/Cargo.toml b/gen/texttospeech1-cli/Cargo.toml index 8a8d703d3c..971a239d41 100644 --- a/gen/texttospeech1-cli/Cargo.toml +++ b/gen/texttospeech1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-texttospeech1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Texttospeech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/texttospeech1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-texttospeech1] path = "../texttospeech1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/texttospeech1-cli/README.md b/gen/texttospeech1-cli/README.md index 74d349c845..c490f319a4 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Texttospeech* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash texttospeech1 [options] diff --git a/gen/texttospeech1-cli/mkdocs.yml b/gen/texttospeech1-cli/mkdocs.yml index 5b04165f04..4709f7632d 100644 --- a/gen/texttospeech1-cli/mkdocs.yml +++ b/gen/texttospeech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Texttospeech v1.0.10+20190628 +site_name: Texttospeech v1.0.11+20190628 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 f1f6b74091..10298728d6 100644 --- a/gen/texttospeech1-cli/src/main.rs +++ b/gen/texttospeech1-cli/src/main.rs @@ -358,7 +358,7 @@ fn main() { let mut app = App::new("texttospeech1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 f523c979dd..9b1cdadede 100644 --- a/gen/texttospeech1/Cargo.toml +++ b/gen/texttospeech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-texttospeech1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Texttospeech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/texttospeech1" homepage = "https://cloud.google.com/text-to-speech/" -documentation = "https://docs.rs/google-texttospeech1/1.0.10+20190628" +documentation = "https://docs.rs/google-texttospeech1/1.0.11+20190628" license = "MIT" keywords = ["texttospeech", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/texttospeech1/README.md b/gen/texttospeech1/README.md index 06abd2d540..8ea0ec040a 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Texttospeech* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_texttospeech1/struct.Texttospeech.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/struct.Texttospeech.html) ... * text - * [*synthesize*](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/struct.TextSynthesizeCall.html) -* [voices](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/struct.Voice.html) - * [*list*](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/struct.VoiceListCall.html) + * [*synthesize*](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/struct.TextSynthesizeCall.html) +* [voices](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/struct.Voice.html) + * [*list*](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/struct.VoiceListCall.html) @@ -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/1.0.10+20190628/google_texttospeech1/struct.Texttospeech.html)** +* **[Hub](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/struct.Texttospeech.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.Part.html)** + * **[Parts](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_texttospeech1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.CallBuilder.html) 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/1.0.11+20190628/google_texttospeech1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_texttospeech1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-texttospeech1/1.0.10+20190628/google_texttospeech1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.ResponseResult.html) 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/1.0.10+20190628/google_texttospeech1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_texttospeech1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_texttospeech1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-texttospeech1/1.0.11+20190628/google_texttospeech1/trait.RequestValue.html) are 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/cmn.rs b/gen/texttospeech1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/texttospeech1/src/cmn.rs +++ b/gen/texttospeech1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/texttospeech1/src/lib.rs b/gen/texttospeech1/src/lib.rs index b8cb6bc18c..873258ad10 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Texttospeech* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Texttospeech* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/text-to-speech/). @@ -321,7 +321,7 @@ impl<'a, C, A> Texttospeech Texttospeech { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://texttospeech.googleapis.com/".to_string(), _root_url: "https://texttospeech.googleapis.com/".to_string(), } @@ -335,7 +335,7 @@ impl<'a, C, A> Texttospeech } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tpu1-cli/Cargo.toml b/gen/tpu1-cli/Cargo.toml index bbaf0a1724..35538d0579 100644 --- a/gen/tpu1-cli/Cargo.toml +++ b/gen/tpu1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tpu1-cli" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tpu1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-tpu1] path = "../tpu1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" diff --git a/gen/tpu1-cli/README.md b/gen/tpu1-cli/README.md index 5348968603..402ee91601 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 *20190619*. The CLI is at version *1.0.10*. +This documentation was generated from the *TPU* API at revision *20190619*. The CLI is at version *1.0.11*. ```bash tpu1 [options] diff --git a/gen/tpu1-cli/mkdocs.yml b/gen/tpu1-cli/mkdocs.yml index b3836d0df0..bf8e98a8ee 100644 --- a/gen/tpu1-cli/mkdocs.yml +++ b/gen/tpu1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v1.0.10+20190619 +site_name: TPU v1.0.11+20190619 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 6aa628877a..7dbcc31ae1 100644 --- a/gen/tpu1-cli/src/main.rs +++ b/gen/tpu1-cli/src/main.rs @@ -1709,7 +1709,7 @@ fn main() { let mut app = App::new("tpu1") .author("Sebastian Thiel ") - .version("1.0.10+20190619") + .version("1.0.11+20190619") .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 7bcde1dc83..b6bf272cee 100644 --- a/gen/tpu1/Cargo.toml +++ b/gen/tpu1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tpu1" homepage = "https://cloud.google.com/tpu/" -documentation = "https://docs.rs/google-tpu1/1.0.10+20190619" +documentation = "https://docs.rs/google-tpu1/1.0.11+20190619" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/tpu1/README.md b/gen/tpu1/README.md index fb10e95621..dae9d8b620 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *TPU* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190619/google_tpu1/struct.TPU.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.TPU.html) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationAcceleratorTypeGetCall.html), [*locations accelerator types list*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationAcceleratorTypeListCall.html), [*locations get*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationListCall.html), [*locations nodes create*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeCreateCall.html), [*locations nodes delete*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeDeleteCall.html), [*locations nodes get*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeGetCall.html), [*locations nodes list*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeListCall.html), [*locations nodes reimage*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeReimageCall.html), [*locations nodes start*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeStartCall.html), [*locations nodes stop*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationNodeStopCall.html), [*locations operations cancel*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationOperationGetCall.html), [*locations operations list*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationOperationListCall.html), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationTensorflowVersionGetCall.html) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/struct.ProjectLocationTensorflowVersionListCall.html) + * [*locations accelerator types get*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationAcceleratorTypeGetCall.html), [*locations accelerator types list*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationAcceleratorTypeListCall.html), [*locations get*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationListCall.html), [*locations nodes create*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeCreateCall.html), [*locations nodes delete*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeDeleteCall.html), [*locations nodes get*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeGetCall.html), [*locations nodes list*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeListCall.html), [*locations nodes reimage*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeReimageCall.html), [*locations nodes start*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeStartCall.html), [*locations nodes stop*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationNodeStopCall.html), [*locations operations cancel*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationOperationGetCall.html), [*locations operations list*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationOperationListCall.html), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationTensorflowVersionGetCall.html) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.ProjectLocationTensorflowVersionListCall.html) @@ -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/1.0.10+20190619/google_tpu1/struct.TPU.html)** +* **[Hub](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/struct.TPU.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.Part.html)** + * **[Parts](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190619/google_tpu1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-tpu1/1.0.10+20190619/google_tpu1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.CallBuilder.html) 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/1.0.11+20190619/google_tpu1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190619/google_tpu1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tpu1/1.0.10+20190619/google_tpu1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.ResponseResult.html) 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/1.0.10+20190619/google_tpu1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190619/google_tpu1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190619/google_tpu1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tpu1/1.0.11+20190619/google_tpu1/trait.RequestValue.html) are 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/cmn.rs b/gen/tpu1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/tpu1/src/cmn.rs +++ b/gen/tpu1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/tpu1/src/lib.rs b/gen/tpu1/src/lib.rs index b626bcf660..4c08b37a45 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *TPU* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *TPU* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). @@ -336,7 +336,7 @@ impl<'a, C, A> TPU TPU { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://tpu.googleapis.com/".to_string(), _root_url: "https://tpu.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> TPU } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tpu1_alpha1-cli/Cargo.toml b/gen/tpu1_alpha1-cli/Cargo.toml index e70328ac7d..730c4d70d2 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 = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tpu1_alpha1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-tpu1_alpha1] path = "../tpu1_alpha1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" diff --git a/gen/tpu1_alpha1-cli/README.md b/gen/tpu1_alpha1-cli/README.md index 0db2241aa4..5c3c186a5b 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 *20190619*. The CLI is at version *1.0.10*. +This documentation was generated from the *TPU* API at revision *20190619*. The CLI is at version *1.0.11*. ```bash tpu1-alpha1 [options] diff --git a/gen/tpu1_alpha1-cli/mkdocs.yml b/gen/tpu1_alpha1-cli/mkdocs.yml index 2956ae0a64..f4e9bb9fe5 100644 --- a/gen/tpu1_alpha1-cli/mkdocs.yml +++ b/gen/tpu1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v1.0.10+20190619 +site_name: TPU v1.0.11+20190619 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 c43fc19a0f..c4752f9960 100644 --- a/gen/tpu1_alpha1-cli/src/main.rs +++ b/gen/tpu1_alpha1-cli/src/main.rs @@ -1709,7 +1709,7 @@ fn main() { let mut app = App::new("tpu1-alpha1") .author("Sebastian Thiel ") - .version("1.0.10+20190619") + .version("1.0.11+20190619") .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 775210d46b..3049f00e6b 100644 --- a/gen/tpu1_alpha1/Cargo.toml +++ b/gen/tpu1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1_alpha1" -version = "1.0.10+20190619" +version = "1.0.11+20190619" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tpu1_alpha1" homepage = "https://cloud.google.com/tpu/" -documentation = "https://docs.rs/google-tpu1_alpha1/1.0.10+20190619" +documentation = "https://docs.rs/google-tpu1_alpha1/1.0.11+20190619" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/tpu1_alpha1/README.md b/gen/tpu1_alpha1/README.md index b78b840a0d..20f6f53d3d 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *TPU* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190619/google_tpu1_alpha1/struct.TPU.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.TPU.html) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationAcceleratorTypeGetCall.html), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationAcceleratorTypeListCall.html), [*locations get*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationListCall.html), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeCreateCall.html), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeDeleteCall.html), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeGetCall.html), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeListCall.html), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeReimageCall.html), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeStartCall.html), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeStopCall.html), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationGetCall.html), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationListCall.html), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationTensorflowVersionGetCall.html) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/struct.ProjectLocationTensorflowVersionListCall.html) + * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationAcceleratorTypeGetCall.html), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationAcceleratorTypeListCall.html), [*locations get*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationGetCall.html), [*locations list*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationListCall.html), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeCreateCall.html), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeDeleteCall.html), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeGetCall.html), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeListCall.html), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeReimageCall.html), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeStartCall.html), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationNodeStopCall.html), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationGetCall.html), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationOperationListCall.html), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationTensorflowVersionGetCall.html) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.ProjectLocationTensorflowVersionListCall.html) @@ -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/1.0.10+20190619/google_tpu1_alpha1/struct.TPU.html)** +* **[Hub](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/struct.TPU.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.Part.html)** + * **[Parts](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/enum.Result.html) 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/1.0.10+20190619/google_tpu1_alpha1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190619/google_tpu1_alpha1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.CallBuilder.html) 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/1.0.11+20190619/google_tpu1_alpha1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190619/google_tpu1_alpha1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tpu1_alpha1/1.0.10+20190619/google_tpu1_alpha1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.ResponseResult.html) 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/1.0.10+20190619/google_tpu1_alpha1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190619/google_tpu1_alpha1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190619/google_tpu1_alpha1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tpu1_alpha1/1.0.11+20190619/google_tpu1_alpha1/trait.RequestValue.html) are 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/cmn.rs b/gen/tpu1_alpha1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/tpu1_alpha1/src/cmn.rs +++ b/gen/tpu1_alpha1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/tpu1_alpha1/src/lib.rs b/gen/tpu1_alpha1/src/lib.rs index 69cd7c0482..03e7ca5bff 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 *1.0.10+20190619*, where *20190619* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *TPU* crate version *1.0.11+20190619*, where *20190619* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *TPU* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). @@ -336,7 +336,7 @@ impl<'a, C, A> TPU TPU { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://tpu.googleapis.com/".to_string(), _root_url: "https://tpu.googleapis.com/".to_string(), } @@ -347,7 +347,7 @@ impl<'a, C, A> TPU } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/translate2-cli/Cargo.toml b/gen/translate2-cli/Cargo.toml index ec5c6c536b..8de825abd5 100644 --- a/gen/translate2-cli/Cargo.toml +++ b/gen/translate2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-translate2-cli" -version = "1.0.10+20170525" +version = "1.0.11+20170525" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/translate2-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-translate2] path = "../translate2" -version = "1.0.10+20170525" +version = "1.0.11+20170525" diff --git a/gen/translate2-cli/README.md b/gen/translate2-cli/README.md index 4e060125c9..347332071e 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 *1.0.10*. +This documentation was generated from the *Translate* API at revision *20170525*. The CLI is at version *1.0.11*. ```bash translate2 [options] diff --git a/gen/translate2-cli/mkdocs.yml b/gen/translate2-cli/mkdocs.yml index 4d1d7b96f6..476901712b 100644 --- a/gen/translate2-cli/mkdocs.yml +++ b/gen/translate2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v1.0.10+20170525 +site_name: Translate v1.0.11+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 485900c65d..aa0b555078 100644 --- a/gen/translate2-cli/src/main.rs +++ b/gen/translate2-cli/src/main.rs @@ -652,7 +652,7 @@ fn main() { let mut app = App::new("translate2") .author("Sebastian Thiel ") - .version("1.0.10+20170525") + .version("1.0.11+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 bc4f9e6931..ae0a3b07be 100644 --- a/gen/translate2/Cargo.toml +++ b/gen/translate2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate2" -version = "1.0.10+20170525" +version = "1.0.11+20170525" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/translate2" homepage = "https://code.google.com/apis/language/translate/v2/getting_started.html" -documentation = "https://docs.rs/google-translate2/1.0.10+20170525" +documentation = "https://docs.rs/google-translate2/1.0.11+20170525" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/translate2/README.md b/gen/translate2/README.md index 39c805b267..326f117f7d 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 *1.0.10+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Translate* crate version *1.0.11+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20170525/google_translate2/struct.Translate.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.Translate.html) ... * detections - * [*detect*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/struct.DetectionDetectCall.html) and [*list*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/struct.DetectionListCall.html) + * [*detect*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.DetectionDetectCall.html) and [*list*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.DetectionListCall.html) * languages - * [*list*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/struct.LanguageListCall.html) + * [*list*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.LanguageListCall.html) * translations - * [*list*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/struct.TranslationListCall.html) and [*translate*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/struct.TranslationTranslateCall.html) + * [*list*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.TranslationListCall.html) and [*translate*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.TranslationTranslateCall.html) @@ -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/1.0.10+20170525/google_translate2/struct.Translate.html)** +* **[Hub](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/struct.Translate.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.Part.html)** + * **[Parts](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20170525/google_translate2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-translate2/1.0.10+20170525/google_translate2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.CallBuilder.html) 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/1.0.11+20170525/google_translate2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20170525/google_translate2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-translate2/1.0.10+20170525/google_translate2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.ResponseResult.html) 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/1.0.10+20170525/google_translate2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20170525/google_translate2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20170525/google_translate2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-translate2/1.0.11+20170525/google_translate2/trait.RequestValue.html) are 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/cmn.rs b/gen/translate2/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/translate2/src/cmn.rs +++ b/gen/translate2/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/translate2/src/lib.rs b/gen/translate2/src/lib.rs index c8d01b0cab..1c97b0dc01 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 *1.0.10+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Translate* crate version *1.0.11+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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). @@ -338,7 +338,7 @@ impl<'a, C, A> Translate Translate { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://translation.googleapis.com/language/translate/".to_string(), _root_url: "https://translation.googleapis.com/".to_string(), } @@ -355,7 +355,7 @@ impl<'a, C, A> Translate } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/urlshortener1-cli/Cargo.toml b/gen/urlshortener1-cli/Cargo.toml index b8de0e0445..d5cf04398f 100644 --- a/gen/urlshortener1-cli/Cargo.toml +++ b/gen/urlshortener1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-urlshortener1-cli" -version = "1.0.10+20150519" +version = "1.0.11+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/urlshortener1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-urlshortener1] path = "../urlshortener1" -version = "1.0.10+20150519" +version = "1.0.11+20150519" diff --git a/gen/urlshortener1-cli/README.md b/gen/urlshortener1-cli/README.md index e9626f5a94..11623713da 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 *1.0.10*. +This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *1.0.11*. ```bash urlshortener1 [options] diff --git a/gen/urlshortener1-cli/mkdocs.yml b/gen/urlshortener1-cli/mkdocs.yml index 180d8a98f8..5561b021f3 100644 --- a/gen/urlshortener1-cli/mkdocs.yml +++ b/gen/urlshortener1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: urlshortener v1.0.10+20150519 +site_name: urlshortener v1.0.11+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 29f0ddd2a8..ecfc48ad05 100644 --- a/gen/urlshortener1-cli/src/main.rs +++ b/gen/urlshortener1-cli/src/main.rs @@ -431,7 +431,7 @@ fn main() { let mut app = App::new("urlshortener1") .author("Sebastian Thiel ") - .version("1.0.10+20150519") + .version("1.0.11+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 5979168748..354e6ca281 100644 --- a/gen/urlshortener1/Cargo.toml +++ b/gen/urlshortener1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-urlshortener1" -version = "1.0.10+20150519" +version = "1.0.11+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/urlshortener1" homepage = "https://developers.google.com/url-shortener/v1/getting_started" -documentation = "https://docs.rs/google-urlshortener1/1.0.10+20150519" +documentation = "https://docs.rs/google-urlshortener1/1.0.11+20150519" license = "MIT" keywords = ["urlshortener", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/urlshortener1/README.md b/gen/urlshortener1/README.md index 4c346ff126..dbcbffe3c1 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 *1.0.10+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *urlshortener* crate version *1.0.11+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20150519/google_urlshortener1/struct.Urlshortener.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/struct.Urlshortener.html) ... -* [url](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/struct.Url.html) - * [*get*](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/struct.UrlGetCall.html), [*insert*](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/struct.UrlInsertCall.html) and [*list*](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/struct.UrlListCall.html) +* [url](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/struct.Url.html) + * [*get*](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/struct.UrlGetCall.html), [*insert*](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/struct.UrlInsertCall.html) and [*list*](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/struct.UrlListCall.html) @@ -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/1.0.10+20150519/google_urlshortener1/struct.Urlshortener.html)** +* **[Hub](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/struct.Urlshortener.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.Part.html)** + * **[Parts](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20150519/google_urlshortener1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.CallBuilder.html) 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/1.0.11+20150519/google_urlshortener1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20150519/google_urlshortener1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-urlshortener1/1.0.10+20150519/google_urlshortener1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.ResponseResult.html) 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/1.0.10+20150519/google_urlshortener1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20150519/google_urlshortener1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20150519/google_urlshortener1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-urlshortener1/1.0.11+20150519/google_urlshortener1/trait.RequestValue.html) are 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/cmn.rs b/gen/urlshortener1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/urlshortener1/src/cmn.rs +++ b/gen/urlshortener1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/urlshortener1/src/lib.rs b/gen/urlshortener1/src/lib.rs index 2e9ed0a2ba..27370c9533 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 *1.0.10+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *urlshortener* crate version *1.0.11+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *urlshortener* *v1* API can be found at the //! [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). @@ -320,7 +320,7 @@ impl<'a, C, A> Urlshortener Urlshortener { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/urlshortener/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -331,7 +331,7 @@ impl<'a, C, A> Urlshortener } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/vault1-cli/Cargo.toml b/gen/vault1-cli/Cargo.toml index f00fc4451b..9e0382876c 100644 --- a/gen/vault1-cli/Cargo.toml +++ b/gen/vault1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vault1-cli" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vault (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/vault1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-vault1] path = "../vault1" -version = "1.0.10+20190614" +version = "1.0.11+20190614" diff --git a/gen/vault1-cli/README.md b/gen/vault1-cli/README.md index 28c575f3c7..7a9035ceb1 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 *20190614*. The CLI is at version *1.0.10*. +This documentation was generated from the *Vault* API at revision *20190614*. The CLI is at version *1.0.11*. ```bash vault1 [options] diff --git a/gen/vault1-cli/mkdocs.yml b/gen/vault1-cli/mkdocs.yml index 646b99d0a3..69c501ff95 100644 --- a/gen/vault1-cli/mkdocs.yml +++ b/gen/vault1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vault v1.0.10+20190614 +site_name: Vault v1.0.11+20190614 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 9501425839..d69fec2506 100644 --- a/gen/vault1-cli/src/main.rs +++ b/gen/vault1-cli/src/main.rs @@ -3080,7 +3080,7 @@ fn main() { let mut app = App::new("vault1") .author("Sebastian Thiel ") - .version("1.0.10+20190614") + .version("1.0.11+20190614") .about("Archiving and eDiscovery for G Suite.") .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 dc68362d69..70691096c6 100644 --- a/gen/vault1/Cargo.toml +++ b/gen/vault1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vault1" -version = "1.0.10+20190614" +version = "1.0.11+20190614" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vault (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/vault1" homepage = "https://developers.google.com/vault" -documentation = "https://docs.rs/google-vault1/1.0.10+20190614" +documentation = "https://docs.rs/google-vault1/1.0.11+20190614" license = "MIT" keywords = ["vault", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/vault1/README.md b/gen/vault1/README.md index bfb5c0fa81..dd88fbd037 100644 --- a/gen/vault1/README.md +++ b/gen/vault1/README.md @@ -5,16 +5,16 @@ 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Vault* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190614/google_vault1/struct.Vault.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.Vault.html) ... -* [matters](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.Matter.html) - * [*add permissions*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterAddPermissionCall.html), [*close*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterCloseCall.html), [*create*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterCreateCall.html), [*delete*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterDeleteCall.html), [*exports create*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterExportCreateCall.html), [*exports delete*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterExportDeleteCall.html), [*exports get*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterExportGetCall.html), [*exports list*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterExportListCall.html), [*get*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterGetCall.html), [*holds accounts create*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldAccountCreateCall.html), [*holds accounts delete*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldAccountDeleteCall.html), [*holds accounts list*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldAccountListCall.html), [*holds add held accounts*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldAddHeldAccountCall.html), [*holds create*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldCreateCall.html), [*holds delete*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldDeleteCall.html), [*holds get*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldGetCall.html), [*holds list*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldListCall.html), [*holds remove held accounts*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldRemoveHeldAccountCall.html), [*holds update*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterHoldUpdateCall.html), [*list*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterListCall.html), [*remove permissions*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterRemovePermissionCall.html), [*reopen*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterReopenCall.html), [*saved queries create*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterSavedQueryCreateCall.html), [*saved queries delete*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterSavedQueryDeleteCall.html), [*saved queries get*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterSavedQueryGetCall.html), [*saved queries list*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterSavedQueryListCall.html), [*undelete*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterUndeleteCall.html) and [*update*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/struct.MatterUpdateCall.html) +* [matters](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.Matter.html) + * [*add permissions*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterAddPermissionCall.html), [*close*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterCloseCall.html), [*create*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterCreateCall.html), [*delete*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterDeleteCall.html), [*exports create*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterExportCreateCall.html), [*exports delete*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterExportDeleteCall.html), [*exports get*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterExportGetCall.html), [*exports list*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterExportListCall.html), [*get*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterGetCall.html), [*holds accounts create*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldAccountCreateCall.html), [*holds accounts delete*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldAccountDeleteCall.html), [*holds accounts list*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldAccountListCall.html), [*holds add held accounts*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldAddHeldAccountCall.html), [*holds create*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldCreateCall.html), [*holds delete*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldDeleteCall.html), [*holds get*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldGetCall.html), [*holds list*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldListCall.html), [*holds remove held accounts*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldRemoveHeldAccountCall.html), [*holds update*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterHoldUpdateCall.html), [*list*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterListCall.html), [*remove permissions*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterRemovePermissionCall.html), [*reopen*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterReopenCall.html), [*saved queries create*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterSavedQueryCreateCall.html), [*saved queries delete*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterSavedQueryDeleteCall.html), [*saved queries get*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterSavedQueryGetCall.html), [*saved queries list*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterSavedQueryListCall.html), [*undelete*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterUndeleteCall.html) and [*update*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.MatterUpdateCall.html) @@ -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-vault1/1.0.10+20190614/google_vault1/struct.Vault.html)** +* **[Hub](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/struct.Vault.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.Part.html)** + * **[Parts](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -154,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190614/google_vault1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-vault1/1.0.10+20190614/google_vault1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.CallBuilder.html) 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/1.0.11+20190614/google_vault1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190614/google_vault1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-vault1/1.0.10+20190614/google_vault1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.ResponseResult.html) 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/1.0.10+20190614/google_vault1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190614/google_vault1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190614/google_vault1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-vault1/1.0.11+20190614/google_vault1/trait.RequestValue.html) are 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/cmn.rs b/gen/vault1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/vault1/src/cmn.rs +++ b/gen/vault1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/vault1/src/lib.rs b/gen/vault1/src/lib.rs index bb2c4ba4b8..8388fb93ad 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 *1.0.10+20190614*, where *20190614* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Vault* crate version *1.0.11+20190614*, where *20190614* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Vault* *v1* API can be found at the //! [official documentation site](https://developers.google.com/vault). @@ -354,7 +354,7 @@ impl<'a, C, A> Vault Vault { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://vault.googleapis.com/".to_string(), _root_url: "https://vault.googleapis.com/".to_string(), } @@ -365,7 +365,7 @@ impl<'a, C, A> Vault } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/videointelligence1-cli/Cargo.toml b/gen/videointelligence1-cli/Cargo.toml index f0b88020f6..64358103fe 100644 --- a/gen/videointelligence1-cli/Cargo.toml +++ b/gen/videointelligence1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-videointelligence1-cli" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/videointelligence1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-videointelligence1] path = "../videointelligence1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" diff --git a/gen/videointelligence1-cli/README.md b/gen/videointelligence1-cli/README.md index 6527e88bdd..ef9cb5454f 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 *20190626*. The CLI is at version *1.0.10*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20190626*. The CLI is at version *1.0.11*. ```bash videointelligence1 [options] diff --git a/gen/videointelligence1-cli/mkdocs.yml b/gen/videointelligence1-cli/mkdocs.yml index 0200e8d491..d2d9e17b31 100644 --- a/gen/videointelligence1-cli/mkdocs.yml +++ b/gen/videointelligence1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v1.0.10+20190626 +site_name: Cloud Video Intelligence v1.0.11+20190626 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 589473bc31..f7ea092089 100644 --- a/gen/videointelligence1-cli/src/main.rs +++ b/gen/videointelligence1-cli/src/main.rs @@ -1177,7 +1177,7 @@ fn main() { let mut app = App::new("videointelligence1") .author("Sebastian Thiel ") - .version("1.0.10+20190626") + .version("1.0.11+20190626") .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 09499c5868..b36251d46a 100644 --- a/gen/videointelligence1/Cargo.toml +++ b/gen/videointelligence1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1" -version = "1.0.10+20190626" +version = "1.0.11+20190626" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/videointelligence1" homepage = "https://cloud.google.com/video-intelligence/docs/" -documentation = "https://docs.rs/google-videointelligence1/1.0.10+20190626" +documentation = "https://docs.rs/google-videointelligence1/1.0.11+20190626" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/videointelligence1/README.md b/gen/videointelligence1/README.md index 2f3a24793c..5100962c7b 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Video Intelligence* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190626/google_videointelligence1/struct.CloudVideoIntelligence.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.CloudVideoIntelligence.html) ... * operations - * [*cancel*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.OperationGetCall.html), [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.OperationProjectLocationOperationCancelCall.html), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.OperationProjectLocationOperationDeleteCall.html) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.OperationProjectLocationOperationGetCall.html) + * [*cancel*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.OperationGetCall.html), [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.OperationProjectLocationOperationCancelCall.html), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.OperationProjectLocationOperationDeleteCall.html) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.OperationProjectLocationOperationGetCall.html) * projects - * [*locations operations cancel*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.ProjectLocationOperationListCall.html) + * [*locations operations cancel*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.ProjectLocationOperationCancelCall.html), [*locations operations delete*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.ProjectLocationOperationDeleteCall.html), [*locations operations get*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.ProjectLocationOperationGetCall.html) and [*locations operations list*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.ProjectLocationOperationListCall.html) * videos - * [*annotate*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/struct.VideoAnnotateCall.html) + * [*annotate*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.VideoAnnotateCall.html) @@ -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/1.0.10+20190626/google_videointelligence1/struct.CloudVideoIntelligence.html)** +* **[Hub](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/struct.CloudVideoIntelligence.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.Part.html)** + * **[Parts](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190626/google_videointelligence1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.CallBuilder.html) 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/1.0.11+20190626/google_videointelligence1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190626/google_videointelligence1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-videointelligence1/1.0.10+20190626/google_videointelligence1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.ResponseResult.html) 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/1.0.10+20190626/google_videointelligence1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190626/google_videointelligence1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190626/google_videointelligence1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-videointelligence1/1.0.11+20190626/google_videointelligence1/trait.RequestValue.html) are 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/cmn.rs b/gen/videointelligence1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/videointelligence1/src/cmn.rs +++ b/gen/videointelligence1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/videointelligence1/src/lib.rs b/gen/videointelligence1/src/lib.rs index 74d3e71d69..6c04b64a17 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 *1.0.10+20190626*, where *20190626* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Video Intelligence* crate version *1.0.11+20190626*, where *20190626* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Cloud Video Intelligence* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/video-intelligence/docs/). @@ -338,7 +338,7 @@ impl<'a, C, A> CloudVideoIntelligence CloudVideoIntelligence { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://videointelligence.googleapis.com/".to_string(), _root_url: "https://videointelligence.googleapis.com/".to_string(), } @@ -355,7 +355,7 @@ impl<'a, C, A> CloudVideoIntelligence } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/videointelligence1_beta1-cli/Cargo.toml b/gen/videointelligence1_beta1-cli/Cargo.toml index 70a1c517dd..027f4938a7 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 = "1.0.10+20171122" +version = "1.0.11+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/master/gen/videointelligence1_beta1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-videointelligence1_beta1] path = "../videointelligence1_beta1" -version = "1.0.10+20171122" +version = "1.0.11+20171122" diff --git a/gen/videointelligence1_beta1-cli/README.md b/gen/videointelligence1_beta1-cli/README.md index 4872068c65..c99f7c5e94 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 *1.0.10*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20171122*. The CLI is at version *1.0.11*. ```bash videointelligence1-beta1 [options] diff --git a/gen/videointelligence1_beta1-cli/mkdocs.yml b/gen/videointelligence1_beta1-cli/mkdocs.yml index 2eff0c6a36..c5f9c3fb1a 100644 --- a/gen/videointelligence1_beta1-cli/mkdocs.yml +++ b/gen/videointelligence1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v1.0.10+20171122 +site_name: Cloud Video Intelligence v1.0.11+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 9f4ae277b8..c08d3d52a7 100644 --- a/gen/videointelligence1_beta1-cli/src/main.rs +++ b/gen/videointelligence1_beta1-cli/src/main.rs @@ -274,7 +274,7 @@ fn main() { let mut app = App::new("videointelligence1-beta1") .author("Sebastian Thiel ") - .version("1.0.10+20171122") + .version("1.0.11+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 32d1267aa9..1367530335 100644 --- a/gen/videointelligence1_beta1/Cargo.toml +++ b/gen/videointelligence1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1_beta1" -version = "1.0.10+20171122" +version = "1.0.11+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/master/gen/videointelligence1_beta1" homepage = "https://cloud.google.com/video-intelligence/docs/" -documentation = "https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122" +documentation = "https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/videointelligence1_beta1/README.md b/gen/videointelligence1_beta1/README.md index cf4976ee8a..4d7abdd96f 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 *1.0.10+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Cloud Video Intelligence* crate version *1.0.11+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20171122/google_videointelligence1_beta1/struct.CloudVideoIntelligence.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/struct.CloudVideoIntelligence.html) ... * videos - * [*annotate*](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/struct.VideoAnnotateCall.html) + * [*annotate*](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/struct.VideoAnnotateCall.html) @@ -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/1.0.10+20171122/google_videointelligence1_beta1/struct.CloudVideoIntelligence.html)** +* **[Hub](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/struct.CloudVideoIntelligence.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/enum.Result.html) 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/1.0.10+20171122/google_videointelligence1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20171122/google_videointelligence1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.CallBuilder.html) 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/1.0.11+20171122/google_videointelligence1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20171122/google_videointelligence1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-videointelligence1_beta1/1.0.10+20171122/google_videointelligence1_beta1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.ResponseResult.html) 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/1.0.10+20171122/google_videointelligence1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20171122/google_videointelligence1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20171122/google_videointelligence1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-videointelligence1_beta1/1.0.11+20171122/google_videointelligence1_beta1/trait.RequestValue.html) are 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/cmn.rs b/gen/videointelligence1_beta1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/videointelligence1_beta1/src/cmn.rs +++ b/gen/videointelligence1_beta1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/videointelligence1_beta1/src/lib.rs b/gen/videointelligence1_beta1/src/lib.rs index 105e61d2b2..0872c95441 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 *1.0.10+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Cloud Video Intelligence* crate version *1.0.11+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! 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/). @@ -329,7 +329,7 @@ impl<'a, C, A> CloudVideoIntelligence CloudVideoIntelligence { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://videointelligence.googleapis.com/".to_string(), _root_url: "https://videointelligence.googleapis.com/".to_string(), } @@ -340,7 +340,7 @@ impl<'a, C, A> CloudVideoIntelligence } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/vision1-cli/Cargo.toml b/gen/vision1-cli/Cargo.toml index 94a6b964e5..a6623f7f67 100644 --- a/gen/vision1-cli/Cargo.toml +++ b/gen/vision1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vision1-cli" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vision (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/vision1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-vision1] path = "../vision1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" diff --git a/gen/vision1-cli/README.md b/gen/vision1-cli/README.md index 56a8ad0860..5e580c97fe 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 *20190628*. The CLI is at version *1.0.10*. +This documentation was generated from the *Vision* API at revision *20190628*. The CLI is at version *1.0.11*. ```bash vision1 [options] diff --git a/gen/vision1-cli/mkdocs.yml b/gen/vision1-cli/mkdocs.yml index dc05fea96b..383f82ced8 100644 --- a/gen/vision1-cli/mkdocs.yml +++ b/gen/vision1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vision v1.0.10+20190628 +site_name: Vision v1.0.11+20190628 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 4a5a8a6201..a7f19ccb66 100644 --- a/gen/vision1-cli/src/main.rs +++ b/gen/vision1-cli/src/main.rs @@ -3200,7 +3200,7 @@ fn main() { let mut app = App::new("vision1") .author("Sebastian Thiel ") - .version("1.0.10+20190628") + .version("1.0.11+20190628") .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 3832bef213..a04862a0c0 100644 --- a/gen/vision1/Cargo.toml +++ b/gen/vision1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vision1" -version = "1.0.10+20190628" +version = "1.0.11+20190628" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vision (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/vision1" homepage = "https://cloud.google.com/vision/" -documentation = "https://docs.rs/google-vision1/1.0.10+20190628" +documentation = "https://docs.rs/google-vision1/1.0.11+20190628" license = "MIT" keywords = ["vision", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/vision1/README.md b/gen/vision1/README.md index 74a5149ada..8dbe6025fb 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *Vision* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190628/google_vision1/struct.Vision.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.Vision.html) ... * files - * [*annotate*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.FileAnnotateCall.html) and [*async batch annotate*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.FileAsyncBatchAnnotateCall.html) -* [images](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.Image.html) - * [*annotate*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ImageAnnotateCall.html) and [*async batch annotate*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ImageAsyncBatchAnnotateCall.html) + * [*annotate*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.FileAnnotateCall.html) and [*async batch annotate*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.FileAsyncBatchAnnotateCall.html) +* [images](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.Image.html) + * [*annotate*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ImageAnnotateCall.html) and [*async batch annotate*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ImageAsyncBatchAnnotateCall.html) * locations - * [*operations get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.LocationOperationGetCall.html) -* [operations](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.OperationListCall.html) + * [*operations get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.LocationOperationGetCall.html) +* [operations](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.OperationCancelCall.html), [*delete*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.OperationDeleteCall.html), [*get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.OperationListCall.html) * projects - * [*locations operations get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationOperationGetCall.html), [*locations product sets add product*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetAddProductCall.html), [*locations product sets create*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetCreateCall.html), [*locations product sets delete*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetDeleteCall.html), [*locations product sets get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetGetCall.html), [*locations product sets import*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetImportCall.html), [*locations product sets list*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetListCall.html), [*locations product sets patch*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetPatchCall.html), [*locations product sets products list*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetProductListCall.html), [*locations product sets remove product*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductSetRemoveProductCall.html), [*locations products create*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductCreateCall.html), [*locations products delete*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductDeleteCall.html), [*locations products get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductGetCall.html), [*locations products list*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductListCall.html), [*locations products patch*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductPatchCall.html), [*locations products reference images create*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductReferenceImageCreateCall.html), [*locations products reference images delete*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductReferenceImageDeleteCall.html), [*locations products reference images get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductReferenceImageGetCall.html), [*locations products reference images list*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectLocationProductReferenceImageListCall.html) and [*operations get*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/struct.ProjectOperationGetCall.html) + * [*locations operations get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationOperationGetCall.html), [*locations product sets add product*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetAddProductCall.html), [*locations product sets create*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetCreateCall.html), [*locations product sets delete*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetDeleteCall.html), [*locations product sets get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetGetCall.html), [*locations product sets import*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetImportCall.html), [*locations product sets list*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetListCall.html), [*locations product sets patch*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetPatchCall.html), [*locations product sets products list*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetProductListCall.html), [*locations product sets remove product*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductSetRemoveProductCall.html), [*locations products create*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductCreateCall.html), [*locations products delete*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductDeleteCall.html), [*locations products get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductGetCall.html), [*locations products list*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductListCall.html), [*locations products patch*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductPatchCall.html), [*locations products reference images create*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductReferenceImageCreateCall.html), [*locations products reference images delete*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductReferenceImageDeleteCall.html), [*locations products reference images get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductReferenceImageGetCall.html), [*locations products reference images list*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectLocationProductReferenceImageListCall.html) and [*operations get*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.ProjectOperationGetCall.html) @@ -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/1.0.10+20190628/google_vision1/struct.Vision.html)** +* **[Hub](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/struct.Vision.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.Part.html)** + * **[Parts](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190628/google_vision1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-vision1/1.0.10+20190628/google_vision1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.CallBuilder.html) 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/1.0.11+20190628/google_vision1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190628/google_vision1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-vision1/1.0.10+20190628/google_vision1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.ResponseResult.html) 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/1.0.10+20190628/google_vision1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190628/google_vision1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190628/google_vision1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-vision1/1.0.11+20190628/google_vision1/trait.RequestValue.html) are 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/cmn.rs b/gen/vision1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/vision1/src/cmn.rs +++ b/gen/vision1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/vision1/src/lib.rs b/gen/vision1/src/lib.rs index 853c45000d..19dde4bdaa 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 *1.0.10+20190628*, where *20190628* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *Vision* crate version *1.0.11+20190628*, where *20190628* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *Vision* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/vision/). @@ -344,7 +344,7 @@ impl<'a, C, A> Vision Vision { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://vision.googleapis.com/".to_string(), _root_url: "https://vision.googleapis.com/".to_string(), } @@ -367,7 +367,7 @@ impl<'a, C, A> Vision } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webfonts1-cli/Cargo.toml b/gen/webfonts1-cli/Cargo.toml index 00e7400ad7..bbaecc4601 100644 --- a/gen/webfonts1-cli/Cargo.toml +++ b/gen/webfonts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webfonts1-cli" -version = "1.0.10+20160302" +version = "1.0.11+20160302" authors = ["Sebastian Thiel "] description = "A complete library to interact with webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-webfonts1] path = "../webfonts1" -version = "1.0.10+20160302" +version = "1.0.11+20160302" diff --git a/gen/webfonts1-cli/README.md b/gen/webfonts1-cli/README.md index fe7930366c..87f55a07a4 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 *20160302*. The CLI is at version *1.0.10*. +This documentation was generated from the *webfonts* API at revision *20160302*. The CLI is at version *1.0.11*. ```bash webfonts1 [options] diff --git a/gen/webfonts1-cli/mkdocs.yml b/gen/webfonts1-cli/mkdocs.yml index 5bfe92c9b3..8e548161f9 100644 --- a/gen/webfonts1-cli/mkdocs.yml +++ b/gen/webfonts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webfonts v1.0.10+20160302 +site_name: webfonts v1.0.11+20160302 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 b642a32ed5..999e598128 100644 --- a/gen/webfonts1-cli/src/main.rs +++ b/gen/webfonts1-cli/src/main.rs @@ -220,7 +220,7 @@ fn main() { let mut app = App::new("webfonts1") .author("Sebastian Thiel ") - .version("1.0.10+20160302") + .version("1.0.11+20160302") .about("Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets).") .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 d84f73197e..73c6590caf 100644 --- a/gen/webfonts1/Cargo.toml +++ b/gen/webfonts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webfonts1" -version = "1.0.10+20160302" +version = "1.0.11+20160302" authors = ["Sebastian Thiel "] description = "A complete library to interact with webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1" homepage = "https://developers.google.com/fonts/docs/developer_api" -documentation = "https://docs.rs/google-webfonts1/1.0.10+20160302" +documentation = "https://docs.rs/google-webfonts1/1.0.11+20160302" license = "MIT" keywords = ["webfonts", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/webfonts1/README.md b/gen/webfonts1/README.md index 160fba888c..eacf67356f 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 *1.0.10+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *webfonts* crate version *1.0.11+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20160302/google_webfonts1/struct.Webfonts.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/struct.Webfonts.html) ... -* [webfonts](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/struct.Webfont.html) - * [*list*](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/struct.WebfontListCall.html) +* [webfonts](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/struct.Webfont.html) + * [*list*](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/struct.WebfontListCall.html) @@ -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/1.0.10+20160302/google_webfonts1/struct.Webfonts.html)** +* **[Hub](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/struct.Webfonts.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.Part.html)** + * **[Parts](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20160302/google_webfonts1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-webfonts1/1.0.10+20160302/google_webfonts1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.CallBuilder.html) 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/1.0.11+20160302/google_webfonts1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20160302/google_webfonts1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-webfonts1/1.0.10+20160302/google_webfonts1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.ResponseResult.html) 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/1.0.10+20160302/google_webfonts1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20160302/google_webfonts1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20160302/google_webfonts1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-webfonts1/1.0.11+20160302/google_webfonts1/trait.RequestValue.html) are 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/cmn.rs b/gen/webfonts1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/webfonts1/src/cmn.rs +++ b/gen/webfonts1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/webfonts1/src/lib.rs b/gen/webfonts1/src/lib.rs index cacba2e176..4c6f71a658 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 *1.0.10+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *webfonts* crate version *1.0.11+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *webfonts* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fonts/docs/developer_api). @@ -297,7 +297,7 @@ impl<'a, C, A> Webfonts Webfonts { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/webfonts/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -308,7 +308,7 @@ impl<'a, C, A> Webfonts } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webmasters3-cli/Cargo.toml b/gen/webmasters3-cli/Cargo.toml index 654ff5d55b..15275d4643 100644 --- a/gen/webmasters3-cli/Cargo.toml +++ b/gen/webmasters3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webmasters3-cli" -version = "1.0.10+20190428" +version = "1.0.11+20190428" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webmasters3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-webmasters3] path = "../webmasters3" -version = "1.0.10+20190428" +version = "1.0.11+20190428" diff --git a/gen/webmasters3-cli/README.md b/gen/webmasters3-cli/README.md index f4a67c4623..27c99f3f85 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 *1.0.10*. +This documentation was generated from the *webmasters* API at revision *20190428*. The CLI is at version *1.0.11*. ```bash webmasters3 [options] diff --git a/gen/webmasters3-cli/mkdocs.yml b/gen/webmasters3-cli/mkdocs.yml index 80cb2a01b0..927141ae2a 100644 --- a/gen/webmasters3-cli/mkdocs.yml +++ b/gen/webmasters3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webmasters v1.0.10+20190428 +site_name: webmasters v1.0.11+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 1dcbbffe98..b0892c67e4 100644 --- a/gen/webmasters3-cli/src/main.rs +++ b/gen/webmasters3-cli/src/main.rs @@ -870,7 +870,7 @@ fn main() { let mut app = App::new("webmasters3") .author("Sebastian Thiel ") - .version("1.0.10+20190428") + .version("1.0.11+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 4805457a8c..b3d19aa91f 100644 --- a/gen/webmasters3/Cargo.toml +++ b/gen/webmasters3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webmasters3" -version = "1.0.10+20190428" +version = "1.0.11+20190428" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webmasters3" homepage = "https://developers.google.com/webmaster-tools/" -documentation = "https://docs.rs/google-webmasters3/1.0.10+20190428" +documentation = "https://docs.rs/google-webmasters3/1.0.11+20190428" license = "MIT" keywords = ["webmasters", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/webmasters3/README.md b/gen/webmasters3/README.md index 764b2f8ece..8f0e2a809f 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 *1.0.10+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *webmasters* crate version *1.0.11+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190428/google_webmasters3/struct.Webmasters.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.Webmasters.html) ... * searchanalytics - * [*query*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SearchanalyticQueryCall.html) + * [*query*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SearchanalyticQueryCall.html) * sitemaps - * [*delete*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SitemapDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SitemapGetCall.html), [*list*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SitemapListCall.html) and [*submit*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SitemapSubmitCall.html) + * [*delete*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SitemapDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SitemapGetCall.html), [*list*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SitemapListCall.html) and [*submit*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SitemapSubmitCall.html) * sites - * [*add*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SiteAddCall.html), [*delete*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SiteDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SiteGetCall.html) and [*list*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/struct.SiteListCall.html) + * [*add*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SiteAddCall.html), [*delete*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SiteDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SiteGetCall.html) and [*list*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.SiteListCall.html) @@ -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/1.0.10+20190428/google_webmasters3/struct.Webmasters.html)** +* **[Hub](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/struct.Webmasters.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.Part.html)** + * **[Parts](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190428/google_webmasters3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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/1.0.10+20190428/google_webmasters3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.CallBuilder.html) 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/1.0.11+20190428/google_webmasters3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190428/google_webmasters3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-webmasters3/1.0.10+20190428/google_webmasters3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.ResponseResult.html) 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/1.0.10+20190428/google_webmasters3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190428/google_webmasters3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190428/google_webmasters3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-webmasters3/1.0.11+20190428/google_webmasters3/trait.RequestValue.html) are 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/cmn.rs b/gen/webmasters3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/webmasters3/src/cmn.rs +++ b/gen/webmasters3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/webmasters3/src/lib.rs b/gen/webmasters3/src/lib.rs index a9eec6de16..99631b6774 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 *1.0.10+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *webmasters* crate version *1.0.11+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *webmasters* *v3* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/). @@ -325,7 +325,7 @@ impl<'a, C, A> Webmasters Webmasters { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/webmasters/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -342,7 +342,7 @@ impl<'a, C, A> Webmasters } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/youtube3-cli/Cargo.toml b/gen/youtube3-cli/Cargo.toml index f3e9f9c73f..5ce86635d1 100644 --- a/gen/youtube3-cli/Cargo.toml +++ b/gen/youtube3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtube3-cli" -version = "1.0.10+20190513" +version = "1.0.11+20190513" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtube3-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-youtube3] path = "../youtube3" -version = "1.0.10+20190513" +version = "1.0.11+20190513" diff --git a/gen/youtube3-cli/README.md b/gen/youtube3-cli/README.md index be3c349020..24c209dbb3 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 *20190513*. The CLI is at version *1.0.10*. +This documentation was generated from the *YouTube* API at revision *20190513*. The CLI is at version *1.0.11*. ```bash youtube3 [options] diff --git a/gen/youtube3-cli/mkdocs.yml b/gen/youtube3-cli/mkdocs.yml index 59b9cce0e2..d8cc7a9087 100644 --- a/gen/youtube3-cli/mkdocs.yml +++ b/gen/youtube3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube v1.0.10+20190513 +site_name: YouTube v1.0.11+20190513 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 d00a4116e9..7c9f3c5a29 100644 --- a/gen/youtube3-cli/src/main.rs +++ b/gen/youtube3-cli/src/main.rs @@ -8395,7 +8395,7 @@ fn main() { let mut app = App::new("youtube3") .author("Sebastian Thiel ") - .version("1.0.10+20190513") + .version("1.0.11+20190513") .about("Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.") .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/youtube3/Cargo.toml b/gen/youtube3/Cargo.toml index b339319d1b..b61cf39770 100644 --- a/gen/youtube3/Cargo.toml +++ b/gen/youtube3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtube3" -version = "1.0.10+20190513" +version = "1.0.11+20190513" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtube3" homepage = "https://developers.google.com/youtube/v3" -documentation = "https://docs.rs/google-youtube3/1.0.10+20190513" +documentation = "https://docs.rs/google-youtube3/1.0.11+20190513" license = "MIT" keywords = ["youtube", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/youtube3/README.md b/gen/youtube3/README.md index c4b4f0383e..e5aeb592c4 100644 --- a/gen/youtube3/README.md +++ b/gen/youtube3/README.md @@ -5,84 +5,84 @@ DO NOT EDIT ! --> The `google-youtube3` library allows access to all features of the *Google YouTube* service. -This documentation was generated from *YouTube* crate version *1.0.10+20190513*, where *20190513* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *YouTube* crate version *1.0.11+20190513*, where *20190513* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. Everything else about the *YouTube* *v3* API can be found at the [official documentation site](https://developers.google.com/youtube/v3). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.YouTube.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.YouTube.html) ... -* [activities](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Activity.html) - * [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ActivityInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ActivityListCall.html) -* [captions](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Caption.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionDeleteCall.html), [*download*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionDownloadCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionUpdateCall.html) +* [activities](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Activity.html) + * [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ActivityInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ActivityListCall.html) +* [captions](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Caption.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionDeleteCall.html), [*download*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionDownloadCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionUpdateCall.html) * channel banners - * [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelBannerInsertCall.html) -* [channel sections](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelSection.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelSectionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelSectionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelSectionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelSectionUpdateCall.html) -* [channels](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Channel.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelUpdateCall.html) -* [comment threads](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentThread.html) - * [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentThreadInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentThreadListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentThreadUpdateCall.html) -* [comments](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Comment.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentListCall.html), [*mark as spam*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentMarkAsSpamCall.html), [*set moderation status*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentSetModerationStatuCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CommentUpdateCall.html) -* [guide categories](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.GuideCategory.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.GuideCategoryListCall.html) -* [i18n languages](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.I18nLanguage.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.I18nLanguageListCall.html) -* [i18n regions](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.I18nRegion.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.I18nRegionListCall.html) -* [live broadcasts](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcast.html) - * [*bind*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastBindCall.html), [*control*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastControlCall.html), [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastListCall.html), [*transition*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastTransitionCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveBroadcastUpdateCall.html) -* [live chat bans](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatBan.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatBanDeleteCall.html) and [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatBanInsertCall.html) -* [live chat messages](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatMessage.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatMessageDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatMessageInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatMessageListCall.html) -* [live chat moderators](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatModerator.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatModeratorDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatModeratorInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveChatModeratorListCall.html) -* [live streams](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveStream.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveStreamDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveStreamInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveStreamListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.LiveStreamUpdateCall.html) -* [playlist items](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistItem.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistItemDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistItemInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistItemListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistItemUpdateCall.html) -* [playlists](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Playlist.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistUpdateCall.html) + * [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelBannerInsertCall.html) +* [channel sections](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelSection.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelSectionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelSectionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelSectionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelSectionUpdateCall.html) +* [channels](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Channel.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelUpdateCall.html) +* [comment threads](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentThread.html) + * [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentThreadInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentThreadListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentThreadUpdateCall.html) +* [comments](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Comment.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentListCall.html), [*mark as spam*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentMarkAsSpamCall.html), [*set moderation status*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentSetModerationStatuCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CommentUpdateCall.html) +* [guide categories](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.GuideCategory.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.GuideCategoryListCall.html) +* [i18n languages](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.I18nLanguage.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.I18nLanguageListCall.html) +* [i18n regions](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.I18nRegion.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.I18nRegionListCall.html) +* [live broadcasts](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcast.html) + * [*bind*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastBindCall.html), [*control*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastControlCall.html), [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastListCall.html), [*transition*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastTransitionCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveBroadcastUpdateCall.html) +* [live chat bans](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatBan.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatBanDeleteCall.html) and [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatBanInsertCall.html) +* [live chat messages](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatMessage.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatMessageDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatMessageInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatMessageListCall.html) +* [live chat moderators](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatModerator.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatModeratorDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatModeratorInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveChatModeratorListCall.html) +* [live streams](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveStream.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveStreamDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveStreamInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveStreamListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.LiveStreamUpdateCall.html) +* [playlist items](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistItem.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistItemDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistItemInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistItemListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistItemUpdateCall.html) +* [playlists](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Playlist.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistUpdateCall.html) * search - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SearchListCall.html) -* [sponsors](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Sponsor.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SponsorListCall.html) -* [subscriptions](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Subscription.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SubscriptionInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SubscriptionListCall.html) -* [super chat events](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SuperChatEvent.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.SuperChatEventListCall.html) -* [thumbnails](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Thumbnail.html) - * [*set*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ThumbnailSetCall.html) -* [video abuse report reasons](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoAbuseReportReason.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoAbuseReportReasonListCall.html) -* [video categories](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoCategory.html) - * [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoCategoryListCall.html) -* [videos](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.Video.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoDeleteCall.html), [*get rating*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoGetRatingCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoListCall.html), [*rate*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoRateCall.html), [*report abuse*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoReportAbuseCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoUpdateCall.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SearchListCall.html) +* [sponsors](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Sponsor.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SponsorListCall.html) +* [subscriptions](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Subscription.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SubscriptionInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SubscriptionListCall.html) +* [super chat events](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SuperChatEvent.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.SuperChatEventListCall.html) +* [thumbnails](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Thumbnail.html) + * [*set*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ThumbnailSetCall.html) +* [video abuse report reasons](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoAbuseReportReason.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoAbuseReportReasonListCall.html) +* [video categories](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoCategory.html) + * [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoCategoryListCall.html) +* [videos](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.Video.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoDeleteCall.html), [*get rating*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoGetRatingCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoListCall.html), [*rate*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoRateCall.html), [*report abuse*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoReportAbuseCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoUpdateCall.html) * watermarks - * [*set*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.WatermarkSetCall.html) and [*unset*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.WatermarkUnsetCall.html) + * [*set*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.WatermarkSetCall.html) and [*unset*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.WatermarkUnsetCall.html) Upload supported by ... -* [*set thumbnails*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ThumbnailSetCall.html) -* [*insert captions*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionInsertCall.html) -* [*insert videos*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.VideoInsertCall.html) -* [*set watermarks*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.WatermarkSetCall.html) -* [*insert channel banners*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.ChannelBannerInsertCall.html) -* [*update captions*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionUpdateCall.html) +* [*set thumbnails*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ThumbnailSetCall.html) +* [*insert captions*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionInsertCall.html) +* [*insert videos*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.VideoInsertCall.html) +* [*set watermarks*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.WatermarkSetCall.html) +* [*insert channel banners*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.ChannelBannerInsertCall.html) +* [*update captions*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionUpdateCall.html) Download supported by ... -* [*download captions*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.CaptionDownloadCall.html) +* [*download captions*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.CaptionDownloadCall.html) Subscription supported by ... -* [*list playlist items*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.PlaylistItemListCall.html) +* [*list playlist items*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.PlaylistItemListCall.html) @@ -90,17 +90,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/struct.YouTube.html)** +* **[Hub](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/struct.YouTube.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.Part.html)** + * **[Parts](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -209,17 +209,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.ResponseResult.html), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -229,29 +229,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.CallBuilder.html) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.Part.html) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-youtube3/1.0.10+20190513/google_youtube3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-youtube3/1.0.11+20190513/google_youtube3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtube3/src/cmn.rs b/gen/youtube3/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/youtube3/src/cmn.rs +++ b/gen/youtube3/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/youtube3/src/lib.rs b/gen/youtube3/src/lib.rs index e287be4759..f48491fe96 100644 --- a/gen/youtube3/src/lib.rs +++ b/gen/youtube3/src/lib.rs @@ -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* crate version *1.0.10+20190513*, where *20190513* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *YouTube* crate version *1.0.11+20190513*, where *20190513* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *YouTube* *v3* API can be found at the //! [official documentation site](https://developers.google.com/youtube/v3). @@ -434,7 +434,7 @@ impl<'a, C, A> YouTube YouTube { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://www.googleapis.com/youtube/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -520,7 +520,7 @@ impl<'a, C, A> YouTube } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/youtubereporting1-cli/Cargo.toml b/gen/youtubereporting1-cli/Cargo.toml index 0b8841dd3e..14e869808a 100644 --- a/gen/youtubereporting1-cli/Cargo.toml +++ b/gen/youtubereporting1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtubereporting1-cli" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubereporting1-cli" @@ -27,16 +27,19 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } strsim = "^0.5" hyper-rustls = "^0.6" yup-hyper-mock = "^2.0" clap = "^2.0" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] [dependencies.google-youtubereporting1] path = "../youtubereporting1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" diff --git a/gen/youtubereporting1-cli/README.md b/gen/youtubereporting1-cli/README.md index cd99c3d652..325b6b8a10 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 *20190703*. The CLI is at version *1.0.10*. +This documentation was generated from the *YouTube Reporting* API at revision *20190703*. The CLI is at version *1.0.11*. ```bash youtubereporting1 [options] diff --git a/gen/youtubereporting1-cli/mkdocs.yml b/gen/youtubereporting1-cli/mkdocs.yml index 8a542d45ae..d5910c0b15 100644 --- a/gen/youtubereporting1-cli/mkdocs.yml +++ b/gen/youtubereporting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube Reporting v1.0.10+20190703 +site_name: YouTube Reporting v1.0.11+20190703 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 2565894103..3897619cbd 100644 --- a/gen/youtubereporting1-cli/src/main.rs +++ b/gen/youtubereporting1-cli/src/main.rs @@ -893,7 +893,7 @@ fn main() { let mut app = App::new("youtubereporting1") .author("Sebastian Thiel ") - .version("1.0.10+20190703") + .version("1.0.11+20190703") .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 a8b9007de4..8c203cc0dc 100644 --- a/gen/youtubereporting1/Cargo.toml +++ b/gen/youtubereporting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtubereporting1" -version = "1.0.10+20190703" +version = "1.0.11+20190703" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubereporting1" homepage = "https://developers.google.com/youtube/reporting/v1/reports/" -documentation = "https://docs.rs/google-youtubereporting1/1.0.10+20190703" +documentation = "https://docs.rs/google-youtubereporting1/1.0.11+20190703" license = "MIT" keywords = ["youtubereporting", "google", "protocol", "web", "api"] autobins = false @@ -24,9 +24,12 @@ mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 1.0" +yup-oauth2 = { version = "^ 1.0", default-features = false } url = "= 1.7" [features] +default = ["openssl"] +openssl = ["yup-oauth2/default"] +rustls = ["yup-oauth2/no-openssl"] diff --git a/gen/youtubereporting1/README.md b/gen/youtubereporting1/README.md index 8b0f973c1b..7514c49c0b 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +This documentation was generated from *YouTube Reporting* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. 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/1.0.10+20190703/google_youtubereporting1/struct.YouTubeReporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.YouTubeReporting.html) ... -* [jobs](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.Job.html) - * [*create*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.JobCreateCall.html), [*delete*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.JobDeleteCall.html), [*get*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.JobGetCall.html), [*list*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.JobListCall.html), [*reports get*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.JobReportGetCall.html) and [*reports list*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.JobReportListCall.html) +* [jobs](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.Job.html) + * [*create*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.JobCreateCall.html), [*delete*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.JobDeleteCall.html), [*get*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.JobGetCall.html), [*list*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.JobListCall.html), [*reports get*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.JobReportGetCall.html) and [*reports list*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.JobReportListCall.html) * media - * [*download*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.MediaDownloadCall.html) -* [report types](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.ReportType.html) - * [*list*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.ReportTypeListCall.html) + * [*download*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.MediaDownloadCall.html) +* [report types](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.ReportType.html) + * [*list*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.ReportTypeListCall.html) Download supported by ... -* [*download media*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.MediaDownloadCall.html) +* [*download media*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.MediaDownloadCall.html) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/struct.YouTubeReporting.html)** +* **[Hub](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/struct.YouTubeReporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.Part.html)** + * **[Parts](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/enum.Result.html) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all 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/1.0.10+20190703/google_youtubereporting1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/enum.Result.html), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.ResponseResult.html), it will return that by default. You can see it as meta-data 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-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.CallBuilder.html) 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/1.0.11+20190703/google_youtubereporting1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.CallBuilder.html) before making the final `doit()` call. Respective methods will 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/1.0.10+20190703/google_youtubereporting1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [enocodable](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-youtubereporting1/1.0.10+20190703/google_youtubereporting1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [enocodable](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.ResponseResult.html) 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/1.0.10+20190703/google_youtubereporting1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.Part.html) which are identifiable by name, which will be sent to the server to 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/1.0.10+20190703/google_youtubereporting1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for 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/1.0.10+20190703/google_youtubereporting1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-youtubereporting1/1.0.11+20190703/google_youtubereporting1/trait.RequestValue.html) are 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/cmn.rs b/gen/youtubereporting1/src/cmn.rs index 06adbde728..a74676f1c7 100644 --- a/gen/youtubereporting1/src/cmn.rs +++ b/gen/youtubereporting1/src/cmn.rs @@ -72,24 +72,24 @@ pub struct JsonServerError { /// The latter happen if the sent parameters or request structures are unsound #[derive(Deserialize, Serialize, Debug)] pub struct ErrorResponse { - error: ServerError, + pub error: ServerError, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerError { - errors: Vec, - code: u16, - message: String, + pub errors: Vec, + pub code: u16, + pub message: String, } #[derive(Deserialize, Serialize, Debug)] pub struct ServerMessage { - domain: String, - reason: String, - message: String, + pub domain: String, + pub reason: String, + pub message: String, #[serde(rename="locationType")] - location_type: Option, - location: Option + pub location_type: Option, + pub location: Option } #[derive(Copy, Clone)] diff --git a/gen/youtubereporting1/src/lib.rs b/gen/youtubereporting1/src/lib.rs index b1dbeda2ee..375428d020 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 *1.0.10+20190703*, where *20190703* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*. +//! This documentation was generated from *YouTube Reporting* crate version *1.0.11+20190703*, where *20190703* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*. //! //! Everything else about the *YouTube Reporting* *v1* API can be found at the //! [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). @@ -346,7 +346,7 @@ impl<'a, C, A> YouTubeReporting YouTubeReporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.10".to_string(), + _user_agent: "google-api-rust-client/1.0.11".to_string(), _base_url: "https://youtubereporting.googleapis.com/".to_string(), _root_url: "https://youtubereporting.googleapis.com/".to_string(), } @@ -363,7 +363,7 @@ impl<'a, C, A> YouTubeReporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.10`. + /// It defaults to `google-api-rust-client/1.0.11`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String {