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 \ BigQueryAuditMetadataMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ model | ModelModel metadata. | 
| ↳ reason | intDescribes how the model was created. | 
| ↳ job_name | stringThe URI of the job that created the model. Format:  | 
getModel
Model metadata.
| Returns | |
|---|---|
| Type | Description | 
| Model|null | |
hasModel
clearModel
setModel
Model metadata.
| Parameter | |
|---|---|
| Name | Description | 
| var | Model | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getReason
Describes how the model was created.
| Returns | |
|---|---|
| Type | Description | 
| int | Enum of type Reason. | 
setReason
Describes how the model was created.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type Reason. | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getJobName
The URI of the job that created the model.
Format: projects/<project_id>/jobs/<job_id>.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setJobName
The URI of the job that created the model.
Format: projects/<project_id>/jobs/<job_id>.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |