Reference documentation and code samples for the Google Cloud Dataproc V1 Client class UsageSnapshot.
The usage snaphot represents the resources consumed by a workload at a specified time.
Generated from protobuf message google.cloud.dataproc.v1.UsageSnapshot
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ milli_dcu |
int|string
Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing). |
↳ shuffle_storage_gb |
int|string
Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing) |
↳ snapshot_time |
Google\Protobuf\Timestamp
Optional. The timestamp of the usage snapshot. |
getMilliDcu
Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).
Returns | |
---|---|
Type | Description |
int|string |
setMilliDcu
Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getShuffleStorageGb
Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)
Returns | |
---|---|
Type | Description |
int|string |
setShuffleStorageGb
Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getSnapshotTime
Optional. The timestamp of the usage snapshot.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasSnapshotTime
clearSnapshotTime
setSnapshotTime
Optional. The timestamp of the usage snapshot.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |