Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::UsageSnapshot.
The usage snapshot represents the resources consumed by a workload at a specified time.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerator_type
def accelerator_type() -> ::String
Returns
- (::String) — Optional. Accelerator type being used, if any
#accelerator_type=
def accelerator_type=(value) -> ::String
Parameter
- value (::String) — Optional. Accelerator type being used, if any
Returns
- (::String) — Optional. Accelerator type being used, if any
#milli_accelerator
def milli_accelerator() -> ::Integer
Returns
- (::Integer) — Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing)
#milli_accelerator=
def milli_accelerator=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing)
Returns
- (::Integer) — Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing)
#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).
#milli_dcu_premium
def milli_dcu_premium() -> ::Integer
Returns
- (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing).
#milli_dcu_premium=
def milli_dcu_premium=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing).
Returns
- (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (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)
#shuffle_storage_gb_premium
def shuffle_storage_gb_premium() -> ::Integer
Returns
- (::Integer) — Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing)
#shuffle_storage_gb_premium=
def shuffle_storage_gb_premium=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing)
Returns
- (::Integer) — Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (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.