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:
@@ -2309,7 +2309,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());
|
||||
|
||||
@@ -2596,7 +2596,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("metricName", self._metric_name);
|
||||
params.push("metricName", &self._metric_name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2860,7 +2860,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("metricName", self._metric_name);
|
||||
params.push("metricName", &self._metric_name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3128,7 +3128,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -3419,7 +3419,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("metricName", self._metric_name);
|
||||
params.push("metricName", &self._metric_name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3715,7 +3715,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
if let Some(value) = self._unique_writer_identity.as_ref() {
|
||||
params.push("uniqueWriterIdentity", value.to_string());
|
||||
}
|
||||
@@ -4015,7 +4015,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("sinkName", self._sink_name);
|
||||
params.push("sinkName", &self._sink_name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4282,7 +4282,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("sinkName", self._sink_name);
|
||||
params.push("sinkName", &self._sink_name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4553,7 +4553,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("parent", self._parent);
|
||||
params.push("parent", &self._parent);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -4851,7 +4851,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("sinkName", self._sink_name);
|
||||
params.push("sinkName", &self._sink_name);
|
||||
if let Some(value) = self._update_mask.as_ref() {
|
||||
params.push("updateMask", value.to_string());
|
||||
}
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -170,7 +170,7 @@ pub struct LabelDescriptor {
|
||||
/// The type of data that can be assigned to the label.
|
||||
#[serde(rename="valueType")]
|
||||
|
||||
pub value_type: Option<String>,
|
||||
pub value_type: Option<LabelDescriptorValueTypeEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for LabelDescriptor {}
|
||||
@@ -385,7 +385,7 @@ pub struct LogEntry {
|
||||
pub resource: Option<MonitoredResource>,
|
||||
/// Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.
|
||||
|
||||
pub severity: Option<String>,
|
||||
pub severity: Option<LogEntrySeverityEnum>,
|
||||
/// Optional. Source code location information associated with the log entry, if any.
|
||||
#[serde(rename="sourceLocation")]
|
||||
|
||||
@@ -509,7 +509,7 @@ pub struct LogMetric {
|
||||
pub value_extractor: Option<String>,
|
||||
/// Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
|
||||
|
||||
pub version: Option<String>,
|
||||
pub version: Option<LogMetricVersionEnum>,
|
||||
}
|
||||
|
||||
impl client::RequestValue for LogMetric {}
|
||||
@@ -558,7 +558,7 @@ pub struct LogSink {
|
||||
/// Deprecated. The log entry format to use for this sink's exported log entries. The v2 format is used by default and cannot be changed.
|
||||
#[serde(rename="outputVersionFormat")]
|
||||
|
||||
pub output_version_format: Option<String>,
|
||||
pub output_version_format: Option<LogSinkOutputVersionFormatEnum>,
|
||||
/// Output only. The last update timestamp of the sink.This field may not be present for older sinks.
|
||||
#[serde(rename="updateTime")]
|
||||
|
||||
@@ -596,7 +596,7 @@ pub struct MetricDescriptor {
|
||||
/// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
|
||||
#[serde(rename="metricKind")]
|
||||
|
||||
pub metric_kind: Option<String>,
|
||||
pub metric_kind: Option<MetricDescriptorMetricKindEnum>,
|
||||
/// The resource name of the metric descriptor.
|
||||
|
||||
pub name: Option<String>,
|
||||
@@ -655,7 +655,7 @@ pub struct MetricDescriptor {
|
||||
/// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.
|
||||
#[serde(rename="valueType")]
|
||||
|
||||
pub value_type: Option<String>,
|
||||
pub value_type: Option<MetricDescriptorValueTypeEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for MetricDescriptor {}
|
||||
@@ -676,7 +676,7 @@ pub struct MetricDescriptorMetadata {
|
||||
/// The launch stage of the metric definition.
|
||||
#[serde(rename="launchStage")]
|
||||
|
||||
pub launch_stage: Option<String>,
|
||||
pub launch_stage: Option<MetricDescriptorMetadataLaunchStageEnum>,
|
||||
/// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
|
||||
#[serde(rename="samplePeriod")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user