Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class ModelMetadataChange.
Model metadata change event.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.ModelMetadataChange
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ model |
Model
Updated model. |
↳ reason |
int
Describes how the model metadata was changed. |
↳ job_name |
string
The URI of the job that changed the model metadata. Present if and only if the reason is QUERY. Format: |
getModel
Updated model.
Returns | |
---|---|
Type | Description |
Model|null |
hasModel
clearModel
setModel
Updated model.
Parameter | |
---|---|
Name | Description |
var |
Model
|
Returns | |
---|---|
Type | Description |
$this |
getReason
Describes how the model metadata was changed.
Returns | |
---|---|
Type | Description |
int |
setReason
Describes how the model metadata was changed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getJobName
The URI of the job that changed the model metadata.
Present if and only if the reason is QUERY.
Format: projects/<project_id>/jobs/<job_id>
.
Returns | |
---|---|
Type | Description |
string |
setJobName
The URI of the job that changed the model metadata.
Present if and only if the reason is QUERY.
Format: projects/<project_id>/jobs/<job_id>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |