Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class ReservationResourceUsage.
Job resource usage breakdown by reservation.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.JobStats.ReservationResourceUsage
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadata \ JobStatsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Reservation name or "unreserved" for on-demand resources usage. |
↳ slot_ms |
int|string
Total slot milliseconds used by the reservation for a particular job. |
getName
Reservation name or "unreserved" for on-demand resources usage.
Returns | |
---|---|
Type | Description |
string |
setName
Reservation name or "unreserved" for on-demand resources usage.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSlotMs
Total slot milliseconds used by the reservation for a particular job.
Returns | |
---|---|
Type | Description |
int|string |
setSlotMs
Total slot milliseconds used by the reservation for a particular job.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |