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

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
Name Description
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 JobStats\Query

Query job statistics.

↳ load_stats JobStats\Load

Load job statistics.

↳ extract_stats JobStats\Extract

Extract job statistics.

↳ total_slot_ms int|string

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

↳ reservation_usage array<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.

↳ reservation string

Reservation name or "unreserved" for on-demand resource usage.

↳ parent_job_name string

Parent job name. Only present for child jobs.

getCreateTime

Job creation time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Job creation time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getStartTime

Job execution start time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Job execution start time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Job completion time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Job completion time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getQueryStats

Query job statistics.

Returns
Type Description
JobStats\Query|null

hasQueryStats

setQueryStats

Query job statistics.

Parameter
Name Description
var JobStats\Query
Returns
Type Description
$this

getLoadStats

Load job statistics.

Returns
Type Description
JobStats\Load|null

hasLoadStats

setLoadStats

Load job statistics.

Parameter
Name Description
var JobStats\Load
Returns
Type Description
$this

getExtractStats

Extract job statistics.

Returns
Type Description
JobStats\Extract|null

hasExtractStats

setExtractStats

Extract job statistics.

Parameter
Name Description
var JobStats\Extract
Returns
Type Description
$this

getTotalSlotMs

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

Returns
Type Description
int|string

setTotalSlotMs

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

Parameter
Name Description
var int|string
Returns
Type Description
$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
Type Description
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
Name Description
var array<JobStats\ReservationResourceUsage>
Returns
Type Description
$this

getReservation

Reservation name or "unreserved" for on-demand resource usage.

Returns
Type Description
string

setReservation

Reservation name or "unreserved" for on-demand resource usage.

Parameter
Name Description
var string
Returns
Type Description
$this

getParentJobName

Parent job name. Only present for child jobs.

Returns
Type Description
string

setParentJobName

Parent job name. Only present for child jobs.

Parameter
Name Description
var string
Returns
Type Description
$this

getExtended

Returns
Type Description
string