Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ObservationDetails.
The observation details for a finding.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.ObservationDetails
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ current_value |
string
Output only. The current value. |
↳ expected_value |
string
Optional. The expected value. |
↳ guidance |
string
Output only. Any guidance for the observation. |
getCurrentValue
Output only. The current value.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCurrentValue
Output only. The current value.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpectedValue
Optional. The expected value.
| Returns | |
|---|---|
| Type | Description |
string |
|
setExpectedValue
Optional. The expected value.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGuidance
Output only. Any guidance for the observation.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGuidance
Output only. Any guidance for the observation.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|