#[non_exhaustive]pub struct ListContentRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
List content request. Returns the BASIC Content view.
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 parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id}
page_size: i32Optional. Maximum number of content to return. The service may return fewer than this value. If unspecified, at most 10 content will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: StringOptional. Page token received from a previous ListContent call. Provide
this to retrieve the subsequent page. When paginating, all other parameters
provided to ListContent must match the call that provided the page
token.
filter: StringOptional. Filter request. Filters are case-sensitive. The following formats are supported:
labels.key1 = “value1” labels:key1 type = “NOTEBOOK” type = “SQL_SCRIPT”
These restrictions can be coinjoined with AND, OR and NOT conjunctions.
Implementations§
Source§impl ListContentRequest
impl ListContentRequest
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.
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.
Trait Implementations§
Source§impl Clone for ListContentRequest
impl Clone for ListContentRequest
Source§fn clone(&self) -> ListContentRequest
fn clone(&self) -> ListContentRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more