必需。Redis 集群证书授权机构资源名称,格式为 projects/{projectId}/locations/{locationId}/clusters/{clusterId}/certificateAuthority,其中 locationId 表示 Google Cloud 区域。
请求正文
请求正文必须为空。
响应正文
Redis 集群证书授权机构
如果成功,响应正文将包含结构如下的数据:
JSON 表示法
{"name": string,// Union field server_ca can be only one of the following:"managedServerCa": {object (ManagedCertificateAuthority)}// End of list of possible types for union field server_ca.}
[[["易于理解","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):2025-09-04。"],[],[],null,["# Method: projects.locations.clusters.getCertificateAuthority\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.CertificateAuthority.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ManagedCertificateAuthority](#ManagedCertificateAuthority)\n - [JSON representation](#ManagedCertificateAuthority.SCHEMA_REPRESENTATION)\n- [CertChain](#CertChain)\n - [JSON representation](#CertChain.SCHEMA_REPRESENTATION)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nGets the details of certificate authority information for Redis cluster.\n\n### HTTP request\n\n`GET https://redis.googleapis.com/v1/{name=projects/*/locations/*/clusters/*/certificateAuthority}`\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\nRedis cluster certificate authority\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\nManagedCertificateAuthority\n---------------------------\n\nCertChain\n---------"]]