Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::DemandPreference.
Preference associated with a request, such as flexibility with alternate resource type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#preference_id
def preference_id() -> ::String
Returns
- (::String) — Output only. The preference id.
#value
def value() -> ::Google::Cloud::CapacityPlanner::V1beta::Value
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::Value) — Required. The value of demand preference.
#value=
def value=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Value
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::Value) — Required. The value of demand preference.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::Value) — Required. The value of demand preference.