regen all APIs

This commit is contained in:
Sebastian Thiel
2024-03-05 19:02:07 +01:00
parent ca974aa0a5
commit 55badfe90e
1998 changed files with 490545 additions and 148021 deletions

View File

@@ -23,7 +23,7 @@ use crate::{client, client::GetToken, client::serde_with};
/// Identifies the an OAuth2 authorization scope.
/// A scope is needed when requesting an
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
#[derive(PartialEq, Eq, Hash)]
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
pub enum Scope {
/// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
CloudPlatform,
@@ -195,7 +195,7 @@ impl client::RequestValue for AddFirebaseRequest {}
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Bucket {
/// Resource name of the bucket.
/// Output only. Resource name of the bucket.
pub name: Option<String>,
}
@@ -306,7 +306,7 @@ impl<'a, S> ProjectMethods<'a, S> {
/// # Arguments
///
/// * `request` - No description provided.
/// * `bucket` - Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.
/// * `bucket` - Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.
pub fn buckets_add_firebase(&self, request: AddFirebaseRequest, bucket: &str) -> ProjectBucketAddFirebaseCall<'a, S> {
ProjectBucketAddFirebaseCall {
hub: self.hub,
@@ -324,7 +324,7 @@ impl<'a, S> ProjectMethods<'a, S> {
///
/// # Arguments
///
/// * `name` - Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.
/// * `name` - Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.
pub fn buckets_get(&self, name: &str) -> ProjectBucketGetCall<'a, S> {
ProjectBucketGetCall {
hub: self.hub,
@@ -341,7 +341,7 @@ impl<'a, S> ProjectMethods<'a, S> {
///
/// # Arguments
///
/// * `parent` - Required. Resource name of the parent Firebase project, `projects/{project_number}`.
/// * `parent` - Required. Resource name of the parent Firebase project, `projects/{project_id_or_number}`.
pub fn buckets_list(&self, parent: &str) -> ProjectBucketListCall<'a, S> {
ProjectBucketListCall {
hub: self.hub,
@@ -361,7 +361,7 @@ impl<'a, S> ProjectMethods<'a, S> {
/// # Arguments
///
/// * `request` - No description provided.
/// * `bucket` - Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.
/// * `bucket` - Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.
pub fn buckets_remove_firebase(&self, request: RemoveFirebaseRequest, bucket: &str) -> ProjectBucketRemoveFirebaseCall<'a, S> {
ProjectBucketRemoveFirebaseCall {
hub: self.hub,
@@ -588,7 +588,7 @@ where
self._request = new_value;
self
}
/// Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.
/// Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.
///
/// Sets the *bucket* path property to the given value.
///
@@ -850,7 +850,7 @@ where
}
/// Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.
/// Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.
///
/// Sets the *name* path property to the given value.
///
@@ -1122,7 +1122,7 @@ where
}
/// Required. Resource name of the parent Firebase project, `projects/{project_number}`.
/// Required. Resource name of the parent Firebase project, `projects/{project_id_or_number}`.
///
/// Sets the *parent* path property to the given value.
///
@@ -1428,7 +1428,7 @@ where
self._request = new_value;
self
}
/// Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.
/// Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.
///
/// Sets the *bucket* path property to the given value.
///

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 *Firebasestorage* crate version *5.0.3+20230106*, where *20230106* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//! This documentation was generated from *Firebasestorage* crate version *5.0.3+20240301*, where *20240301* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//!
//! Everything else about the *Firebasestorage* *v1_beta* API can be found at the
//! [official documentation site](https://firebase.google.com/docs/storage).