Obbligatorio. La risorsa principale di GatewaySecurityPolicy. Deve essere nel formato projects/{project}/locations/{location}.
L'autorizzazione richiede la seguente autorizzazione IAM sulla risorsa specificata parent:
networksecurity.gatewaySecurityPolicies.create
Parametri di query
Parametri
gatewaySecurityPolicyId
string
Obbligatorio. Nome breve della risorsa GatewaySecurityPolicy da creare. Questo valore deve avere una lunghezza compresa tra 1 e 63 caratteri, contenere solo lettere, numeri, trattini e trattini bassi e non deve iniziare con un numero. Ad esempio "gateway_security_policy1".
L'autorizzazione richiede la seguente autorizzazione IAM sulla risorsa specificata gatewaySecurityPolicyId:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-29 UTC."],[],[],null,["# Method: projects.locations.gatewaySecurityPolicies.create\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- [Authorization scopes](#body.aspect)\n\nCreates a new GatewaySecurityPolicy in a given project and location.\n\n### HTTP request\n\n`POST https://networksecurity.googleapis.com/v1beta1/{parent=projects/*/locations/*}/gatewaySecurityPolicies`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [GatewaySecurityPolicy](/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.gatewaySecurityPolicies#GatewaySecurityPolicy).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/organizations.locations.operations#Operation).\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](https://cloud.google.com/docs/authentication/)."]]