pub struct Repository {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub format: Option<String>,
pub kms_key_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub satisfies_pzi: Option<bool>,
pub satisfies_pzs: Option<bool>,
pub size_bytes: Option<i64>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A Repository for storing artifacts with a specific format.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations repositories create projects (request)
- locations repositories get projects (response)
- locations repositories patch projects (request|response)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The time when the repository was created.
description: Option<String>The user-provided description of the repository.
format: Option<String>Optional. The format of packages that are stored in the repository.
kms_key_name: Option<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.
labels: Option<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.
name: Option<String>The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. For each location in a project, repository names must be unique.
satisfies_pzi: Option<bool>Output only. Whether or not this repository satisfies PZI.
satisfies_pzs: Option<bool>Output only. Whether or not this repository satisfies PZS.
size_bytes: Option<i64>Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
update_time: Option<DateTime<Utc>>Output only. The time when the repository was last updated.
Trait Implementations§
Source§impl Clone for Repository
impl Clone for Repository
Source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more