Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*. Please see
EkmServiceClient::locationName() for help formatting this field.
ekmConnectionId
string
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud KMS V1 Client - Class CreateEkmConnectionRequest (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-kms/latest/V1.CreateEkmConnectionRequest)\n- [2.3.0](/php/docs/reference/cloud-kms/2.3.0/V1.CreateEkmConnectionRequest)\n- [2.2.0](/php/docs/reference/cloud-kms/2.2.0/V1.CreateEkmConnectionRequest)\n- [2.1.6](/php/docs/reference/cloud-kms/2.1.6/V1.CreateEkmConnectionRequest)\n- [2.0.0](/php/docs/reference/cloud-kms/2.0.0/V1.CreateEkmConnectionRequest)\n- [1.23.0](/php/docs/reference/cloud-kms/1.23.0/V1.CreateEkmConnectionRequest)\n- [1.22.1](/php/docs/reference/cloud-kms/1.22.1/V1.CreateEkmConnectionRequest)\n- [1.21.4](/php/docs/reference/cloud-kms/1.21.4/V1.CreateEkmConnectionRequest)\n- [1.20.3](/php/docs/reference/cloud-kms/1.20.3/V1.CreateEkmConnectionRequest)\n- [1.19.0](/php/docs/reference/cloud-kms/1.19.0/V1.CreateEkmConnectionRequest)\n- [1.18.1](/php/docs/reference/cloud-kms/1.18.1/V1.CreateEkmConnectionRequest)\n- [1.17.0](/php/docs/reference/cloud-kms/1.17.0/V1.CreateEkmConnectionRequest)\n- [1.16.4](/php/docs/reference/cloud-kms/1.16.4/V1.CreateEkmConnectionRequest)\n- [1.15.3](/php/docs/reference/cloud-kms/1.15.3/V1.CreateEkmConnectionRequest) \nReference documentation and code samples for the Cloud KMS V1 Client class CreateEkmConnectionRequest.\n\nRequest message for\n[EkmService.CreateEkmConnection](/php/docs/reference/cloud-kms/latest/V1.Client.EkmServiceClient#_Google_Cloud_Kms_V1_Client_EkmServiceClient__createEkmConnection__).\n\nGenerated from protobuf message `google.cloud.kms.v1.CreateEkmConnectionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Kms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the location associated with the\n[EkmConnection](/php/docs/reference/cloud-kms/latest/V1.EkmConnection), in the format\n`projects/*/locations/*`.\n\n### setParent\n\nRequired. The resource name of the location associated with the\n[EkmConnection](/php/docs/reference/cloud-kms/latest/V1.EkmConnection), in the format\n`projects/*/locations/*`.\n\n### getEkmConnectionId\n\nRequired. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`.\n\n### setEkmConnectionId\n\nRequired. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`.\n\n### getEkmConnection\n\nRequired. An [EkmConnection](/php/docs/reference/cloud-kms/latest/V1.EkmConnection) with\ninitial field values.\n\n### hasEkmConnection\n\n### clearEkmConnection\n\n### setEkmConnection\n\nRequired. An [EkmConnection](/php/docs/reference/cloud-kms/latest/V1.EkmConnection) with\ninitial field values.\n\n### static::build"]]