Reference documentation and code samples for the Google Cloud OsConfig V1 Client class VulnerabilityReport.
This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time.
For more information, see Vulnerability reports .
Generated from protobuf message google.cloud.osconfig.v1.VulnerabilityReport
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The vulnerabilityReport
API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
↳ vulnerabilities
array< Google\Cloud\OsConfig\V1\VulnerabilityReport\Vulnerability
>
Output only. List of vulnerabilities affecting the VM.
↳ update_time
Google\Protobuf\Timestamp
Output only. The timestamp for when the last vulnerability report was generated for the VM.
getName
Output only. The vulnerabilityReport
API resource name.
Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
string
setName
Output only. The vulnerabilityReport
API resource name.
Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
var
string
$this
getVulnerabilities
Output only. List of vulnerabilities affecting the VM.
setVulnerabilities
Output only. List of vulnerabilities affecting the VM.
$this
getUpdateTime
Output only. The timestamp for when the last vulnerability report was generated for the VM.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp for when the last vulnerability report was generated for the VM.
$this