Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
gRPC mit Certificate Authority Service verwenden
Wenn Sie manuell erstellte gRPC-Bibliotheken für API-Aufrufe an den Zertifizierungsstellendienst verwenden, müssen Sie x-goog-request-params: '<request-field>:<resource-name>'
als Header hinzufügen. Bei ordnungsgemäßer Anwendung von x-goog-request-params
wird die Anfrage an die richtige Region für Ihre CA-Dienstressourcen weitergeleitet.
Im Folgenden finden Sie einige Beispiele für Methoden mit dem jeweiligen Anfragefeld und einem Beispiel-Header.
Eine vollständige Liste der RPC-Methoden und ihrer jeweiligen Anfragefelder finden Sie unter Paket google.cloud.security.privateca.v1beta1.
Nächste Schritte
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-12 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-12 (UTC)."],[[["\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)"]]