Reference documentation and code samples for the Recommender V1 Client class InsightStateInfo.
Information related to insight state.
Generated from protobuf message google.cloud.recommender.v1.InsightStateInfo
Namespace
Google \ Cloud \ Recommender \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
Insight state. |
↳ state_metadata |
array|Google\Protobuf\Internal\MapField
A map of metadata for the state, provided by user or automations systems. |
getState
Insight state.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Insight state.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStateMetadata
A map of metadata for the state, provided by user or automations systems.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setStateMetadata
A map of metadata for the state, provided by user or automations systems.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|