Reference documentation and code samples for the Google Cloud Storage Control V2 Client class SummaryDetails.
Details about the FindingSummary resource.
Generated from protobuf message google.storage.control.v2.FindingSummary.SummaryDetails
Namespace
Google \ Cloud \ Storage \ Control \ V2 \ FindingSummaryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ count |
int|string
The count of impacted resources. |
↳ percentage |
float
The percentage of impacted resources. |
↳ resource_type |
int
Output only. The type of Cloud resource this summary detail applies to. |
↳ description |
string
Output only. A short description about the FindingSummary |
getCount
The count of impacted resources.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasCount
setCount
The count of impacted resources.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPercentage
The percentage of impacted resources.
| Returns | |
|---|---|
| Type | Description |
float |
|
hasPercentage
setPercentage
The percentage of impacted resources.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceType
Output only. The type of Cloud resource this summary detail applies to.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ResourceType. |
setResourceType
Output only. The type of Cloud resource this summary detail applies to.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ResourceType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Output only. A short description about the FindingSummary
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Output only. A short description about the FindingSummary
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMagnitude
| Returns | |
|---|---|
| Type | Description |
string |
|