Reference documentation and code samples for the Google Cloud Chronicle V1 Client class TimestampMetadata.
Metadata of the timestamp column.
Generated from protobuf message google.cloud.chronicle.v1.TimestampMetadata
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ time_format |
string
Time format of the timestamp column. |
↳ time_zone |
string
Time zone of the timestamp column. |
↳ time_granularity |
string
Time granularity of the timestamp column. |
↳ is_sortable |
bool
Whether the timestamp column is sortable in UI. |
↳ is_interpolable |
bool
Whether the timestamp column is interpolable in UI. |
getTimeFormat
Time format of the timestamp column.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTimeFormat
Time format of the timestamp column.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimeZone
Time zone of the timestamp column.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTimeZone
Time zone of the timestamp column.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimeGranularity
Time granularity of the timestamp column.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTimeGranularity
Time granularity of the timestamp column.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsSortable
Whether the timestamp column is sortable in UI.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsSortable
Whether the timestamp column is sortable in UI.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsInterpolable
Whether the timestamp column is interpolable in UI.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsInterpolable
Whether the timestamp column is interpolable in UI.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|