Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class Table.
BigQuery table.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.Table
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table_name |
string
Table URI. Format: |
↳ table_info |
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo
User-provided metadata for the table. |
↳ schema_json |
string
A JSON representation of the table's schema. Entire field is truncated if exceeds 40K. |
↳ schema_json_truncated |
bool
True if the schema_json field was truncated. |
↳ view |
Google\Cloud\Audit\BigQueryAuditMetadata\TableViewDefinition
View metadata. Only present for views. |
↳ expire_time |
Google\Protobuf\Timestamp
Table expiration time. |
↳ create_time |
Google\Protobuf\Timestamp
The table creation time. |
↳ update_time |
Google\Protobuf\Timestamp
The last time metadata update time. |
↳ truncate_time |
Google\Protobuf\Timestamp
The last table truncation time. |
↳ encryption |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
Table encryption information. Set when non-default encryption is used. |
getTableName
Table URI.
Format: projects/<project_id>/datasets/<dataset_id>/tables/<table_id>
.
Returns | |
---|---|
Type | Description |
string |
setTableName
Table URI.
Format: projects/<project_id>/datasets/<dataset_id>/tables/<table_id>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTableInfo
User-provided metadata for the table.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo|null |
hasTableInfo
clearTableInfo
setTableInfo
User-provided metadata for the table.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo
|
Returns | |
---|---|
Type | Description |
$this |
getSchemaJson
A JSON representation of the table's schema. Entire field is truncated if exceeds 40K.
Returns | |
---|---|
Type | Description |
string |
setSchemaJson
A JSON representation of the table's schema. Entire field is truncated if exceeds 40K.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSchemaJsonTruncated
True if the schema_json field was truncated.
Returns | |
---|---|
Type | Description |
bool |
setSchemaJsonTruncated
True if the schema_json field was truncated.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getView
View metadata. Only present for views.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\TableViewDefinition|null |
hasView
clearView
setView
View metadata. Only present for views.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\TableViewDefinition
|
Returns | |
---|---|
Type | Description |
$this |
getExpireTime
Table expiration time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasExpireTime
clearExpireTime
setExpireTime
Table expiration time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
The table creation time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
The table creation time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
The last time metadata update time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
The last time metadata update time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getTruncateTime
The last table truncation time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasTruncateTime
clearTruncateTime
setTruncateTime
The last table truncation time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEncryption
Table encryption information. Set when non-default encryption is used.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo|null |
hasEncryption
clearEncryption
setEncryption
Table encryption information. Set when non-default encryption is used.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
|
Returns | |
---|---|
Type | Description |
$this |