[][src]Struct gcp_client::google::cloud::kms::v1::ListCryptoKeyVersionsRequest

pub struct ListCryptoKeyVersionsRequest {
    pub parent: String,
    pub page_size: i32,
    pub page_token: String,
    pub view: i32,
    pub filter: String,
    pub order_by: String,
}

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

impl ListCryptoKeyVersionsRequest[src]

pub fn view(&self) -> CryptoKeyVersionView[src]

Returns the enum value of view, or the default if the field is set to an invalid enum value.

pub fn set_view(&mut self, value: CryptoKeyVersionView)[src]

Sets view to the provided enum value.

Trait Implementations

impl Clone for ListCryptoKeyVersionsRequest[src]

impl Debug for ListCryptoKeyVersionsRequest[src]

impl Default for ListCryptoKeyVersionsRequest[src]

impl Message for ListCryptoKeyVersionsRequest[src]

impl PartialEq<ListCryptoKeyVersionsRequest> for ListCryptoKeyVersionsRequest[src]

impl StructuralPartialEq for ListCryptoKeyVersionsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]