Struct google_api_proto::google::dataflow::v1beta3::ListJobMessagesRequest
source · pub struct ListJobMessagesRequest {
pub project_id: String,
pub job_id: String,
pub minimum_importance: i32,
pub page_size: i32,
pub page_token: String,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub location: String,
}
Expand description
Request to list job messages. Up to max_results messages will be returned in the time range specified starting with the oldest messages first. If no time range is specified the results with start with the oldest message.
Fields§
§project_id: String
A project id.
job_id: String
The job to get messages about.
minimum_importance: i32
Filter to only get messages with importance >= level
page_size: i32
If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.
page_token: String
If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.
start_time: Option<Timestamp>
If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).
end_time: Option<Timestamp>
Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).
location: String
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
Implementations§
source§impl ListJobMessagesRequest
impl ListJobMessagesRequest
sourcepub fn minimum_importance(&self) -> JobMessageImportance
pub fn minimum_importance(&self) -> JobMessageImportance
Returns the enum value of minimum_importance
, or the default if the field is set to an invalid enum value.
sourcepub fn set_minimum_importance(&mut self, value: JobMessageImportance)
pub fn set_minimum_importance(&mut self, value: JobMessageImportance)
Sets minimum_importance
to the provided enum value.
Trait Implementations§
source§impl Clone for ListJobMessagesRequest
impl Clone for ListJobMessagesRequest
source§fn clone(&self) -> ListJobMessagesRequest
fn clone(&self) -> ListJobMessagesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListJobMessagesRequest
impl Debug for ListJobMessagesRequest
source§impl Default for ListJobMessagesRequest
impl Default for ListJobMessagesRequest
source§impl Message for ListJobMessagesRequest
impl Message for ListJobMessagesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListJobMessagesRequest
impl PartialEq for ListJobMessagesRequest
source§fn eq(&self, other: &ListJobMessagesRequest) -> bool
fn eq(&self, other: &ListJobMessagesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListJobMessagesRequest
Auto Trait Implementations§
impl Freeze for ListJobMessagesRequest
impl RefUnwindSafe for ListJobMessagesRequest
impl Send for ListJobMessagesRequest
impl Sync for ListJobMessagesRequest
impl Unpin for ListJobMessagesRequest
impl UnwindSafe for ListJobMessagesRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request