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

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

Job statistics.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Job creation time.

↳ start_time Google\Protobuf\Timestamp

Job execution start time.

↳ end_time Google\Protobuf\Timestamp

Job completion time.

↳ query_stats Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\Query

Query job statistics.

↳ load_stats Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\Load

Load job statistics.

↳ extract_stats Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\Extract

Extract job statistics.

↳ total_slot_ms int|string

The total number of slot-ms consumed by the query job.

↳ reservation_usage array<Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage>

Reservation usage attributed from each tier of a reservation hierarchy. This field reported misleading information and will no longer be populated. Aggregate usage of all jobs submitted to a reservation should provide a more reliable indicator of reservation imbalance.

↳ parent_job_name string

Parent job name. Only present for child jobs.

getCreateTime

Job creation time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Job creation time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getStartTime

Job execution start time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Job execution start time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Job completion time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Job completion time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getQueryStats

Query job statistics.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\Query|null

hasQueryStats

setQueryStats

Query job statistics.

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

getLoadStats

Load job statistics.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\Load|null

hasLoadStats

setLoadStats

Load job statistics.

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

getExtractStats

Extract job statistics.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\Extract|null

hasExtractStats

setExtractStats

Extract job statistics.

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

getTotalSlotMs

The total number of slot-ms consumed by the query job.

Returns
TypeDescription
int|string

setTotalSlotMs

The total number of slot-ms consumed by the query job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getReservationUsage

Reservation usage attributed from each tier of a reservation hierarchy.

This field reported misleading information and will no longer be populated. Aggregate usage of all jobs submitted to a reservation should provide a more reliable indicator of reservation imbalance.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReservationUsage

Reservation usage attributed from each tier of a reservation hierarchy.

This field reported misleading information and will no longer be populated. Aggregate usage of all jobs submitted to a reservation should provide a more reliable indicator of reservation imbalance.

Parameter
NameDescription
var array<Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage>
Returns
TypeDescription
$this

getParentJobName

Parent job name. Only present for child jobs.

Returns
TypeDescription
string

setParentJobName

Parent job name. Only present for child jobs.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExtended

Returns
TypeDescription
string