Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class FindingSummary.
The details for a finding.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.FindingSummary
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ finding_category |
string
The category of the finding. |
↳ finding_class |
int
The class of the finding. |
↳ severity |
int
The severity of the finding. |
↳ finding_count |
int|string
The count of the finding. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The last updated time of the finding. |
↳ related_frameworks |
array
Optional. The list of compliance frameworks that the finding belongs to. |
↳ name |
string
Identifier. The name of the finding summary. |
getFindingCategory
The category of the finding.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFindingCategory
The category of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFindingClass
The class of the finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingClass. |
setFindingClass
The class of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingClass. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSeverity
The severity of the finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Severity. |
setSeverity
The severity of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Severity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFindingCount
The count of the finding.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setFindingCount
The count of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The last updated time of the finding.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last updated time of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRelatedFrameworks
Optional. The list of compliance frameworks that the finding belongs to.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setRelatedFrameworks
Optional. The list of compliance frameworks that the finding belongs to.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Identifier. The name of the finding summary.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The name of the finding summary.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|