#[non_exhaustive]pub struct ListVpcFlowLogsConfigsRequest {
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 ListVpcFlowLogsConfigs method.
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 parent resource of the VpcFlowLogsConfig, in one of the following formats:
-
For project-level resources:
projects/{project_id}/locations/global -
For organization-level resources:
organizations/{organization_id}/locations/global
page_size: i32Optional. Number of VpcFlowLogsConfigs to return.
page_token: StringOptional. Page token from an earlier query, as returned in
next_page_token.
filter: StringOptional. Lists the VpcFlowLogsConfigs that match the filter expression.
A filter expression must use the supported [CEL logic operators]
(https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
order_by: StringOptional. Field to use to sort the list.
Implementations§
Source§impl ListVpcFlowLogsConfigsRequest
impl ListVpcFlowLogsConfigsRequest
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 = ListVpcFlowLogsConfigsRequest::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 ListVpcFlowLogsConfigsRequest
impl Clone for ListVpcFlowLogsConfigsRequest
Source§fn clone(&self) -> ListVpcFlowLogsConfigsRequest
fn clone(&self) -> ListVpcFlowLogsConfigsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ListVpcFlowLogsConfigsRequest
impl Default for ListVpcFlowLogsConfigsRequest
Source§fn default() -> ListVpcFlowLogsConfigsRequest
fn default() -> ListVpcFlowLogsConfigsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListVpcFlowLogsConfigsRequest
impl PartialEq for ListVpcFlowLogsConfigsRequest
Source§fn eq(&self, other: &ListVpcFlowLogsConfigsRequest) -> bool
fn eq(&self, other: &ListVpcFlowLogsConfigsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListVpcFlowLogsConfigsRequest
Auto Trait Implementations§
impl Freeze for ListVpcFlowLogsConfigsRequest
impl RefUnwindSafe for ListVpcFlowLogsConfigsRequest
impl Send for ListVpcFlowLogsConfigsRequest
impl Sync for ListVpcFlowLogsConfigsRequest
impl Unpin for ListVpcFlowLogsConfigsRequest
impl UnsafeUnpin for ListVpcFlowLogsConfigsRequest
impl UnwindSafe for ListVpcFlowLogsConfigsRequest
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