Method: projects.tenants.create

Creates a new tenant entity.

HTTP request

POST https://jobs.googleapis.com/v4/{parent=projects/*}/tenants

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the project under which the tenant is created.

The format is "projects/{projectId}", for example, "projects/foo".

Request body

The request body contains an instance of Tenant.

Response body

If successful, the response body contains a newly created instance of Tenant.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/jobs
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.