Method: tagKeys.create

Creates a new TagKey. If another request with the same parameters is sent while the original request is in process, the second request will receive an error. A maximum of 1000 TagKeys can exist under a parent at any given time.

HTTP request

POST https://cloudresourcemanager.googleapis.com/v3/tagKeys

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
validateOnly

boolean

Optional. Set to true to perform validations necessary for creating the resource, but not actually perform the action.

Request body

The request body contains an instance of TagKey.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.