Google Cloud Dataproc V1 Client - Class UsageSnapshot (3.11.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int|string

setMilliDcu

Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getShuffleStorageGb

Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)

Returns
TypeDescription
int|string

setShuffleStorageGb

Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getSnapshotTime

Optional. The timestamp of the usage snapshot.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasSnapshotTime

clearSnapshotTime

setSnapshotTime

Optional. The timestamp of the usage snapshot.

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