Struct gapi_grpc::google::devtools::artifactregistry::v1beta2::Repository[][src]

pub struct Repository {
    pub name: String,
    pub format: i32,
    pub description: String,
    pub labels: HashMap<String, String>,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub kms_key_name: String,
}

A Repository for storing artifacts with a specific format.

Fields

name: String

The name of the repository, for example: “projects/p1/locations/us-central1/repositories/repo1”.

format: i32

The format of packages that are stored in the repository.

description: String

The user-provided description of the repository.

labels: HashMap<String, String>

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

create_time: Option<Timestamp>

The time when the repository was created.

update_time: Option<Timestamp>

The time when the repository was last updated.

kms_key_name: String

The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

Implementations

impl Repository[src]

pub fn format(&self) -> Format[src]

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

pub fn set_format(&mut self, value: Format)[src]

Sets format to the provided enum value.

Trait Implementations

impl Clone for Repository[src]

impl Debug for Repository[src]

impl Default for Repository[src]

impl Message for Repository[src]

impl PartialEq<Repository> for Repository[src]

impl StructuralPartialEq for Repository[src]

Auto Trait Implementations

impl RefUnwindSafe for Repository

impl Send for Repository

impl Sync for Repository

impl Unpin for Repository

impl UnwindSafe for Repository

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]