Google Cloud Artifact Registry V1 Client - Class ImageManifest (1.4.0)

Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class ImageManifest.

Details of a single image manifest within a multi-arch image.

Generated from protobuf message google.devtools.artifactregistry.v1.ImageManifest

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ architecture string

Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.

↳ os string

Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.

↳ digest string

Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".

↳ media_type string

Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"

↳ os_version string

Optional. The OS version of the image, for example on Windows 10.0.14393.1066.

↳ os_features array

Optional. The required OS features for the image, for example on Windows win32k.

↳ variant string

Optional. The variant of the CPU in the image, for example v7 to specify ARMv7 when architecture is arm.

getArchitecture

Optional. The CPU architecture of the image.

Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.

Returns
Type Description
string

setArchitecture

Optional. The CPU architecture of the image.

Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getOs

Optional. The operating system of the image.

Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.

Returns
Type Description
string

setOs

Optional. The operating system of the image.

Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getDigest

Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".

Returns
Type Description
string

setDigest

Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".

Parameter
Name Description
var string
Returns
Type Description
$this

getMediaType

Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"

Returns
Type Description
string

setMediaType

Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"

Parameter
Name Description
var string
Returns
Type Description
$this

getOsVersion

Optional. The OS version of the image, for example on Windows 10.0.14393.1066.

Returns
Type Description
string

setOsVersion

Optional. The OS version of the image, for example on Windows 10.0.14393.1066.

Parameter
Name Description
var string
Returns
Type Description
$this

getOsFeatures

Optional. The required OS features for the image, for example on Windows win32k.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOsFeatures

Optional. The required OS features for the image, for example on Windows win32k.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getVariant

Optional. The variant of the CPU in the image, for example v7 to specify ARMv7 when architecture is arm.

Returns
Type Description
string

setVariant

Optional. The variant of the CPU in the image, for example v7 to specify ARMv7 when architecture is arm.

Parameter
Name Description
var string
Returns
Type Description
$this