Reference documentation and code samples for the Google Cloud Chronicle Client class Tracker.
URL Tracker.
Generated from protobuf message google.backstory.Tracker
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tracker |
string
Tracker name. |
↳ id |
string
Tracker ID, if available. |
↳ timestamp |
Google\Protobuf\Timestamp
Tracker ingestion date. |
↳ url |
string
Tracker script URL. |
getTracker
Tracker name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTracker
Tracker name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getId
Tracker ID, if available.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Tracker ID, if available.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimestamp
Tracker ingestion date.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasTimestamp
clearTimestamp
setTimestamp
Tracker ingestion date.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUrl
Tracker script URL.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUrl
Tracker script URL.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|