Struct google_api_proto::google::cloud::kms::v1::ListCryptoKeysRequest
source · pub struct ListCryptoKeysRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub version_view: i32,
pub filter: String,
pub order_by: String,
}
Expand description
Request message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
Fields§
§parent: String
Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing]
to list, in the format projects/*/locations/*/keyRings/*
.
page_size: i32
Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
page_token: String
Optional. Optional pagination token, returned earlier via [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token].
version_view: i32
The fields of the primary version to include in the response.
filter: String
Optional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results.
order_by: String
Optional. 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 ListCryptoKeysRequest
impl ListCryptoKeysRequest
sourcepub fn version_view(&self) -> CryptoKeyVersionView
pub fn version_view(&self) -> CryptoKeyVersionView
Returns the enum value of version_view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_version_view(&mut self, value: CryptoKeyVersionView)
pub fn set_version_view(&mut self, value: CryptoKeyVersionView)
Sets version_view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListCryptoKeysRequest
impl Clone for ListCryptoKeysRequest
source§fn clone(&self) -> ListCryptoKeysRequest
fn clone(&self) -> ListCryptoKeysRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCryptoKeysRequest
impl Debug for ListCryptoKeysRequest
source§impl Default for ListCryptoKeysRequest
impl Default for ListCryptoKeysRequest
source§impl Message for ListCryptoKeysRequest
impl Message for ListCryptoKeysRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListCryptoKeysRequest
impl PartialEq for ListCryptoKeysRequest
source§fn eq(&self, other: &ListCryptoKeysRequest) -> bool
fn eq(&self, other: &ListCryptoKeysRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCryptoKeysRequest
Auto Trait Implementations§
impl Freeze for ListCryptoKeysRequest
impl RefUnwindSafe for ListCryptoKeysRequest
impl Send for ListCryptoKeysRequest
impl Sync for ListCryptoKeysRequest
impl Unpin for ListCryptoKeysRequest
impl UnwindSafe for ListCryptoKeysRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request