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

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 \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ routine Google\Cloud\Audit\BigQueryAuditMetadata\Routine

Deleted routine.

↳ reason int

Describes how the routine was deleted.

↳ job_name string

The URI of the job that deleted the routine. Present if the reason is QUERY. Format: projects/<project_id>/jobs/<job_id>.

getRoutine

Deleted routine.

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

hasRoutine

clearRoutine

setRoutine

Deleted routine.

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

getReason

Describes how the routine was deleted.

Returns
TypeDescription
int

setReason

Describes how the routine was deleted.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this