Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class DatasetChange.
Dataset change event.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.DatasetChange
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dataset |
Google\Cloud\Audit\BigQueryAuditMetadata\Dataset
Dataset metadata after the change. |
↳ reason |
int
Describes how the dataset was changed. |
↳ job_name |
string
The URI of the job that updated the dataset. Present if the reason is QUERY. Format: |
getDataset
Dataset metadata after the change.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\Dataset|null |
hasDataset
clearDataset
setDataset
Dataset metadata after the change.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\Dataset
|
Returns | |
---|---|
Type | Description |
$this |
getReason
Describes how the dataset was changed.
Returns | |
---|---|
Type | Description |
int |
setReason
Describes how the dataset was changed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getJobName
The URI of the job that updated the dataset.
Present if the reason is QUERY.
Format: projects/<project_id>/jobs/<job_id>
.
Returns | |
---|---|
Type | Description |
string |
setJobName
The URI of the job that updated the dataset.
Present if the reason is QUERY.
Format: projects/<project_id>/jobs/<job_id>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |