Google Cloud Dataproc V1 Client - Class UsageSnapshot (3.8.1)

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

hasSnapshotTime

clearSnapshotTime

setSnapshotTime

Optional. The timestamp of the usage snapshot.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: