Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::UsageSnapshot (v0.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
defaccelerator_type()->::String
Returns
- (::String) — Optional. Accelerator type being used, if any
#accelerator_type=
defaccelerator_type=(value)->::String
Parameter
- value (::String) — Optional. Accelerator type being used, if any
Returns
- (::String) — Optional. Accelerator type being used, if any
#milli_accelerator
defmilli_accelerator()->::Integer
Returns
- (::Integer) — Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing)
#milli_accelerator=
defmilli_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
defmilli_dcu()->::Integer
Returns
- (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing).
#milli_dcu=
defmilli_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
defmilli_dcu_premium()->::Integer
Returns
- (::Integer) — Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing).
#milli_dcu_premium=
defmilli_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
defshuffle_storage_gb()->::Integer
Returns
- (::Integer) — Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing)
#shuffle_storage_gb=
defshuffle_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
defshuffle_storage_gb_premium()->::Integer
Returns
- (::Integer) — Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing)
#shuffle_storage_gb_premium=
defshuffle_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
defsnapshot_time()->::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The timestamp of the usage snapshot.
#snapshot_time=
defsnapshot_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.