rebuild all dependencies with latest version v5.0.3

This commit is contained in:
Sebastian Thiel
2023-08-23 08:25:17 +02:00
parent 1527d3c1c3
commit ef9f0d7480
2568 changed files with 47178 additions and 43610 deletions

View File

@@ -77,7 +77,7 @@ impl Default for Scope {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -125,7 +125,7 @@ impl<'a, S> CommentAnalyzer<S> {
CommentAnalyzer {
client,
auth: Box::new(auth),
_user_agent: "google-api-rust-client/5.0.2".to_string(),
_user_agent: "google-api-rust-client/5.0.3".to_string(),
_base_url: "https://commentanalyzer.googleapis.com/".to_string(),
_root_url: "https://commentanalyzer.googleapis.com/".to_string(),
}
@@ -136,7 +136,7 @@ impl<'a, S> CommentAnalyzer<S> {
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/5.0.2`.
/// It defaults to `google-api-rust-client/5.0.3`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {
@@ -173,7 +173,6 @@ impl<'a, S> CommentAnalyzer<S> {
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [analyze comments](CommentAnalyzeCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct AnalyzeCommentRequest {
@@ -247,7 +246,6 @@ impl client::RequestValue for AnalyzeCommentRequest {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [analyze comments](CommentAnalyzeCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct AnalyzeCommentResponse {
@@ -268,11 +266,11 @@ pub struct AnalyzeCommentResponse {
pub detected_languages: Option<Vec<String>>,
/// The language(s) used by CommentAnalyzer service to choose which Model to
/// use when analyzing the comment. Might better be called
/// "effective_languages". The logic used to make the choice is as follows:
/// effective_languages. The logic used to make the choice is as follows:
/// if !Request.languages.empty()
/// effective_languages = Request.languages
/// else
/// effective_languages = detected_languages[0]
/// effective_languages = detected_languages\[0\]
pub languages: Option<Vec<String>>,
}
@@ -426,7 +424,6 @@ impl client::Part for SpanScore {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [suggestscore comments](CommentSuggestscoreCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct SuggestCommentScoreRequest {
@@ -492,7 +489,6 @@ impl client::RequestValue for SuggestCommentScoreRequest {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [suggestscore comments](CommentSuggestscoreCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct SuggestCommentScoreResponse {
@@ -558,7 +554,7 @@ impl client::Part for TextEntry {}
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `analyze(...)` and `suggestscore(...)`
/// // to build up your call.
@@ -641,7 +637,7 @@ impl<'a, S> CommentMethods<'a, S> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -819,7 +815,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> CommentAnalyzeCall<'a, S> {
@@ -913,7 +910,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // As the method needs a request, you would usually fill it with the desired information
/// // into the respective structure. Some of the parts shown here might not be applicable !
/// // Values shown here are possibly random and not representative !
@@ -1091,7 +1088,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> CommentSuggestscoreCall<'a, S> {

View File

@@ -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 *Comment Analyzer* crate version *5.0.2+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.2*.
//! This documentation was generated from *Comment Analyzer* crate version *5.0.3+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//!
//! Everything else about the *Comment Analyzer* *v1_alpha1* API can be found at the
//! [official documentation site](https://github.com/conversationai/perspectiveapi/blob/master/README.md).
@@ -92,7 +92,7 @@
//! secret,
//! oauth2::InstalledFlowReturnMethod::HTTPRedirect,
//! ).build().await.unwrap();
//! let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
//! let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
//! // As the method needs a request, you would usually fill it with the desired information
//! // into the respective structure. Some of the parts shown here might not be applicable !
//! // Values shown here are possibly random and not representative !