Compute V1 Client - Class GetVersionOperationMetadataSbomInfo (2.8.0)

Reference documentation and code samples for the Compute V1 Client class GetVersionOperationMetadataSbomInfo.

Generated from protobuf message google.cloud.compute.v1.GetVersionOperationMetadataSbomInfo

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ current_component_versions array|Google\Protobuf\Internal\MapField

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

↳ target_component_versions array|Google\Protobuf\Internal\MapField

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

getCurrentComponentVersions

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

Returns
Type Description
Google\Protobuf\Internal\MapField

setCurrentComponentVersions

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getTargetComponentVersions

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

Returns
Type Description
Google\Protobuf\Internal\MapField

setTargetComponentVersions

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this