Show / Hide Table of Contents

Class DockerImage

DockerImage represents a docker artifact. The following fields are returned as untyped metadata in the Version resource, using camelcase keys (i.e. metadata.imageSizeBytes): * imageSizeBytes * mediaType * buildTime

Inheritance
object
DockerImage
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class DockerImage : IDirectResponseSchema

Properties

BuildTime

object representation of BuildTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use BuildTimeDateTimeOffset instead.")]
public virtual object BuildTime { get; set; }
Property Value
Type Description
object

BuildTimeDateTimeOffset

DateTimeOffset representation of BuildTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? BuildTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

BuildTimeRaw

The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.

Declaration
[JsonProperty("buildTime")]
public virtual string BuildTimeRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ImageSizeBytes

Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource.

Declaration
[JsonProperty("imageSizeBytes")]
public virtual long? ImageSizeBytes { get; set; }
Property Value
Type Description
long?

MediaType

Media type of this image, e.g. "application/vnd.docker.distribution.manifest.v2+json". This field is returned as the 'metadata.mediaType' field in the Version resource.

Declaration
[JsonProperty("mediaType")]
public virtual string MediaType { get; set; }
Property Value
Type Description
string

Name

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.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Tags

Tags attached to this image.

Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
Type Description
IList<string>

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The time when the docker image was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

UploadTime

object representation of UploadTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UploadTimeDateTimeOffset instead.")]
public virtual object UploadTime { get; set; }
Property Value
Type Description
object

UploadTimeDateTimeOffset

DateTimeOffset representation of UploadTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UploadTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UploadTimeRaw

Time the image was uploaded.

Declaration
[JsonProperty("uploadTime")]
public virtual string UploadTimeRaw { get; set; }
Property Value
Type Description
string

Uri

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

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX