baseImages = $baseImages; } /** * @return GrafeasV1BaseImage[] */ public function getBaseImages() { return $this->baseImages; } /** * The layer chain ID (sha256 hash) of the layer in the container image. * https://github.com/opencontainers/image-spec/blob/main/config.md#layer- * chainid * * @param string $chainId */ public function setChainId($chainId) { $this->chainId = $chainId; } /** * @return string */ public function getChainId() { return $this->chainId; } /** * The layer build command that was used to build the layer. This may not be * found in all layers depending on how the container image is built. * * @param string $command */ public function setCommand($command) { $this->command = $command; } /** * @return string */ public function getCommand() { return $this->command; } /** * The diff ID (typically a sha256 hash) of the layer in the container image. * * @param string $diffId */ public function setDiffId($diffId) { $this->diffId = $diffId; } /** * @return string */ public function getDiffId() { return $this->diffId; } /** * The index of the layer in the container image. * * @param int $index */ public function setIndex($index) { $this->index = $index; } /** * @return int */ public function getIndex() { return $this->index; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GrafeasV1LayerDetails::class, 'Google_Service_OnDemandScanning_GrafeasV1LayerDetails');