mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
make regen-apis
This commit is contained in:
@@ -362,7 +362,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -655,8 +655,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("queue", self._queue);
|
||||
params.push("taskId", self._task_id);
|
||||
params.push("queue", &self._queue);
|
||||
params.push("taskId", &self._task_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -958,7 +958,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1250,7 +1250,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1535,7 +1535,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1753,7 +1753,7 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().locations_queues_tasks_get("name")
|
||||
/// .response_view("duo")
|
||||
/// .response_view(&Default::default())
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -1762,7 +1762,7 @@ pub struct ProjectLocationQueueTaskGetCall<'a, S>
|
||||
|
||||
pub(super) hub: &'a CloudTasks<S>,
|
||||
pub(super) _name: String,
|
||||
pub(super) _response_view: Option<String>,
|
||||
pub(super) _response_view: Option<ProjectResponseViewEnum>,
|
||||
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
|
||||
pub(super) _additional_params: HashMap<String, String>,
|
||||
pub(super) _scopes: BTreeSet<String>
|
||||
@@ -1799,7 +1799,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
if let Some(value) = self._response_view.as_ref() {
|
||||
params.push("responseView", value);
|
||||
}
|
||||
@@ -1920,8 +1920,8 @@ where
|
||||
/// The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
||||
///
|
||||
/// Sets the *response view* query property to the given value.
|
||||
pub fn response_view(mut self, new_value: &str) -> ProjectLocationQueueTaskGetCall<'a, S> {
|
||||
self._response_view = Some(new_value.to_string());
|
||||
pub fn response_view(mut self, new_value: &ProjectResponseViewEnum) -> ProjectLocationQueueTaskGetCall<'a, S> {
|
||||
self._response_view = Some(new_value.clone());
|
||||
self
|
||||
}
|
||||
/// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong
|
||||
@@ -2078,7 +2078,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2319,9 +2319,9 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().locations_queues_tasks_list("parent")
|
||||
/// .response_view("Lorem")
|
||||
/// .response_view(&Default::default())
|
||||
/// .page_token("gubergren")
|
||||
/// .page_size(-75)
|
||||
/// .page_size(-51)
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -2330,7 +2330,7 @@ pub struct ProjectLocationQueueTaskListCall<'a, S>
|
||||
|
||||
pub(super) hub: &'a CloudTasks<S>,
|
||||
pub(super) _parent: String,
|
||||
pub(super) _response_view: Option<String>,
|
||||
pub(super) _response_view: Option<ProjectResponseViewEnum>,
|
||||
pub(super) _page_token: Option<String>,
|
||||
pub(super) _page_size: Option<i32>,
|
||||
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
|
||||
@@ -2369,7 +2369,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
if let Some(value) = self._response_view.as_ref() {
|
||||
params.push("responseView", value);
|
||||
}
|
||||
@@ -2496,8 +2496,8 @@ where
|
||||
/// The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
||||
///
|
||||
/// Sets the *response view* query property to the given value.
|
||||
pub fn response_view(mut self, new_value: &str) -> ProjectLocationQueueTaskListCall<'a, S> {
|
||||
self._response_view = Some(new_value.to_string());
|
||||
pub fn response_view(mut self, new_value: &ProjectResponseViewEnum) -> ProjectLocationQueueTaskListCall<'a, S> {
|
||||
self._response_view = Some(new_value.clone());
|
||||
self
|
||||
}
|
||||
/// A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
|
||||
@@ -2668,7 +2668,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2960,7 +2960,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3252,7 +3252,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3537,7 +3537,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3801,7 +3801,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
if let Some(value) = self._read_mask.as_ref() {
|
||||
params.push("readMask", value.to_string());
|
||||
}
|
||||
@@ -4080,7 +4080,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("resource", self._resource);
|
||||
params.push("resource", &self._resource);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4322,9 +4322,9 @@ where
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().locations_queues_list("parent")
|
||||
/// .read_mask(&Default::default())
|
||||
/// .page_token("sed")
|
||||
/// .page_size(-37)
|
||||
/// .filter("gubergren")
|
||||
/// .page_token("duo")
|
||||
/// .page_size(-50)
|
||||
/// .filter("sed")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -4373,7 +4373,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(7 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
if let Some(value) = self._read_mask.as_ref() {
|
||||
params.push("readMask", value.to_string());
|
||||
}
|
||||
@@ -4684,7 +4684,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
if let Some(value) = self._update_mask.as_ref() {
|
||||
params.push("updateMask", value.to_string());
|
||||
}
|
||||
@@ -4986,7 +4986,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5278,7 +5278,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5570,7 +5570,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5862,7 +5862,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("resource", self._resource);
|
||||
params.push("resource", &self._resource);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -6154,7 +6154,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("resource", self._resource);
|
||||
params.push("resource", &self._resource);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -6439,7 +6439,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -6657,9 +6657,9 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().locations_list("name")
|
||||
/// .page_token("Lorem")
|
||||
/// .page_size(-25)
|
||||
/// .filter("labore")
|
||||
/// .page_token("ea")
|
||||
/// .page_size(-99)
|
||||
/// .filter("Lorem")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -6707,7 +6707,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user