Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::CapacityPlanKey.
CapacityPlanKey is a the unique identifier for each Capacity Plan.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#location_id
def location_id() -> ::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier) — Required. Identifier of location.
#location_id=
def location_id=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier) — Required. Identifier of location.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier) — Required. Identifier of location.
#resource_container
def resource_container() -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer) — Required. The resource container associated with the capacity plan.
#resource_container=
def resource_container=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer) — Required. The resource container associated with the capacity plan.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer) — Required. The resource container associated with the capacity plan.
#resource_id_key
def resource_id_key() -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey) — Required. The resource id key associated with the capacity plan.
#resource_id_key=
def resource_id_key=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey) — Required. The resource id key associated with the capacity plan.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey) — Required. The resource id key associated with the capacity plan.