透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將 gRPC 與憑證授權單位服務搭配使用
如果您使用手動建立的 gRPC 程式庫呼叫 Certificate Authority Service API,必須將 x-goog-request-params: '<request-field>:<resource-name>'
新增為標頭。正確使用 x-goog-request-params
可確保要求轉送至 CA 服務資源的適當地區。
以下列舉幾個方法,以及各自的要求欄位和標頭範例。
如要查看 RPC 方法的完整清單和各自的要求欄位,請參閱「Package google.cloud.security.privateca.v1beta1」。
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-04 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eWhen using manually created gRPC libraries to call the Certificate Authority Service API, you must include the \u003ccode\u003ex-goog-request-params\u003c/code\u003e header.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ex-goog-request-params\u003c/code\u003e header, in the format of \u003ccode\u003e<request-field>:<resource-name>\u003c/code\u003e, is necessary to ensure requests are routed to the correct region for your CA Service resources.\u003c/p\u003e\n"],["\u003cp\u003eSpecific request fields vary by method, for example, \u003ccode\u003eCreateCertificateAuthority\u003c/code\u003e uses the 'parent' field, while \u003ccode\u003eGetCertificateAuthority\u003c/code\u003e uses the 'name' field.\u003c/p\u003e\n"],["\u003cp\u003eFor the full list of RPC methods and their corresponding request fields, consult the \u003ccode\u003egoogle.cloud.security.privateca.v1beta1\u003c/code\u003e package documentation.\u003c/p\u003e\n"]]],[],null,["# Using gRPC with Certificate Authority Service\n=============================================\n\nIf you are using manually created [gRPC](https://grpc.io/) libraries to make API calls to Certificate Authority Service, you must add `x-goog-request-params: '\u003crequest-field\u003e:\u003cresource-name\u003e'` as a header. The proper use of `x-goog-request-params` ensures that the request is routed to the appropriate region for your CA Service resources.\n\nGiven below are a few examples of methods with their respective request field and sample header.\n\n\u003cbr /\u003e\n\nFor the complete list of RPC methods and their respective request fields, see [Package google.cloud.security.privateca.v1beta1](/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1).\n\nWhat's next\n-----------\n\n- [Cloud APIs: gRPC APIs](/apis/docs/client-libraries-explained#grpc_apis)\n- [RPC Reference](/certificate-authority-service/docs/reference/rpc)"]]