Struct gapi_grpc::google::api::servicecontrol::v1::ReportRequest[][src]

pub struct ReportRequest {
    pub service_name: String,
    pub operations: Vec<Operation>,
    pub service_config_id: String,
}

Request message for the Report method.

Fields

service_name: String

The service name as specified in its service configuration. For example, "pubsub.googleapis.com".

See google.api.Service for the definition of a service name.

operations: Vec<Operation>

Operations to be reported.

Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report.

There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.

service_config_id: String

Specifies which version of service config should be used to process the request.

If unspecified or no matching version can be found, the latest one will be used.

Trait Implementations

impl Clone for ReportRequest[src]

impl Debug for ReportRequest[src]

impl Default for ReportRequest[src]

impl Message for ReportRequest[src]

impl PartialEq<ReportRequest> for ReportRequest[src]

impl StructuralPartialEq for ReportRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ReportRequest

impl Send for ReportRequest

impl Sync for ReportRequest

impl Unpin for ReportRequest

impl UnwindSafe for ReportRequest

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]