#[non_exhaustive]pub struct ListWorkflowTemplatesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
A request to list workflow templates in a project.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names.
-
For
projects.regions.workflowTemplates,list, the resource name of the region has the following format:projects/{project_id}/regions/{region} -
For
projects.locations.workflowTemplates.list, the resource name of the location has the following format:projects/{project_id}/locations/{location}
page_size: i32Optional. The maximum number of results to return in each response.
page_token: StringOptional. The page token, returned by a previous call, to request the next page of results.
Implementations§
Source§impl ListWorkflowTemplatesRequest
impl ListWorkflowTemplatesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
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.
Trait Implementations§
Source§impl Clone for ListWorkflowTemplatesRequest
impl Clone for ListWorkflowTemplatesRequest
Source§fn clone(&self) -> ListWorkflowTemplatesRequest
fn clone(&self) -> ListWorkflowTemplatesRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListWorkflowTemplatesRequest
impl Debug for ListWorkflowTemplatesRequest
Source§impl Default for ListWorkflowTemplatesRequest
impl Default for ListWorkflowTemplatesRequest
Source§fn default() -> ListWorkflowTemplatesRequest
fn default() -> ListWorkflowTemplatesRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListWorkflowTemplatesRequest
impl PartialEq for ListWorkflowTemplatesRequest
Source§fn eq(&self, other: &ListWorkflowTemplatesRequest) -> bool
fn eq(&self, other: &ListWorkflowTemplatesRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListWorkflowTemplatesRequest
Auto Trait Implementations§
impl Freeze for ListWorkflowTemplatesRequest
impl RefUnwindSafe for ListWorkflowTemplatesRequest
impl Send for ListWorkflowTemplatesRequest
impl Sync for ListWorkflowTemplatesRequest
impl Unpin for ListWorkflowTemplatesRequest
impl UnwindSafe for ListWorkflowTemplatesRequest
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
Mutably borrows from an owned value. Read more