Struct google_artifactregistry1::api::DockerImage[][src]

pub struct DockerImage {
    pub image_size_bytes: Option<String>,
    pub media_type: Option<String>,
    pub name: Option<String>,
    pub tags: Option<Vec<String>>,
    pub upload_time: Option<String>,
    pub uri: Option<String>,
}

DockerImage represents a docker artifact.

This type is not used in any activity, and only used as part of another schema.

Fields

image_size_bytes: Option<String>

Calculated size of the image.

media_type: Option<String>

Media type of this image, e.g. “application/vnd.docker.distribution.manifest.v2+json”.

name: Option<String>

Required. registry_location, project_id, repository_name and image id forms a unique image name:projects//locations//repository//dockerImages/. For example, “projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf”, where “us-west4” is the registry_location, “test-project” is the project_id, “test-repo” is the repository_name and “nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf” is the image’s digest.

tags: Option<Vec<String>>

Tags attached to this image.

upload_time: Option<String>

Time the image was uploaded.

uri: Option<String>

Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf

Trait Implementations

impl Clone for DockerImage[src]

impl Debug for DockerImage[src]

impl Default for DockerImage[src]

impl<'de> Deserialize<'de> for DockerImage[src]

impl Part for DockerImage[src]

impl Serialize for DockerImage[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.