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 \ JobStatsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int|string |
setTotalProcessedBytes
Total bytes processed by the query job.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getTotalBilledBytes
Total bytes billed by the query job.
Returns | |
---|---|
Type | Description |
int|string |
setTotalBilledBytes
Total bytes billed by the query job.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getBillingTier
The tier assigned by the CPU-based billing.
Returns | |
---|---|
Type | Description |
int |
setBillingTier
The tier assigned by the CPU-based billing.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getReferencedTables
Tables accessed by the query job.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setReferencedTables
Tables accessed by the query job.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getReferencedViews
Views accessed by the query job.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setReferencedViews
Views accessed by the query job.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getReferencedRoutines
Routines accessed by the query job.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setReferencedRoutines
Routines accessed by the query job.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getOutputRowCount
Number of output rows produced by the query job.
Returns | |
---|---|
Type | Description |
int|string |
setOutputRowCount
Number of output rows produced by the query job.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getCacheHit
True if the query job results were read from the query cache.
Returns | |
---|---|
Type | Description |
bool |
setCacheHit
True if the query job results were read from the query cache.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |