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
Specifies the number of results to return per page. If there are fewer elements than the specified number, returns all elements.
pageToken
string
Specifies a page token to use. Set pageToken to a nextPageToken returned by a previous list request to get the next page of results.
returnValues
boolean
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:
A list of variables and their values. The order of returned variable objects is arbitrary.
nextPageToken
string
This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-30 UTC."],[[["\u003cp\u003eThis endpoint lists variable names within a specified configuration, optionally returning values if the user has the necessary IAM permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e method targeting a specific RuntimeConfig resource using a URL that adheres to gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eRequests can be filtered by using the \u003ccode\u003efilter\u003c/code\u003e query parameter and can be paginated using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains a list of variable objects and, when applicable, a \u003ccode\u003enextPageToken\u003c/code\u003e for further pagination.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this endpoint requires specific OAuth scopes, either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloudruntimeconfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.configs.variables.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListVariablesResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists 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.\n\n### HTTP request\n\n`GET https://runtimeconfig.googleapis.com/v1beta1/{parent=projects/*/configs/*}/variables`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse for the `variables.list()` method.\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloudruntimeconfig`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\nTry it!\n-------"]]