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

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

Model creation event.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ model Google\Cloud\Audit\BigQueryAuditMetadata\Model

Model metadata.

↳ reason int

Describes how the model was created.

↳ job_name string

The URI of the job that created the model. Format: projects/<project_id>/jobs/<job_id>.

getModel

Model metadata.

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

hasModel

clearModel

setModel

Model metadata.

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

getReason

Describes how the model was created.

Returns
TypeDescription
int

setReason

Describes how the model was created.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getJobName

The URI of the job that created the model.

Format: projects/<project_id>/jobs/<job_id>.

Returns
TypeDescription
string

setJobName

The URI of the job that created the model.

Format: projects/<project_id>/jobs/<job_id>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this