Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::TimeValue.
Capacity demand value for a single time point.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#time
def time() -> ::Google::Protobuf::Timestamp
    Returns
    
  - (::Google::Protobuf::Timestamp) — Required. The time point. If this demand value is non-temporal, set time to -1.
 
#time=
def time=(value) -> ::Google::Protobuf::Timestamp
    Parameter
    
  - value (::Google::Protobuf::Timestamp) — Required. The time point. If this demand value is non-temporal, set time to -1.
 
    Returns
    
  - (::Google::Protobuf::Timestamp) — Required. The time point. If this demand value is non-temporal, set time to -1.
 
#value
def value() -> ::Float
    Returns
    
  - (::Float) — Required. The demand value at the time point.
 
#value=
def value=(value) -> ::Float
    Parameter
    
  - value (::Float) — Required. The demand value at the time point.
 
    Returns
    
- (::Float) — Required. The demand value at the time point.