mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
regen all APIs
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *Speech* crate version *4.0.1+20220221*, where *20220221* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v4.0.1*.
|
||||
//! This documentation was generated from *Speech* crate version *5.0.2-beta-1+20230119*, where *20230119* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.2-beta-1*.
|
||||
//!
|
||||
//! 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).
|
||||
@@ -14,7 +14,7 @@
|
||||
//! * [operations](api::Operation)
|
||||
//! * [*get*](api::OperationGetCall) and [*list*](api::OperationListCall)
|
||||
//! * projects
|
||||
//! * [*locations custom classes create*](api::ProjectLocationCustomClasseCreateCall), [*locations custom classes delete*](api::ProjectLocationCustomClasseDeleteCall), [*locations custom classes get*](api::ProjectLocationCustomClasseGetCall), [*locations custom classes list*](api::ProjectLocationCustomClasseListCall), [*locations custom classes patch*](api::ProjectLocationCustomClassePatchCall), [*locations phrase sets create*](api::ProjectLocationPhraseSetCreateCall), [*locations phrase sets delete*](api::ProjectLocationPhraseSetDeleteCall), [*locations phrase sets get*](api::ProjectLocationPhraseSetGetCall), [*locations phrase sets list*](api::ProjectLocationPhraseSetListCall) and [*locations phrase sets patch*](api::ProjectLocationPhraseSetPatchCall)
|
||||
//! * [*locations custom classes create*](api::ProjectLocationCustomClassCreateCall), [*locations custom classes delete*](api::ProjectLocationCustomClassDeleteCall), [*locations custom classes get*](api::ProjectLocationCustomClassGetCall), [*locations custom classes list*](api::ProjectLocationCustomClassListCall), [*locations custom classes patch*](api::ProjectLocationCustomClassPatchCall), [*locations phrase sets create*](api::ProjectLocationPhraseSetCreateCall), [*locations phrase sets delete*](api::ProjectLocationPhraseSetDeleteCall), [*locations phrase sets get*](api::ProjectLocationPhraseSetGetCall), [*locations phrase sets list*](api::ProjectLocationPhraseSetListCall) and [*locations phrase sets patch*](api::ProjectLocationPhraseSetPatchCall)
|
||||
//! * speech
|
||||
//! * [*longrunningrecognize*](api::SpeechLongrunningrecognizeCall) and [*recognize*](api::SpeechRecognizeCall)
|
||||
//!
|
||||
@@ -83,7 +83,7 @@
|
||||
//! use speech1::{Result, Error};
|
||||
//! # async fn dox() {
|
||||
//! use std::default::Default;
|
||||
//! use speech1::{Speech, oauth2, hyper, hyper_rustls};
|
||||
//! use speech1::{Speech, oauth2, hyper, hyper_rustls, chrono, FieldMask};
|
||||
//!
|
||||
//! // Get an ApplicationSecret instance by some means. It contains the `client_id` and
|
||||
//! // `client_secret`, among other things.
|
||||
@@ -191,22 +191,17 @@
|
||||
// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
// Re-export the hyper and hyper_rustls crate, they are required to build the hub
|
||||
pub extern crate hyper;
|
||||
pub extern crate hyper_rustls;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
// Re-export the yup_oauth2 crate, that is required to call some methods of the hub and the client
|
||||
pub extern crate yup_oauth2 as oauth2;
|
||||
extern crate mime;
|
||||
extern crate url;
|
||||
|
||||
pub use hyper;
|
||||
pub use hyper_rustls;
|
||||
pub extern crate google_apis_common as client;
|
||||
pub use client::chrono;
|
||||
pub mod api;
|
||||
pub mod client;
|
||||
|
||||
// Re-export the hub type and some basic client structs
|
||||
pub use api::Speech;
|
||||
pub use client::{Result, Error, Delegate};
|
||||
pub use client::{Result, Error, Delegate, FieldMask};
|
||||
|
||||
// Re-export the yup_oauth2 crate, that is required to call some methods of the hub and the client
|
||||
#[cfg(feature = "yup-oauth2")]
|
||||
pub use client::oauth2;
|
||||
Reference in New Issue
Block a user