Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class TableDataChange.
Table data change event.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.TableDataChange
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ deleted_rows_count |
int|string
Number of deleted rows. |
↳ inserted_rows_count |
int|string
Number of inserted rows. |
↳ truncated |
bool
True if the table was truncated. |
↳ reason |
int
Describes how the table data was changed. |
↳ job_name |
string
The URI of the job that changed a table. Format: |
↳ stream_name |
string
If written from WRITE_API, the name of the stream. Format: |
getDeletedRowsCount
Number of deleted rows.
Returns | |
---|---|
Type | Description |
int|string |
setDeletedRowsCount
Number of deleted rows.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getInsertedRowsCount
Number of inserted rows.
Returns | |
---|---|
Type | Description |
int|string |
setInsertedRowsCount
Number of inserted rows.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getTruncated
True if the table was truncated.
Returns | |
---|---|
Type | Description |
bool |
setTruncated
True if the table was truncated.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getReason
Describes how the table data was changed.
Returns | |
---|---|
Type | Description |
int |
setReason
Describes how the table data was changed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getJobName
The URI of the job that changed a table.
Format: projects/<project_id>/jobs/<job_id>
.
Returns | |
---|---|
Type | Description |
string |
setJobName
The URI of the job that changed a table.
Format: projects/<project_id>/jobs/<job_id>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStreamName
If written from WRITE_API, the name of the stream.
Format:
projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/streams/<stream_id>
Returns | |
---|---|
Type | Description |
string |
setStreamName
If written from WRITE_API, the name of the stream.
Format:
projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/streams/<stream_id>
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |