Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Cvssv3.
Common Vulnerability Scoring System version 3.
Generated from protobuf messagegoogle.cloud.securitycenter.v1.Cvssv3
Namespace
Google \ Cloud \ SecurityCenter \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ base_score
float
The base score is a function of the base metric scores.
↳ attack_vector
int
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
↳ attack_complexity
int
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
↳ privileges_required
int
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
↳ user_interaction
int
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
↳ scope
int
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
↳ confidentiality_impact
int
This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
↳ integrity_impact
int
This metric measures the impact to integrity of a successfully exploited vulnerability.
↳ availability_impact
int
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
getBaseScore
The base score is a function of the base metric scores.
Returns
Type
Description
float
setBaseScore
The base score is a function of the base metric scores.
Parameter
Name
Description
var
float
Returns
Type
Description
$this
getAttackVector
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
This metric reflects the context by which vulnerability exploitation is
possible.
Returns
Type
Description
int
setAttackVector
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
This metric reflects the context by which vulnerability exploitation is
possible.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAttackComplexity
This metric describes the conditions beyond the attacker's control that
must exist in order to exploit the vulnerability.
Returns
Type
Description
int
setAttackComplexity
This metric describes the conditions beyond the attacker's control that
must exist in order to exploit the vulnerability.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPrivilegesRequired
This metric describes the level of privileges an attacker must possess
before successfully exploiting the vulnerability.
Returns
Type
Description
int
setPrivilegesRequired
This metric describes the level of privileges an attacker must possess
before successfully exploiting the vulnerability.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getUserInteraction
This metric captures the requirement for a human user, other than the
attacker, to participate in the successful compromise of the vulnerable
component.
Returns
Type
Description
int
setUserInteraction
This metric captures the requirement for a human user, other than the
attacker, to participate in the successful compromise of the vulnerable
component.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getScope
The Scope metric captures whether a vulnerability in one vulnerable
component impacts resources in components beyond its security scope.
Returns
Type
Description
int
setScope
The Scope metric captures whether a vulnerability in one vulnerable
component impacts resources in components beyond its security scope.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getConfidentialityImpact
This metric measures the impact to the confidentiality of the information
resources managed by a software component due to a successfully exploited
vulnerability.
Returns
Type
Description
int
setConfidentialityImpact
This metric measures the impact to the confidentiality of the information
resources managed by a software component due to a successfully exploited
vulnerability.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getIntegrityImpact
This metric measures the impact to integrity of a successfully exploited
vulnerability.
Returns
Type
Description
int
setIntegrityImpact
This metric measures the impact to integrity of a successfully exploited
vulnerability.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAvailabilityImpact
This metric measures the impact to the availability of the impacted
component resulting from a successfully exploited vulnerability.
Returns
Type
Description
int
setAvailabilityImpact
This metric measures the impact to the availability of the impacted
component resulting from a successfully exploited vulnerability.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Command Center V1 Client - Class Cvssv3 (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V1.Cvssv3)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V1.Cvssv3)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V1.Cvssv3)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V1.Cvssv3)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V1.Cvssv3)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V1.Cvssv3)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V1.Cvssv3)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V1.Cvssv3)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V1.Cvssv3)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V1.Cvssv3)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V1.Cvssv3)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V1.Cvssv3)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V1.Cvssv3)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V1.Cvssv3)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V1.Cvssv3)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V1.Cvssv3)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V1.Cvssv3)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V1.Cvssv3) \nReference documentation and code samples for the Google Cloud Security Command Center V1 Client class Cvssv3.\n\nCommon Vulnerability Scoring System version 3.\n\nGenerated from protobuf message `google.cloud.securitycenter.v1.Cvssv3`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBaseScore\n\nThe base score is a function of the base metric scores.\n\n### setBaseScore\n\nThe base score is a function of the base metric scores.\n\n### getAttackVector\n\nBase Metrics\nRepresents the intrinsic characteristics of a vulnerability that are\nconstant over time and across user environments.\n\nThis metric reflects the context by which vulnerability exploitation is\npossible.\n\n### setAttackVector\n\nBase Metrics\nRepresents the intrinsic characteristics of a vulnerability that are\nconstant over time and across user environments.\n\nThis metric reflects the context by which vulnerability exploitation is\npossible.\n\n### getAttackComplexity\n\nThis metric describes the conditions beyond the attacker's control that\nmust exist in order to exploit the vulnerability.\n\n### setAttackComplexity\n\nThis metric describes the conditions beyond the attacker's control that\nmust exist in order to exploit the vulnerability.\n\n### getPrivilegesRequired\n\nThis metric describes the level of privileges an attacker must possess\nbefore successfully exploiting the vulnerability.\n\n### setPrivilegesRequired\n\nThis metric describes the level of privileges an attacker must possess\nbefore successfully exploiting the vulnerability.\n\n### getUserInteraction\n\nThis metric captures the requirement for a human user, other than the\nattacker, to participate in the successful compromise of the vulnerable\ncomponent.\n\n### setUserInteraction\n\nThis metric captures the requirement for a human user, other than the\nattacker, to participate in the successful compromise of the vulnerable\ncomponent.\n\n### getScope\n\nThe Scope metric captures whether a vulnerability in one vulnerable\ncomponent impacts resources in components beyond its security scope.\n\n### setScope\n\nThe Scope metric captures whether a vulnerability in one vulnerable\ncomponent impacts resources in components beyond its security scope.\n\n### getConfidentialityImpact\n\nThis metric measures the impact to the confidentiality of the information\nresources managed by a software component due to a successfully exploited\nvulnerability.\n\n### setConfidentialityImpact\n\nThis metric measures the impact to the confidentiality of the information\nresources managed by a software component due to a successfully exploited\nvulnerability.\n\n### getIntegrityImpact\n\nThis metric measures the impact to integrity of a successfully exploited\nvulnerability.\n\n### setIntegrityImpact\n\nThis metric measures the impact to integrity of a successfully exploited\nvulnerability.\n\n### getAvailabilityImpact\n\nThis metric measures the impact to the availability of the impacted\ncomponent resulting from a successfully exploited vulnerability.\n\n### setAvailabilityImpact\n\nThis metric measures the impact to the availability of the impacted\ncomponent resulting from a successfully exploited vulnerability."]]