[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-06-28。"],[[["\u003cp\u003eThis document outlines the process for retrieving configuration details for a specific location using a \u003ccode\u003eGET\u003c/code\u003e request to the Cloud Deploy API.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a \u003ccode\u003ename\u003c/code\u003e parameter in the format \u003ccode\u003eprojects/*/locations/*/config\u003c/code\u003e, and the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response body contains service-wide configuration details including the configuration \u003ccode\u003ename\u003c/code\u003e, supported Skaffold versions, and the default Skaffold version.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this API endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003eclouddeploy.config.get\u003c/code\u003e on the specified \u003ccode\u003ename\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe response body can also include details of a \u003ccode\u003eSkaffoldVersion\u003c/code\u003e, which includes details such as version number, when it enters maintenance mode and when support ends.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.getConfig\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.Config.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [SkaffoldVersion](#SkaffoldVersion)\n - [JSON representation](#SkaffoldVersion.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGets the configuration for a location.\n\n### HTTP request\n\n`GET https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/config}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nService-wide configuration.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `clouddeploy.config.get`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs).\n\nSkaffoldVersion\n---------------\n\nDetails of a supported Skaffold version."]]