# Resource Manager V3 API - Class Google::Cloud::ResourceManager::V3::CreateProjectRequest (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.2 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::CreateProjectRequest.

The request sent to the
[CreateProject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-resource_manager-v3/latest/Google-Cloud-ResourceManager-V3-Projects-Client#Google__Cloud__ResourceManager__V3__Projects__Client_create_project_instance_ "Google::Cloud::ResourceManager::V3::Projects::Client#create_project (method)")
method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #project

    def project() -> ::Google::Cloud::ResourceManager::V3::Project

**Returns**

- ([::Google::Cloud::ResourceManager::V3::Project](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-resource_manager-v3/latest/Google-Cloud-ResourceManager-V3-Project)) --- Required. The Project to create.


  Project ID is required. If the requested ID is unavailable, the request
  fails.

  If the `parent` field is set, the `resourcemanager.projects.create`
  permission is checked on the parent resource. If no parent is set and
  the authorization credentials belong to an Organization, the parent
  will be set to that Organization.

### #project=

    def project=(value) -> ::Google::Cloud::ResourceManager::V3::Project

**Parameter**

- **value** ([::Google::Cloud::ResourceManager::V3::Project](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-resource_manager-v3/latest/Google-Cloud-ResourceManager-V3-Project)) --- Required. The Project to create.


  Project ID is required. If the requested ID is unavailable, the request
  fails.

  If the `parent` field is set, the `resourcemanager.projects.create`
  permission is checked on the parent resource. If no parent is set and
  the authorization credentials belong to an Organization, the parent
  will be set to that Organization.
**Returns**

- ([::Google::Cloud::ResourceManager::V3::Project](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-resource_manager-v3/latest/Google-Cloud-ResourceManager-V3-Project)) --- Required. The Project to create.


  Project ID is required. If the requested ID is unavailable, the request
  fails.

  If the `parent` field is set, the `resourcemanager.projects.create`
  permission is checked on the parent resource. If no parent is set and
  the authorization credentials belong to an Organization, the parent
  will be set to that Organization.