Reference documentation and code samples for the Google Cloud Observability V1 Client class Dataset.
A dataset is a collection of data that has a specific configuration. A dataset can be backed by multiple tables. One bucket can have multiple datasets.
Generated from protobuf message google.cloud.observability.v1.Dataset
Namespace
Google \ Cloud \ Observability \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID] |
↳ display_name |
string
Optional. User friendly display name. |
↳ description |
string
Optional. Description of the dataset. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Create timestamp. |
↳ delete_time |
Google\Protobuf\Timestamp
Output only. Delete timestamp. |
↳ purge_time |
Google\Protobuf\Timestamp
Output only. Timestamp when the dataset in soft-deleted state is purged. |
getName
Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. User friendly display name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. User friendly display name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. Description of the dataset.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. Description of the dataset.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. Create timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeleteTime
Output only. Delete timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasDeleteTime
clearDeleteTime
setDeleteTime
Output only. Delete timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPurgeTime
Output only. Timestamp when the dataset in soft-deleted state is purged.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasPurgeTime
clearPurgeTime
setPurgeTime
Output only. Timestamp when the dataset in soft-deleted state is purged.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|