Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::UsageSnapshot.
The usage snaphot represents the resources consumed by a workload at a specified time.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#milli_dcu
def milli_dcu() -> ::Integer
Returns
- (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).
#milli_dcu=
def milli_dcu=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).
Returns
- (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).
#shuffle_storage_gb
def shuffle_storage_gb() -> ::Integer
Returns
- (::Integer) — Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)
#shuffle_storage_gb=
def shuffle_storage_gb=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)
Returns
- (::Integer) — Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)
#snapshot_time
def snapshot_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The timestamp of the usage snapshot.
#snapshot_time=
def snapshot_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The timestamp of the usage snapshot.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The timestamp of the usage snapshot.