#[non_exhaustive]pub struct ListKeyRingsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
/* private fields */
}Expand description
Request message for KeyManagementService.ListKeyRings.
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 associated with the
KeyRings, in the format
projects/*/locations/*.
page_size: i32Optional. Optional limit on the number of KeyRings to include in the response. Further KeyRings can subsequently be obtained by including the ListKeyRingsResponse.next_page_token in a subsequent request. If unspecified, the server will pick an appropriate default.
page_token: StringOptional. Optional pagination token, returned earlier via ListKeyRingsResponse.next_page_token.
filter: StringOptional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results.
order_by: StringOptional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see Sorting and filtering list results.
Implementations§
Source§impl ListKeyRingsRequest
impl ListKeyRingsRequest
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
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 = ListKeyRingsRequest::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 ListKeyRingsRequest
impl Clone for ListKeyRingsRequest
Source§fn clone(&self) -> ListKeyRingsRequest
fn clone(&self) -> ListKeyRingsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more