- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists variables within given a configuration, matching any provided filters. This only lists variable names, not the values, unless returnValues
is true, in which case only variables that user has IAM permission to variables.get will be returned.
HTTP request
GET https://runtimeconfig.googleapis.com/v1beta1/{parent=projects/*/configs/*}/variables
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The path to the RuntimeConfig resource for which you want to list variables. 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 | |
---|---|
filter |
Filters variables by matching the specified filter. For example:
|
pageSize |
Specifies the number of results to return per page. If there are fewer elements than the specified number, returns all elements. |
pageToken |
Specifies a page token to use. Set |
returnValues |
The flag indicates whether the user wants to return values of variables. If true, then only those variables that user has IAM variables.get permission will be returned along with their values. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response for the variables.list()
method.
JSON representation | |
---|---|
{
"variables": [
{
object( |
Fields | |
---|---|
variables[] |
A list of variables and their values. The order of returned variable objects is arbitrary. |
nextPageToken |
This token allows you to get the next page of results for list requests. If the number of results is larger than |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloudruntimeconfig
For more information, see the Authentication Overview.