Common Protos for Google Cloud APIs Client - Class Model (0.5.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class Model.

Trained BigQuery ML model.

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.Model

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_name string

Model URI. Format: projects/<project_id>/datasets/<dataset_id>/models/<model_id>.

↳ model_info Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo

User-provided metadata for the model.

↳ expire_time Google\Protobuf\Timestamp

Model expiration time.

↳ create_time Google\Protobuf\Timestamp

Model creation time.

↳ update_time Google\Protobuf\Timestamp

Model last update time.

↳ encryption Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo

Model encryption information. Set when non-default encryption is used.

getModelName

Model URI.

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

Returns
Type Description
string

setModelName

Model URI.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getModelInfo

User-provided metadata for the model.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo|null

hasModelInfo

clearModelInfo

setModelInfo

User-provided metadata for the model.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\EntityInfo
Returns
Type Description
$this

getExpireTime

Model expiration time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

Model expiration time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCreateTime

Model creation time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Model creation time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Model last update time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Model last update time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEncryption

Model encryption information. Set when non-default encryption is used.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo|null

hasEncryption

clearEncryption

setEncryption

Model encryption information. Set when non-default encryption is used.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
Returns
Type Description
$this