Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class RoutineDeletion.
Routine deletion event.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.RoutineDeletion
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ routine | RoutineDeleted routine. | 
| ↳ reason | intDescribes how the routine was deleted. | 
| ↳ job_name | stringThe URI of the job that deleted the routine. Present if the reason is QUERY. Format:  | 
getRoutine
Deleted routine.
| Returns | |
|---|---|
| Type | Description | 
| Routine|null | |
hasRoutine
clearRoutine
setRoutine
Deleted routine.
| Parameter | |
|---|---|
| Name | Description | 
| var | Routine | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getReason
Describes how the routine was deleted.
| Returns | |
|---|---|
| Type | Description | 
| int | Enum of type Reason. | 
setReason
Describes how the routine was deleted.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type Reason. | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getJobName
The URI of the job that deleted the routine.
Present if the reason is QUERY.
Format: projects/<project_id>/jobs/<job_id>.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setJobName
The URI of the job that deleted the routine.
Present if the reason is QUERY.
Format: projects/<project_id>/jobs/<job_id>.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |