# Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::ResourceContainer (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::ResourceContainer.

The resource container of Google Cloud Platform hierarchy such as a project.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #id

    def id() -> ::String

**Returns**

- (::String) --- Required. Identifier of the resource container. For example, project number for project type.

### #id=

    def id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Identifier of the resource container. For example, project number for project type.
**Returns**

- (::String) --- Required. Identifier of the resource container. For example, project number for project type.

### #type

    def type() -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer::Type

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-ResourceContainer-Type))

### #type=

    def type=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer::Type

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-ResourceContainer-Type))
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-ResourceContainer-Type))