[[["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 Migration Center V1 Client - Class NetworkConnection (1.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.2 (latest)](/php/docs/reference/cloud-migrationcenter/latest/V1.NetworkConnection)\n- [1.1.1](/php/docs/reference/cloud-migrationcenter/1.1.1/V1.NetworkConnection)\n- [1.0.3](/php/docs/reference/cloud-migrationcenter/1.0.3/V1.NetworkConnection)\n- [0.4.5](/php/docs/reference/cloud-migrationcenter/0.4.5/V1.NetworkConnection)\n- [0.3.1](/php/docs/reference/cloud-migrationcenter/0.3.1/V1.NetworkConnection)\n- [0.2.0](/php/docs/reference/cloud-migrationcenter/0.2.0/V1.NetworkConnection)\n- [0.1.0](/php/docs/reference/cloud-migrationcenter/0.1.0/V1.NetworkConnection) \nReference documentation and code samples for the Google Cloud Migration Center V1 Client class NetworkConnection.\n\nGenerated from protobuf message `google.cloud.migrationcenter.v1.NetworkConnection`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ MigrationCenter \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProtocol\n\nConnection protocol (e.g. TCP/UDP).\n\n### setProtocol\n\nConnection protocol (e.g. TCP/UDP).\n\n### getLocalIpAddress\n\nLocal IP address.\n\n### setLocalIpAddress\n\nLocal IP address.\n\n### getLocalPort\n\nLocal port.\n\n### setLocalPort\n\nLocal port.\n\n### getRemoteIpAddress\n\nRemote IP address.\n\n### setRemoteIpAddress\n\nRemote IP address.\n\n### getRemotePort\n\nRemote port.\n\n### setRemotePort\n\nRemote port.\n\n### getState\n\nNetwork connection state.\n\n### setState\n\nNetwork connection state.\n\n### getPid\n\nProcess ID.\n\n### setPid\n\nProcess ID.\n\n### getProcessName\n\nProcess or service name.\n\n### setProcessName\n\nProcess or service name."]]