Struct gapi_grpc::google::devtools::cloudtrace::v1::ListTracesRequest[][src]

pub struct ListTracesRequest {
    pub project_id: String,
    pub view: i32,
    pub page_size: i32,
    pub page_token: String,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub filter: String,
    pub order_by: String,
}

The request message for the ListTraces method. All fields are required unless specified.

Fields

project_id: String

Required. ID of the Cloud project where the trace data is stored.

view: i32

Optional. Type of data returned for traces in the list. Default is MINIMAL.

page_size: i32

Optional. Maximum number of traces to return. If not specified or <= 0, the implementation selects a reasonable value. The implementation may return fewer traces than the requested page size.

page_token: String

Token identifying the page of results to return. If provided, use the value of the next_page_token field from a previous request.

start_time: Option<Timestamp>

Start of the time interval (inclusive) during which the trace data was collected from the application.

end_time: Option<Timestamp>

End of the time interval (inclusive) during which the trace data was collected from the application.

filter: String

Optional. A filter against labels for the request.

By default, searches use prefix matching. To specify exact match, prepend a plus symbol (+) to the search term. Multiple terms are ANDed. Syntax:

order_by: String

Optional. Field used to sort the returned traces. Can be one of the following:

Descending order can be specified by appending desc to the sort field (for example, name desc).

Only one sort field is permitted.

Implementations

impl ListTracesRequest[src]

pub fn view(&self) -> ViewType[src]

Returns the enum value of view, or the default if the field is set to an invalid enum value.

pub fn set_view(&mut self, value: ViewType)[src]

Sets view to the provided enum value.

Trait Implementations

impl Clone for ListTracesRequest[src]

impl Debug for ListTracesRequest[src]

impl Default for ListTracesRequest[src]

impl Message for ListTracesRequest[src]

impl PartialEq<ListTracesRequest> for ListTracesRequest[src]

impl StructuralPartialEq for ListTracesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ListTracesRequest

impl Send for ListTracesRequest

impl Sync for ListTracesRequest

impl Unpin for ListTracesRequest

impl UnwindSafe for ListTracesRequest

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]