Struct gapi_grpc::google::logging::v2::UpdateLogMetricRequest[][src]

pub struct UpdateLogMetricRequest {
    pub metric_name: String,
    pub metric: Option<LogMetric>,
}

The parameters to UpdateLogMetric.

Fields

metric_name: String

Required. The resource name of the metric to update:

"projects/[PROJECT_ID]/metrics/[METRIC_ID]"

The updated metric must be provided in the request and it’s name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.

metric: Option<LogMetric>

Required. The updated metric.

Trait Implementations

impl Clone for UpdateLogMetricRequest[src]

impl Debug for UpdateLogMetricRequest[src]

impl Default for UpdateLogMetricRequest[src]

impl Message for UpdateLogMetricRequest[src]

impl PartialEq<UpdateLogMetricRequest> for UpdateLogMetricRequest[src]

impl StructuralPartialEq for UpdateLogMetricRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateLogMetricRequest

impl Send for UpdateLogMetricRequest

impl Sync for UpdateLogMetricRequest

impl Unpin for UpdateLogMetricRequest

impl UnwindSafe for UpdateLogMetricRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]