- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization Scopes
 - Try it!
 
Creates a variable within the given configuration. You cannot create a variable with a name that is a prefix of an existing variable name, or a name that has an existing variable name as a prefix.
To learn more about creating a variable, read the Setting and Getting Data documentation.
HTTP request
POST https://runtimeconfig.googleapis.com/v1beta1/{parent=projects/*/configs/*}/variables
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 
 The path to the RutimeConfig resource that this variable should belong to. The configuration must exist beforehand; the path must be in the format: 
 Authorization requires the following Google IAM permission on the specified resource  
  | 
              
Query parameters
| Parameters | |
|---|---|
requestId | 
                
                   
 
 An optional but recommended unique  It is responsibility of the client to ensure uniqueness of the  
  | 
              
Request body
The request body contains an instance of Variable.
Response body
If successful, the response body contains a newly created instance of Variable.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloudruntimeconfig
For more information, see the Authentication Overview.