Common Protos for Google Cloud APIs Client - Class Model (0.4.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
NameDescription
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
TypeDescription
string

setModelName

Model URI.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModelInfo

User-provided metadata for the model.

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

hasModelInfo

clearModelInfo

setModelInfo

User-provided metadata for the model.

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

getExpireTime

Model expiration time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

Model expiration time.

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

getCreateTime

Model creation time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Model creation time.

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

getUpdateTime

Model last update time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Model last update time.

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

getEncryption

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

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

hasEncryption

clearEncryption

setEncryption

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

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