Reference documentation and code samples for the Google Cloud Storage Control V2 Client class FindingSummary.
A summary of findings generated for an organization, a folder, or a project.
Generated from protobuf message google.storage.control.v2.FindingSummary
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Output only. The type of the finding. |
↳ category |
int
Output only. The category of finding. |
↳ target_resource |
string
Output only. The fully qualified Cloud resource name for which this summary was generated. eg: |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The creation time of the earliest finding that this summary is based on. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The time of the most recent update among all the findings that this summary is based on. |
↳ severity |
int
Severity of the finding. |
↳ summary_details |
array<FindingSummary\SummaryDetails>
Output only. List of |
getType
Output only. The type of the finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingType. |
setType
Output only. The type of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCategory
Output only. The category of finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingCategory. |
setCategory
Output only. The category of finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetResource
Output only. The fully qualified Cloud resource name for which this summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
| Returns | |
|---|---|
| Type | Description |
string |
|
setTargetResource
Output only. The fully qualified Cloud resource name for which this summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The creation time of the earliest finding that this summary is based on.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time of the earliest finding that this summary is based on.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The time of the most recent update among all the findings that this summary is based on.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time of the most recent update among all the findings that this summary is based on.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSeverity
Severity of the finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingSeverity. |
setSeverity
Severity of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingSeverity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSummaryDetails
Output only. List of SummaryDetails.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<FindingSummary\SummaryDetails> |
|
setSummaryDetails
Output only. List of SummaryDetails.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FindingSummary\SummaryDetails>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|