#[non_exhaustive]pub struct ListSecretVersionsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}Expand description
Request message for SecretManagerService.ListSecretVersions.
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
Secret associated with the
SecretVersions to list, in
the format projects/*/secrets/* or projects/*/locations/*/secrets/*.
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 ListSecretVersionsResponse.next_page_token][].
filter: StringOptional. Filter string, adhering to the rules in List-operation filtering. List only secret versions matching the filter. If filter is empty, all secret versions are listed.
Implementations§
Source§impl ListSecretVersionsRequest
impl ListSecretVersionsRequest
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 ListSecretVersionsRequest
impl Clone for ListSecretVersionsRequest
Source§fn clone(&self) -> ListSecretVersionsRequest
fn clone(&self) -> ListSecretVersionsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more