#[non_exhaustive]pub struct ListSecretsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}Expand description
Request message for SecretManagerService.ListSecrets.
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 project associated with the
Secrets, in the format projects/*
or projects/*/locations/*
page_size: i32Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.
page_token: StringOptional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.
filter: StringOptional. Filter string, adhering to the rules in List-operation filtering. List only secrets matching the filter. If filter is empty, all secrets are listed.
Implementations§
Source§impl ListSecretsRequest
impl ListSecretsRequest
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 ListSecretsRequest
impl Clone for ListSecretsRequest
Source§fn clone(&self) -> ListSecretsRequest
fn clone(&self) -> ListSecretsRequest
Returns a copy 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 ListSecretsRequest
impl Debug for ListSecretsRequest
Source§impl Default for ListSecretsRequest
impl Default for ListSecretsRequest
Source§fn default() -> ListSecretsRequest
fn default() -> ListSecretsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListSecretsRequestwhere
ListSecretsRequest: Default,
impl<'de> Deserialize<'de> for ListSecretsRequestwhere
ListSecretsRequest: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ListSecretsRequest
impl Message for ListSecretsRequest
Source§impl PartialEq for ListSecretsRequest
impl PartialEq for ListSecretsRequest
Source§impl Serialize for ListSecretsRequest
impl Serialize for ListSecretsRequest
impl StructuralPartialEq for ListSecretsRequest
Auto Trait Implementations§
impl Freeze for ListSecretsRequest
impl RefUnwindSafe for ListSecretsRequest
impl Send for ListSecretsRequest
impl Sync for ListSecretsRequest
impl Unpin for ListSecretsRequest
impl UnwindSafe for ListSecretsRequest
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