Struct google_api_proto::google::cloud::kms::v1::ListCryptoKeyVersionsRequest
source · pub struct ListCryptoKeyVersionsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub view: i32,
pub filter: String,
pub order_by: String,
}
Expand description
Request message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
Fields§
§parent: String
Required. The resource name of the
[CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
.
page_size: i32
Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can subsequently be obtained by including the [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.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 [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token].
view: i32
The fields 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 ListCryptoKeyVersionsRequest
impl ListCryptoKeyVersionsRequest
sourcepub fn view(&self) -> CryptoKeyVersionView
pub fn view(&self) -> CryptoKeyVersionView
Returns the enum value of view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_view(&mut self, value: CryptoKeyVersionView)
pub fn set_view(&mut self, value: CryptoKeyVersionView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListCryptoKeyVersionsRequest
impl Clone for ListCryptoKeyVersionsRequest
source§fn clone(&self) -> ListCryptoKeyVersionsRequest
fn clone(&self) -> ListCryptoKeyVersionsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCryptoKeyVersionsRequest
impl Debug for ListCryptoKeyVersionsRequest
source§impl Message for ListCryptoKeyVersionsRequest
impl Message for ListCryptoKeyVersionsRequest
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 ListCryptoKeyVersionsRequest
impl PartialEq for ListCryptoKeyVersionsRequest
source§fn eq(&self, other: &ListCryptoKeyVersionsRequest) -> bool
fn eq(&self, other: &ListCryptoKeyVersionsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCryptoKeyVersionsRequest
Auto Trait Implementations§
impl Freeze for ListCryptoKeyVersionsRequest
impl RefUnwindSafe for ListCryptoKeyVersionsRequest
impl Send for ListCryptoKeyVersionsRequest
impl Sync for ListCryptoKeyVersionsRequest
impl Unpin for ListCryptoKeyVersionsRequest
impl UnwindSafe for ListCryptoKeyVersionsRequest
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