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

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

Query job statistics.

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.JobStats.Query

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata \ JobStats

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ total_processed_bytes int|string

Total bytes processed by the query job.

↳ total_billed_bytes int|string

Total bytes billed by the query job.

↳ billing_tier int

The tier assigned by the CPU-based billing.

↳ referenced_tables array

Tables accessed by the query job.

↳ referenced_views array

Views accessed by the query job.

↳ referenced_routines array

Routines accessed by the query job.

↳ output_row_count int|string

Number of output rows produced by the query job.

↳ cache_hit bool

True if the query job results were read from the query cache.

getTotalProcessedBytes

Total bytes processed by the query job.

Returns
TypeDescription
int|string

setTotalProcessedBytes

Total bytes processed by the query job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalBilledBytes

Total bytes billed by the query job.

Returns
TypeDescription
int|string

setTotalBilledBytes

Total bytes billed by the query job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getBillingTier

The tier assigned by the CPU-based billing.

Returns
TypeDescription
int

setBillingTier

The tier assigned by the CPU-based billing.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getReferencedTables

Tables accessed by the query job.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferencedTables

Tables accessed by the query job.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getReferencedViews

Views accessed by the query job.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferencedViews

Views accessed by the query job.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getReferencedRoutines

Routines accessed by the query job.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferencedRoutines

Routines accessed by the query job.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getOutputRowCount

Number of output rows produced by the query job.

Returns
TypeDescription
int|string

setOutputRowCount

Number of output rows produced by the query job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getCacheHit

True if the query job results were read from the query cache.

Returns
TypeDescription
bool

setCacheHit

True if the query job results were read from the query cache.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this