#include <job_statistics2.h>
◆ JobStatistics2ReservationUsage() [1/2]
google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::JobStatistics2ReservationUsage |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ JobStatistics2ReservationUsage() [2/2]
google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::JobStatistics2ReservationUsage |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~JobStatistics2ReservationUsage()
google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::~JobStatistics2ReservationUsage |
( |
| ) |
|
|
virtual |
◆ clear_name()
void google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_slot_ms()
void google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::clear_slot_ms |
( |
| ) |
|
|
inline |
Clears the 'slotMs
' attribute.
◆ get_name()
const StringPiece google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_slot_ms()
int64 google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::get_slot_ms |
( |
| ) |
const |
|
inline |
Get the value of the 'slotMs
' attribute.
◆ GetTypeName()
const StringPiece google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_bigquery_api::JobStatistics2ReservationUsage
◆ has_name()
bool google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_slot_ms()
bool google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::has_slot_ms |
( |
| ) |
const |
|
inline |
Determine if the 'slotMs
' attribute was set.
- Returns
- true if the '
slotMs
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_name()
void google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
[Output-only] Reservation name or "unreserved" for on-demand resources usage.
- Parameters
-
◆ set_slot_ms()
void google_bigquery_api::JobStatistics2::JobStatistics2ReservationUsage::set_slot_ms |
( |
int64 |
value | ) |
|
|
inline |
Change the 'slotMs
' attribute.
[Output-only] Slot-milliseconds the job spent in the given reservation.
- Parameters
-
The documentation for this class was generated from the following files: