#[non_exhaustive]pub struct ListNotebookRuntimeTemplatesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub read_mask: Option<FieldMask>,
pub order_by: String,
/* private fields */
}Expand description
Request message for NotebookService.ListNotebookRuntimeTemplates.
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
NotebookRuntimeTemplates.
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.
notebookRuntimeTemplatesupports = and !=.notebookRuntimeTemplaterepresents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate’s [resource name] [google.cloud.aiplatform.v1.NotebookRuntimeTemplate.name].display_namesupports = and !=labelssupports general map functions that is:labels.key=value- key:value equality- `labels.key:* or labels:key - key existence
- A key including a space must be quoted.
labels."a key".
notebookRuntimeTypesupports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK].machineTypesupports = and !=.acceleratorTypesupports = and !=.
Some examples:
notebookRuntimeTemplate=notebookRuntimeTemplate123displayName="myDisplayName"labels.myKey="myValue"notebookRuntimeType=USER_DEFINEDmachineType=e2-standard-4acceleratorType=NVIDIA_TESLA_T4
page_size: i32Optional. The standard list page size.
page_token: StringOptional. The standard list page token. Typically obtained via ListNotebookRuntimeTemplatesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimeTemplates call.
read_mask: Option<FieldMask>Optional. Mask specifying which fields to read.
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.
Implementations§
Source§impl ListNotebookRuntimeTemplatesRequest
impl ListNotebookRuntimeTemplatesRequest
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_read_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_read_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of read_mask.
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.
Trait Implementations§
Source§impl Clone for ListNotebookRuntimeTemplatesRequest
impl Clone for ListNotebookRuntimeTemplatesRequest
Source§fn clone(&self) -> ListNotebookRuntimeTemplatesRequest
fn clone(&self) -> ListNotebookRuntimeTemplatesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ListNotebookRuntimeTemplatesRequest
impl Default for ListNotebookRuntimeTemplatesRequest
Source§fn default() -> ListNotebookRuntimeTemplatesRequest
fn default() -> ListNotebookRuntimeTemplatesRequest
Source§impl<'de> Deserialize<'de> for ListNotebookRuntimeTemplatesRequest
impl<'de> Deserialize<'de> for ListNotebookRuntimeTemplatesRequest
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 ListNotebookRuntimeTemplatesRequest
impl PartialEq for ListNotebookRuntimeTemplatesRequest
Source§fn eq(&self, other: &ListNotebookRuntimeTemplatesRequest) -> bool
fn eq(&self, other: &ListNotebookRuntimeTemplatesRequest) -> bool
self and other values to be equal, and is used by ==.