Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class Dataset.
BigQuery dataset.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.Dataset
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dataset_name |
string
Dataset URI. Format: |
↳ dataset_info |
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo
User-provided metadata for the dataset. |
↳ create_time |
Google\Protobuf\Timestamp
Dataset creation time. |
↳ update_time |
Google\Protobuf\Timestamp
Dataset metadata last update time. |
↳ acl |
Google\Cloud\Audit\BigQueryAuditMetadata\BigQueryAcl
The access control list for the dataset. |
↳ default_table_expire_duration |
Google\Protobuf\Duration
Default expiration time for tables in the dataset. |
↳ default_encryption |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
Default encryption for tables in the dataset. |
↳ default_collation |
string
Default collation for the dataset. |
getDatasetName
Dataset URI.
Format: projects/<project_id>/datasets/<dataset_id>
.
Returns | |
---|---|
Type | Description |
string |
setDatasetName
Dataset URI.
Format: projects/<project_id>/datasets/<dataset_id>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDatasetInfo
User-provided metadata for the dataset.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo|null |
hasDatasetInfo
clearDatasetInfo
setDatasetInfo
User-provided metadata for the dataset.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Dataset creation time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Dataset creation time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Dataset metadata last update time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Dataset metadata last update time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getAcl
The access control list for the dataset.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\BigQueryAcl|null |
hasAcl
clearAcl
setAcl
The access control list for the dataset.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\BigQueryAcl
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultTableExpireDuration
Default expiration time for tables in the dataset.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasDefaultTableExpireDuration
clearDefaultTableExpireDuration
setDefaultTableExpireDuration
Default expiration time for tables in the dataset.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultEncryption
Default encryption for tables in the dataset.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo|null |
hasDefaultEncryption
clearDefaultEncryption
setDefaultEncryption
Default encryption for tables in the dataset.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultCollation
Default collation for the dataset.
Returns | |
---|---|
Type | Description |
string |
setDefaultCollation
Default collation for the dataset.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |