mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-21 02:37:05 +01:00
make regen-apis
This commit is contained in:
@@ -71,8 +71,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("traceId", self._trace_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
params.push("traceId", &self._trace_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -300,12 +300,12 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().traces_list("projectId")
|
||||
/// .view("takimata")
|
||||
/// .view(&Default::default())
|
||||
/// .start_time(chrono::Utc::now())
|
||||
/// .page_token("amet.")
|
||||
/// .page_size(-20)
|
||||
/// .order_by("ipsum")
|
||||
/// .filter("gubergren")
|
||||
/// .page_token("takimata")
|
||||
/// .page_size(-52)
|
||||
/// .order_by("duo")
|
||||
/// .filter("ipsum")
|
||||
/// .end_time(chrono::Utc::now())
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
@@ -315,7 +315,7 @@ pub struct ProjectTraceListCall<'a, S>
|
||||
|
||||
pub(super) hub: &'a CloudTrace<S>,
|
||||
pub(super) _project_id: String,
|
||||
pub(super) _view: Option<String>,
|
||||
pub(super) _view: Option<ProjectViewEnum>,
|
||||
pub(super) _start_time: Option<client::chrono::DateTime<client::chrono::offset::Utc>>,
|
||||
pub(super) _page_token: Option<String>,
|
||||
pub(super) _page_size: Option<i32>,
|
||||
@@ -358,7 +358,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(10 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
if let Some(value) = self._view.as_ref() {
|
||||
params.push("view", value);
|
||||
}
|
||||
@@ -497,8 +497,8 @@ where
|
||||
/// Optional. Type of data returned for traces in the list. Default is `MINIMAL`.
|
||||
///
|
||||
/// Sets the *view* query property to the given value.
|
||||
pub fn view(mut self, new_value: &str) -> ProjectTraceListCall<'a, S> {
|
||||
self._view = Some(new_value.to_string());
|
||||
pub fn view(mut self, new_value: &ProjectViewEnum) -> ProjectTraceListCall<'a, S> {
|
||||
self._view = Some(new_value.clone());
|
||||
self
|
||||
}
|
||||
/// Start of the time interval (inclusive) during which the trace data was collected from the application.
|
||||
@@ -697,7 +697,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -77,7 +77,7 @@ pub struct TraceSpan {
|
||||
pub end_time: Option<client::chrono::DateTime<client::chrono::offset::Utc>>,
|
||||
/// Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `RPC_CLIENT` and `RPC_SERVER` to identify queueing latency associated with the span.
|
||||
|
||||
pub kind: Option<String>,
|
||||
pub kind: Option<TraceSpanKindEnum>,
|
||||
/// Collection of labels associated with the span. Label keys must be less than 128 bytes. Label values must be less than 16 kilobytes (10MB for `/stacktrace` values). Some predefined label keys exist, or you may create your own. When creating your own, we recommend the following formats: * `/category/product/key` for agents of well-known products (e.g. `/db/mongodb/read_size`). * `short_host/path/key` for domain-specific keys (e.g. `foo.com/myproduct/bar`) Predefined labels include: * `/agent` * `/component` * `/error/message` * `/error/name` * `/http/client_city` * `/http/client_country` * `/http/client_protocol` * `/http/client_region` * `/http/host` * `/http/method` * `/http/path` * `/http/redirected_url` * `/http/request/size` * `/http/response/size` * `/http/route` * `/http/status_code` * `/http/url` * `/http/user_agent` * `/pid` * `/stacktrace` * `/tid`
|
||||
|
||||
pub labels: Option<HashMap<String, String>>,
|
||||
|
||||
Reference in New Issue
Block a user