#[non_exhaustive]pub struct ListWorkflowsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
/* private fields */
}Expand description
Request for the ListWorkflows method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}
page_size: i32Maximum number of workflows to return per call. The service might return fewer than this value even if not at the end of the collection. If a value is not specified, a default value of 500 is used. The maximum permitted value is 1000 and values greater than 1000 are coerced down to 1000.
page_token: StringA page token, received from a previous ListWorkflows call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListWorkflows must
match the call that provided the page token.
filter: StringFilter to restrict results to specific workflows. For details, see <a href=“https://google.aip.dev/160” class=“external”>AIP-160.
For example, if you are using the Google APIs Explorer:
state="SUCCEEDED"
or
createTime>"2023-08-01" AND state="FAILED"
order_by: StringComma-separated list of fields that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a “desc” suffix. If not specified, the results are returned in an unspecified order.
Implementations§
Source§impl ListWorkflowsRequest
impl ListWorkflowsRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
§Example
let x = ListWorkflowsRequest::new().set_page_token("example");Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ListWorkflowsRequest
impl Clone for ListWorkflowsRequest
Source§fn clone(&self) -> ListWorkflowsRequest
fn clone(&self) -> ListWorkflowsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListWorkflowsRequest
impl Debug for ListWorkflowsRequest
Source§impl Default for ListWorkflowsRequest
impl Default for ListWorkflowsRequest
Source§fn default() -> ListWorkflowsRequest
fn default() -> ListWorkflowsRequest
Source§impl Message for ListWorkflowsRequest
impl Message for ListWorkflowsRequest
Source§impl PartialEq for ListWorkflowsRequest
impl PartialEq for ListWorkflowsRequest
impl StructuralPartialEq for ListWorkflowsRequest
Auto Trait Implementations§
impl Freeze for ListWorkflowsRequest
impl RefUnwindSafe for ListWorkflowsRequest
impl Send for ListWorkflowsRequest
impl Sync for ListWorkflowsRequest
impl Unpin for ListWorkflowsRequest
impl UnsafeUnpin for ListWorkflowsRequest
impl UnwindSafe for ListWorkflowsRequest
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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