mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 04:35:18 +01:00
make regen-apis
This commit is contained in:
@@ -26,13 +26,13 @@ use super::*;
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.activities().list()
|
||||
/// .user_id("amet")
|
||||
/// .source("duo")
|
||||
/// .page_token("ipsum")
|
||||
/// .page_size(-93)
|
||||
/// .grouping_strategy("ut")
|
||||
/// .drive_file_id("gubergren")
|
||||
/// .drive_ancestor_id("rebum.")
|
||||
/// .user_id("ea")
|
||||
/// .source("ipsum")
|
||||
/// .page_token("invidunt")
|
||||
/// .page_size(-47)
|
||||
/// .grouping_strategy(&Default::default())
|
||||
/// .drive_file_id("duo")
|
||||
/// .drive_ancestor_id("ipsum")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -44,7 +44,7 @@ pub struct ActivityListCall<'a, S>
|
||||
pub(super) _source: Option<String>,
|
||||
pub(super) _page_token: Option<String>,
|
||||
pub(super) _page_size: Option<i32>,
|
||||
pub(super) _grouping_strategy: Option<String>,
|
||||
pub(super) _grouping_strategy: Option<ActivityGroupingStrategyEnum>,
|
||||
pub(super) _drive_file_id: Option<String>,
|
||||
pub(super) _drive_ancestor_id: Option<String>,
|
||||
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
|
||||
@@ -233,8 +233,8 @@ where
|
||||
/// Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.
|
||||
///
|
||||
/// Sets the *grouping strategy* query property to the given value.
|
||||
pub fn grouping_strategy(mut self, new_value: &str) -> ActivityListCall<'a, S> {
|
||||
self._grouping_strategy = Some(new_value.to_string());
|
||||
pub fn grouping_strategy(mut self, new_value: &ActivityGroupingStrategyEnum) -> ActivityListCall<'a, S> {
|
||||
self._grouping_strategy = Some(new_value.clone());
|
||||
self
|
||||
}
|
||||
/// Identifies the Drive item to return activities for.
|
||||
|
||||
@@ -32,13 +32,13 @@ use super::*;
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.activities().list()
|
||||
/// .user_id("Lorem")
|
||||
/// .user_id("ipsum")
|
||||
/// .source("gubergren")
|
||||
/// .page_token("eos")
|
||||
/// .page_size(-4)
|
||||
/// .grouping_strategy("ea")
|
||||
/// .drive_file_id("ipsum")
|
||||
/// .drive_ancestor_id("invidunt")
|
||||
/// .page_token("Lorem")
|
||||
/// .page_size(-12)
|
||||
/// .grouping_strategy(&Default::default())
|
||||
/// .drive_file_id("eos")
|
||||
/// .drive_ancestor_id("dolor")
|
||||
/// .doit().await;
|
||||
///
|
||||
/// match result {
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -29,7 +29,7 @@ pub struct Event {
|
||||
/// Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event.
|
||||
#[serde(rename="additionalEventTypes")]
|
||||
|
||||
pub additional_event_types: Option<Vec<String>>,
|
||||
pub additional_event_types: Option<Vec<EventAdditionalEventTypesEnum>>,
|
||||
/// The time at which the event occurred formatted as Unix time in milliseconds.
|
||||
#[serde(rename="eventTimeMillis")]
|
||||
|
||||
@@ -50,7 +50,7 @@ pub struct Event {
|
||||
/// The main type of event that occurred.
|
||||
#[serde(rename="primaryEventType")]
|
||||
|
||||
pub primary_event_type: Option<String>,
|
||||
pub primary_event_type: Option<EventPrimaryEventTypeEnum>,
|
||||
/// Extra information for rename type events, such as the old and new names.
|
||||
|
||||
pub rename: Option<Rename>,
|
||||
@@ -146,11 +146,11 @@ pub struct Permission {
|
||||
pub permission_id: Option<String>,
|
||||
/// Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.
|
||||
|
||||
pub role: Option<String>,
|
||||
pub role: Option<PermissionRoleEnum>,
|
||||
/// Indicates how widely permissions are granted.
|
||||
#[serde(rename="type")]
|
||||
|
||||
pub type_: Option<String>,
|
||||
pub type_: Option<PermissionTypeEnum>,
|
||||
/// The user's information if the type is USER.
|
||||
|
||||
pub user: Option<User>,
|
||||
|
||||
Reference in New Issue
Block a user