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

Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::CreateProjectRequest.

The request sent to the CreateProject 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) — 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) — 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) — 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.