[[["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,["# Google Cloud Cloud Controls Partner V1beta Client - Class EkmConnection (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmConnection)\n- [0.4.0](/php/docs/reference/cloud-cloudcontrolspartner/0.4.0/V1beta.EkmConnection)\n- [0.3.0](/php/docs/reference/cloud-cloudcontrolspartner/0.3.0/V1beta.EkmConnection)\n- [0.2.2](/php/docs/reference/cloud-cloudcontrolspartner/0.2.2/V1beta.EkmConnection)\n- [0.1.4](/php/docs/reference/cloud-cloudcontrolspartner/0.1.4/V1beta.EkmConnection) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class EkmConnection.\n\nDetails about the EKM connection\n\nGenerated from protobuf message `google.cloud.cloudcontrolspartner.v1beta.EkmConnection`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudControlsPartner \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getConnectionName\n\nResource name of the EKM connection in the format:\nprojects/{project}/locations/{location}/ekmConnections/{ekm_connection}\n\n### setConnectionName\n\nResource name of the EKM connection in the format:\nprojects/{project}/locations/{location}/ekmConnections/{ekm_connection}\n\n### getConnectionState\n\nOutput only. The connection state\n\n### setConnectionState\n\nOutput only. The connection state\n\n### getConnectionError\n\nThe connection error that occurred if any\n\n### hasConnectionError\n\n### clearConnectionError\n\n### setConnectionError\n\nThe connection error that occurred if any"]]