#[non_exhaustive]pub struct ListNotebookExecutionJobsRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub order_by: String,
pub view: NotebookExecutionJobView,
/* private fields */
}Expand description
Request message for [NotebookService.ListNotebookExecutionJobs]
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. The resource name of the Location from which to list the
NotebookExecutionJobs.
Format: projects/{project}/locations/{location}
filter: StringOptional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.
notebookExecutionJobsupports = and !=.notebookExecutionJobrepresents the NotebookExecutionJob ID.displayNamesupports = and != and regex.schedulesupports = and != and regex.
Some examples:
notebookExecutionJob="123"notebookExecutionJob="my-execution-job"displayName="myDisplayName"anddisplayName=~"myDisplayNameRegex"
page_size: i32Optional. The standard list page size.
page_token: StringOptional. The standard list page token. Typically obtained via ListNotebookExecutionJobsResponse.next_page_token of the previous NotebookService.ListNotebookExecutionJobs call.
order_by: StringOptional. A comma-separated list of fields to order by, sorted in ascending order. Use “desc” after a field name for descending. Supported fields:
display_namecreate_timeupdate_time
Example: display_name, create_time desc.
view: NotebookExecutionJobViewOptional. The NotebookExecutionJob view. Defaults to BASIC.
Implementations§
Source§impl ListNotebookExecutionJobsRequest
impl ListNotebookExecutionJobsRequest
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_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
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.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
Sourcepub fn set_view<T: Into<NotebookExecutionJobView>>(self, v: T) -> Self
pub fn set_view<T: Into<NotebookExecutionJobView>>(self, v: T) -> Self
Sets the value of view.
Trait Implementations§
Source§impl Clone for ListNotebookExecutionJobsRequest
impl Clone for ListNotebookExecutionJobsRequest
Source§fn clone(&self) -> ListNotebookExecutionJobsRequest
fn clone(&self) -> ListNotebookExecutionJobsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ListNotebookExecutionJobsRequest
impl Default for ListNotebookExecutionJobsRequest
Source§fn default() -> ListNotebookExecutionJobsRequest
fn default() -> ListNotebookExecutionJobsRequest
Source§impl<'de> Deserialize<'de> for ListNotebookExecutionJobsRequest
impl<'de> Deserialize<'de> for ListNotebookExecutionJobsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ListNotebookExecutionJobsRequest
impl PartialEq for ListNotebookExecutionJobsRequest
Source§fn eq(&self, other: &ListNotebookExecutionJobsRequest) -> bool
fn eq(&self, other: &ListNotebookExecutionJobsRequest) -> bool
self and other values to be equal, and is used by ==.