Creates a new tenant entity.
HTTP request
POST https://jobs.googleapis.com/v4beta1/{parent=projects/*}/tenants
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
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 data with the following structure:
JSON representation | |
---|---|
{
"tenant": {
object ( |
Fields | |
---|---|
tenant |
Required. The tenant to be created. |
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.