NAME
Google::Cloud::Osconfig::V1alpha::Vulnerability - Compiled Protocol Buffers messages for google/cloud/osconfig/v1alpha/vulnerability.proto
SYNOPSIS
use Google::Cloud::Osconfig::V1alpha::Vulnerability;
my $msg = Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport->new({
name => $name,
vulnerabilities => $vulnerabilities,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/osconfig/v1alpha/vulnerability.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Osconfig::V1alpha::Vulnerability::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](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The `vulnerabilityReport` API resource name.
Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
$msg->vulnerabilities()/$msg->vulnerabilities($value)Type:
Message(Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability)Output only. List of vulnerabilities affecting the VM.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp for when the last vulnerability report was generated for the VM.
Google::Cloud::Osconfig::V1alpha::Vulnerability::GetVulnerabilityReportRequest
A request message for getting the vulnerability report for the specified VM.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. API resource name for vulnerability resource.
Format: `projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport`
For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.
Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsRequest
A request message for listing vulnerability reports for all VM instances in the specified location.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of results to return.
$msg->page_token()/$msg->page_token($value)Type:
StringA pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
$msg->filter()/$msg->filter($value)Type:
StringIf provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.
Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsResponse
A response message for listing vulnerability reports for all VM instances in the specified location.
Inherits from Protobuf::Message.
Accessors
$msg->vulnerability_reports()/$msg->vulnerability_reports($value)Type:
Message(Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport)List of vulnerabilityReport objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe pagination token to retrieve the next page of vulnerabilityReports object.
Google::Cloud::Osconfig::V1alpha::Vulnerability::CVSSv3
Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document
Inherits from Protobuf::Message.
Accessors
$msg->base_score()/$msg->base_score($value)Type:
FloatThe base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics
$msg->exploitability_score()/$msg->exploitability_score($value)Type:
FloatThe Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
$msg->impact_score()/$msg->impact_score($value)Type:
FloatThe Impact sub-score equation is derived from the Base Impact metrics.
$msg->attack_vector()/$msg->attack_vector($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::AttackVector)This metric reflects the context by which vulnerability exploitation is possible.
$msg->attack_complexity()/$msg->attack_complexity($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::AttackComplexity)This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
$msg->privileges_required()/$msg->privileges_required($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::PrivilegesRequired)This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
$msg->user_interaction()/$msg->user_interaction($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::UserInteraction)This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
$msg->scope()/$msg->scope($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::Scope)The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
$msg->confidentiality_impact()/$msg->confidentiality_impact($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::Impact)This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
$msg->integrity_impact()/$msg->integrity_impact($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::Impact)This metric measures the impact to integrity of a successfully exploited vulnerability.
$msg->availability_impact()/$msg->availability_impact($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::CVSSv3::Impact)This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
Enum: CVSSv3::AttackVector
ATTACK_VECTOR_UNSPECIFIED=>0ATTACK_VECTOR_NETWORK=>1ATTACK_VECTOR_ADJACENT=>2ATTACK_VECTOR_LOCAL=>3ATTACK_VECTOR_PHYSICAL=>4
Enum: CVSSv3::AttackComplexity
ATTACK_COMPLEXITY_UNSPECIFIED=>0ATTACK_COMPLEXITY_LOW=>1ATTACK_COMPLEXITY_HIGH=>2
Enum: CVSSv3::PrivilegesRequired
PRIVILEGES_REQUIRED_UNSPECIFIED=>0PRIVILEGES_REQUIRED_NONE=>1PRIVILEGES_REQUIRED_LOW=>2PRIVILEGES_REQUIRED_HIGH=>3
Enum: CVSSv3::UserInteraction
USER_INTERACTION_UNSPECIFIED=>0USER_INTERACTION_NONE=>1USER_INTERACTION_REQUIRED=>2
Enum: CVSSv3::Scope
SCOPE_UNSPECIFIED=>0SCOPE_UNCHANGED=>1SCOPE_CHANGED=>2
Enum: CVSSv3::Impact
IMPACT_UNSPECIFIED=>0IMPACT_HIGH=>1IMPACT_LOW=>2IMPACT_NONE=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Osconfig::V1alpha::Vulnerability::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.