Common Protos for Google Cloud APIs Client - Class QueryStatementType (0.5.2)

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

Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..)

Protobuf type google.cloud.audit.BigQueryAuditMetadata.QueryStatementType

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

QUERY_STATEMENT_TYPE_UNSPECIFIED

Value: 0

Unknown.

Generated from protobuf enum QUERY_STATEMENT_TYPE_UNSPECIFIED = 0;

SELECT

Value: 1

SELECT ... FROM

...

Generated from protobuf enum SELECT = 1;

ASSERT

Value: 23

ASSERT

Generated from protobuf enum ASSERT = 23;

INSERT

Value: 2

INSERT INTO

....

Generated from protobuf enum INSERT = 2;

UPDATE

Value: 3

UPDATE

SET ...

Generated from protobuf enum UPDATE = 3;

DELETE

Value: 4

DELETE

...

Generated from protobuf enum DELETE = 4;

MERGE

Value: 5

MERGE INTO

....

Generated from protobuf enum MERGE = 5;

CREATE_TABLE

Value: 6

CREATE TABLE

CREATE_TABLE_AS_SELECT

Value: 7

CREATE TABLE

AS SELECT

Generated from protobuf enum CREATE_TABLE_AS_SELECT = 7;

CREATE_VIEW

Value: 8

CREATE VIEW

Generated from protobuf enum CREATE_VIEW = 8;

CREATE_MODEL

Value: 9

CREATE MODEL

Generated from protobuf enum CREATE_MODEL = 9;

CREATE_MATERIALIZED_VIEW

Value: 13

CREATE MATERIALIZED VIEW

Generated from protobuf enum CREATE_MATERIALIZED_VIEW = 13;

CREATE_FUNCTION

Value: 14

CREATE FUNCTION

Generated from protobuf enum CREATE_FUNCTION = 14;

CREATE_TABLE_FUNCTION

Value: 56

CREATE TABLE FUNCTION

Generated from protobuf enum CREATE_TABLE_FUNCTION = 56;

CREATE_PROCEDURE

Value: 20

CREATE PROCEDURE

Generated from protobuf enum CREATE_PROCEDURE = 20;

CREATE_ROW_ACCESS_POLICY

Value: 24

CREATE ROW ACCESS POLICY <RowAccessPolicy&gt ON

Generated from protobuf enum CREATE_ROW_ACCESS_POLICY = 24;

CREATE_SCHEMA

Value: 53

CREATE SCHEMA

Generated from protobuf enum CREATE_SCHEMA = 53;

CREATE_SNAPSHOT_TABLE

Value: 59

CREATE SNAPSHOT TABLE <Snapshot&gt CLONE

Generated from protobuf enum CREATE_SNAPSHOT_TABLE = 59;

DROP_TABLE

Value: 10

DROP TABLE

Generated from protobuf enum DROP_TABLE = 10;

DROP_EXTERNAL_TABLE

Value: 33

DROP EXTERNAL TABLE

Generated from protobuf enum DROP_EXTERNAL_TABLE = 33;

DROP_VIEW

Value: 11

DROP VIEW

Generated from protobuf enum DROP_VIEW = 11;

DROP_MODEL

Value: 12

DROP MODEL

Generated from protobuf enum DROP_MODEL = 12;

DROP_MATERIALIZED_VIEW

Value: 15

DROP MATERIALIZED VIEW

Generated from protobuf enum DROP_MATERIALIZED_VIEW = 15;

DROP_FUNCTION

Value: 16

DROP FUNCTION

Generated from protobuf enum DROP_FUNCTION = 16;

DROP_PROCEDURE

Value: 21

DROP PROCEDURE

Generated from protobuf enum DROP_PROCEDURE = 21;

DROP_SCHEMA

Value: 54

DROP SCHEMA

Generated from protobuf enum DROP_SCHEMA = 54;

DROP_ROW_ACCESS_POLICY

Value: 25

DROP ROW ACCESS POLICY <RowAccessPolicy&gt ON

Generated from protobuf enum DROP_ROW_ACCESS_POLICY = 25;

DROP_SNAPSHOT_TABLE

Value: 62

DROP SNAPSHOT TABLE

Generated from protobuf enum DROP_SNAPSHOT_TABLE = 62;

ALTER_TABLE

Value: 17

ALTER TABLE

Generated from protobuf enum ALTER_TABLE = 17;

ALTER_VIEW

Value: 18

ALTER VIEW

Generated from protobuf enum ALTER_VIEW = 18;

ALTER_MATERIALIZED_VIEW

Value: 22

ALTER MATERIALIZED_VIEW

Generated from protobuf enum ALTER_MATERIALIZED_VIEW = 22;

ALTER_SCHEMA

Value: 55

ALTER SCHEMA

Generated from protobuf enum ALTER_SCHEMA = 55;

SCRIPT

Value: 19

Script

Generated from protobuf enum SCRIPT = 19;

TRUNCATE_TABLE

Value: 26

TRUNCATE TABLE

Generated from protobuf enum TRUNCATE_TABLE = 26;

CREATE_EXTERNAL_TABLE

Value: 27

CREATE EXTERNAL TABLE

Generated from protobuf enum CREATE_EXTERNAL_TABLE = 27;

EXPORT_DATA

Value: 28

EXPORT DATA;

Generated from protobuf enum EXPORT_DATA = 28;

CALL

Value: 29

CALL

Generated from protobuf enum CALL = 29;