regen sheets 4 to prepare for release

This commit is contained in:
Sebastian Thiel
2022-04-22 07:20:32 +08:00
parent 493e723a7a
commit 3c5c971b3b
8 changed files with 64 additions and 58 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-sheets4-cli"
version = "3.0.0+20220221"
version = "3.1.0+20220221"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Sheets (protocol v4)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sheets4-cli"
@@ -20,12 +20,12 @@ name = "sheets4"
path = "src/main.rs"
[dependencies]
hyper-rustls = "^0.22"
hyper-rustls = "0.23.0"
mime = "^ 0.2.0"
serde = "^ 1.0"
serde_json = "^ 1.0"
serde_derive = "^ 1.0"
yup-oauth2 = "^ 6.0"
yup-oauth2 = "^ 6.6"
itertools = "^ 0.10"
strsim = "^0.5"
clap = "^2.0"
@@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] }
[dependencies.google-sheets4]
path = "../sheets4"
version = "3.0.0+20220221"
version = "3.1.0+20220221"

View File

@@ -25,7 +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 *20220221*. The CLI is at version *3.0.0*.
This documentation was generated from the *Sheets* API at revision *20220221*. The CLI is at version *3.1.0*.
```bash
sheets4 [options]

View File

@@ -1,4 +1,4 @@
site_name: Sheets v3.0.0+20220221
site_name: Sheets v3.1.0+20220221
site_url: http://byron.github.io/google-apis-rs/google-sheets4-cli
site_description: A complete library to interact with Sheets (protocol v4)

View File

@@ -1613,7 +1613,13 @@ impl<'n> Engine<'n> {
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).persist_tokens_to_disk(format!("{}/sheets4", config_dir)).build().await.unwrap();
let client = hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots());
let client = hyper::Client::builder().build(
hyper_rustls::HttpsConnectorBuilder::new().with_native_roots()
.https_or_http()
.enable_http1()
.enable_http2()
.build()
);
let engine = Engine {
opt: opt,
hub: api::Sheets::new(client, auth),
@@ -2137,7 +2143,7 @@ async fn main() {
let mut app = App::new("sheets4")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("3.0.0+20220221")
.version("3.1.0+20220221")
.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")

View File

@@ -4,12 +4,12 @@
[package]
name = "google-sheets4"
version = "3.0.0+20220221"
version = "3.1.0+20220221"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Sheets (protocol v4)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sheets4"
homepage = "https://developers.google.com/sheets/"
documentation = "https://docs.rs/google-sheets4/3.0.0+20220221"
documentation = "https://docs.rs/google-sheets4/3.1.0+20220221"
license = "MIT"
keywords = ["sheets", "google", "protocol", "web", "api"]
autobins = false
@@ -17,12 +17,12 @@ edition = "2018"
[dependencies]
hyper-rustls = "^0.22"
hyper-rustls = "0.23.0"
mime = "^ 0.2.0"
serde = "^ 1.0"
serde_json = "^ 1.0"
serde_derive = "^ 1.0"
yup-oauth2 = "^ 6.0"
yup-oauth2 = "^ 6.6"
itertools = "^ 0.10"
hyper = "^ 0.14"
url = "= 1.7"

View File

@@ -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 *3.0.0+20220221*, where *20220221* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*.
This documentation was generated from *Sheets* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*.
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/3.0.0+20220221/google_sheets4/Sheets) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/Sheets) ...
* [spreadsheets](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::Spreadsheet)
* [*batch update*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetBatchUpdateCall), [*create*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetCreateCall), [*developer metadata get*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetDeveloperMetadataGetCall), [*developer metadata search*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetDeveloperMetadataSearchCall), [*get*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetGetCall), [*get by data filter*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetGetByDataFilterCall), [*sheets copy to*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetSheetCopyToCall), [*values append*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueAppendCall), [*values batch clear*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueBatchClearCall), [*values batch clear by data filter*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueBatchClearByDataFilterCall), [*values batch get*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueBatchGetCall), [*values batch get by data filter*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueBatchGetByDataFilterCall), [*values batch update*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueBatchUpdateCall), [*values batch update by data filter*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueBatchUpdateByDataFilterCall), [*values clear*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueClearCall), [*values get*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueGetCall) and [*values update*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/api::SpreadsheetValueUpdateCall)
* [spreadsheets](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::Spreadsheet)
* [*batch update*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetBatchUpdateCall), [*create*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetCreateCall), [*developer metadata get*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetDeveloperMetadataGetCall), [*developer metadata search*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetDeveloperMetadataSearchCall), [*get*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetGetCall), [*get by data filter*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetGetByDataFilterCall), [*sheets copy to*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetSheetCopyToCall), [*values append*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueAppendCall), [*values batch clear*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueBatchClearCall), [*values batch clear by data filter*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueBatchClearByDataFilterCall), [*values batch get*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueBatchGetCall), [*values batch get by data filter*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueBatchGetByDataFilterCall), [*values batch update*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueBatchUpdateCall), [*values batch update by data filter*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueBatchUpdateByDataFilterCall), [*values clear*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueClearCall), [*values get*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueGetCall) and [*values update*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/api::SpreadsheetValueUpdateCall)
@@ -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/3.0.0+20220221/google_sheets4/Sheets)**
* **[Hub](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/Sheets)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::CallBuilder)
* **[Resources](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::Resource)**
* creates [*Method Builders*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::CallBuilder)
* **[Resources](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Resource)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::Part)**
* **[Parts](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Part)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::CallBuilder)**
* **[Activities](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::CallBuilder)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -107,7 +107,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder(
secret,
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
// As the method needs a request, you would usually fill it with the desired information
// into the respective structure. Some of the parts shown here might not be applicable !
// Values shown here are possibly random and not representative !
@@ -145,17 +145,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::Result) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Result) enumeration as return value of
the doit() methods, or handed as possibly intermediate results to either the
[Hub Delegate](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
makes the system potentially resilient to all 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/3.0.0+20220221/google_sheets4/client::Result), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Result), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::ResponseResult), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::ResponseResult), it will return that by default.
You can see it as meta-data 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-sheets4/3.0.0+20220221/google_sheets4/client::Delegate) to the
[Method Builder](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::CallBuilder) 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/3.1.0+20220221/google_sheets4/client::Delegate) to the
[Method Builder](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::CallBuilder) before making the final `doit()` call.
Respective methods will 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/3.0.0+20220221/google_sheets4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
## Optional Parts in Server-Requests
All structures provided by this library are made to be [encodable](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::RequestValue) and
[decodable](https://docs.rs/google-sheets4/3.0.0+20220221/google_sheets4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
All structures provided by this library are made to be [encodable](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::RequestValue) and
[decodable](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::ResponseResult) 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/3.0.0+20220221/google_sheets4/client::Part) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::Part) which are identifiable by name, which will be sent to
the server to 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/3.0.0+20220221/google_sheets4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
These will always take a single argument, for 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/3.0.0+20220221/google_sheets4/client::RequestValue) are moved
* [request values](https://docs.rs/google-sheets4/3.1.0+20220221/google_sheets4/client::RequestValue) are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.

View File

@@ -87,7 +87,7 @@ impl Default for Scope {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -140,7 +140,7 @@ impl<'a, > Sheets<> {
Sheets {
client,
auth: authenticator,
_user_agent: "google-api-rust-client/3.0.0".to_string(),
_user_agent: "google-api-rust-client/3.1.0".to_string(),
_base_url: "https://sheets.googleapis.com/".to_string(),
_root_url: "https://sheets.googleapis.com/".to_string(),
}
@@ -151,7 +151,7 @@ impl<'a, > Sheets<> {
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/3.0.0`.
/// It defaults to `google-api-rust-client/3.1.0`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {
@@ -5460,7 +5460,7 @@ impl client::Part for WaterfallChartSpec {}
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `batch_update(...)`, `create(...)`, `developer_metadata_get(...)`, `developer_metadata_search(...)`, `get(...)`, `get_by_data_filter(...)`, `sheets_copy_to(...)`, `values_append(...)`, `values_batch_clear(...)`, `values_batch_clear_by_data_filter(...)`, `values_batch_get(...)`, `values_batch_get_by_data_filter(...)`, `values_batch_update(...)`, `values_batch_update_by_data_filter(...)`, `values_clear(...)`, `values_get(...)` and `values_update(...)`
/// // to build up your call.
@@ -5851,7 +5851,7 @@ impl<'a> SpreadsheetMethods<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // You can configure optional parameters by calling the respective setters at will, and
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
@@ -6116,7 +6116,7 @@ impl<'a> SpreadsheetDeveloperMetadataGetCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -6398,7 +6398,7 @@ impl<'a> SpreadsheetDeveloperMetadataSearchCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -6692,7 +6692,7 @@ impl<'a> SpreadsheetSheetCopyToCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -7046,7 +7046,7 @@ impl<'a> SpreadsheetValueAppendCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -7328,7 +7328,7 @@ impl<'a> SpreadsheetValueBatchClearCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -7609,7 +7609,7 @@ impl<'a> SpreadsheetValueBatchClearByDataFilterCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // You can configure optional parameters by calling the respective setters at will, and
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
@@ -7913,7 +7913,7 @@ impl<'a> SpreadsheetValueBatchGetCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -8195,7 +8195,7 @@ impl<'a> SpreadsheetValueBatchGetByDataFilterCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -8477,7 +8477,7 @@ impl<'a> SpreadsheetValueBatchUpdateCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -8759,7 +8759,7 @@ impl<'a> SpreadsheetValueBatchUpdateByDataFilterCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -9052,7 +9052,7 @@ impl<'a> SpreadsheetValueClearCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // You can configure optional parameters by calling the respective setters at will, and
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
@@ -9353,7 +9353,7 @@ impl<'a> SpreadsheetValueGetCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -9695,7 +9695,7 @@ impl<'a> SpreadsheetValueUpdateCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -9977,7 +9977,7 @@ impl<'a> SpreadsheetBatchUpdateCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -10225,7 +10225,7 @@ impl<'a> SpreadsheetCreateCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // You can configure optional parameters by calling the respective setters at will, and
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
@@ -10505,7 +10505,7 @@ impl<'a> SpreadsheetGetCall<'a> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
/// # let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !

View File

@@ -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 *3.0.0+20220221*, where *20220221* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*.
//! This documentation was generated from *Sheets* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*.
//!
//! Everything else about the *Sheets* *v4* API can be found at the
//! [official documentation site](https://developers.google.com/sheets/).
@@ -108,7 +108,7 @@
//! secret,
//! oauth2::InstalledFlowReturnMethod::HTTPRedirect,
//! ).build().await.unwrap();
//! let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
//! let mut hub = Sheets::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
//! // As the method needs a request, you would usually fill it with the desired information
//! // into the respective structure. Some of the parts shown here might not be applicable !
//! // Values shown here are possibly random and not representative !