Common Protos for Google Cloud APIs Client - Class Dataset (0.4.2)

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 \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ dataset_name string

Dataset URI. Format: projects/<project_id>/datasets/<dataset_id>.

↳ 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
TypeDescription
string

setDatasetName

Dataset URI.

Format: projects/<project_id>/datasets/<dataset_id>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDatasetInfo

User-provided metadata for the dataset.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo|null

hasDatasetInfo

clearDatasetInfo

setDatasetInfo

User-provided metadata for the dataset.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo
Returns
TypeDescription
$this

getCreateTime

Dataset creation time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Dataset creation time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Dataset metadata last update time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Dataset metadata last update time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getAcl

The access control list for the dataset.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\BigQueryAcl|null

hasAcl

clearAcl

setAcl

The access control list for the dataset.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\BigQueryAcl
Returns
TypeDescription
$this

getDefaultTableExpireDuration

Default expiration time for tables in the dataset.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasDefaultTableExpireDuration

clearDefaultTableExpireDuration

setDefaultTableExpireDuration

Default expiration time for tables in the dataset.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getDefaultEncryption

Default encryption for tables in the dataset.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo|null

hasDefaultEncryption

clearDefaultEncryption

setDefaultEncryption

Default encryption for tables in the dataset.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
Returns
TypeDescription
$this

getDefaultCollation

Default collation for the dataset.

Returns
TypeDescription
string

setDefaultCollation

Default collation for the dataset.

Parameter
NameDescription
var string
Returns
TypeDescription
$this