Reference documentation and code samples for the Google Cloud Chronicle V1 Client class Input.
Input to the query like time window.
Generated from protobuf message google.cloud.chronicle.v1.DashboardQuery.Input
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardQueryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ time_window |
Google\Type\Interval
time range to fetch the data for. |
↳ relative_time |
Input\RelativeTime
time range for last x units. |
getTimeWindow
time range to fetch the data for.
| Returns | |
|---|---|
| Type | Description |
Google\Type\Interval|null |
|
hasTimeWindow
setTimeWindow
time range to fetch the data for.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\Interval
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRelativeTime
time range for last x units.
| Returns | |
|---|---|
| Type | Description |
Input\RelativeTime|null |
|
hasRelativeTime
setRelativeTime
time range for last x units.
| Parameter | |
|---|---|
| Name | Description |
var |
Input\RelativeTime
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimeInput
| Returns | |
|---|---|
| Type | Description |
string |
|