Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
getNetworkAttachment
Required. Name of the NetworkAttachment that allows access to the
consumer VPC. Format:
projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
Returns
Type
Description
string
setNetworkAttachment
Required. Name of the NetworkAttachment that allows access to the
consumer VPC. Format:
projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
[[["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 Eventarc V1 Client - Class NetworkConfig (2.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-eventarc/latest/V1.Pipeline.Destination.NetworkConfig)\n- [2.1.4](/php/docs/reference/cloud-eventarc/2.1.4/V1.Pipeline.Destination.NetworkConfig)\n- [2.0.1](/php/docs/reference/cloud-eventarc/2.0.1/V1.Pipeline.Destination.NetworkConfig)\n- [1.3.5](/php/docs/reference/cloud-eventarc/1.3.5/V1.Pipeline.Destination.NetworkConfig)\n- [1.2.2](/php/docs/reference/cloud-eventarc/1.2.2/V1.Pipeline.Destination.NetworkConfig)\n- [1.1.1](/php/docs/reference/cloud-eventarc/1.1.1/V1.Pipeline.Destination.NetworkConfig)\n- [1.0.5](/php/docs/reference/cloud-eventarc/1.0.5/V1.Pipeline.Destination.NetworkConfig) \nReference documentation and code samples for the Google Cloud Eventarc V1 Client class NetworkConfig.\n\nRepresents a network config to be used for destination resolution and\nconnectivity.\n\nGenerated from protobuf message `google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Eventarc \\\\ V1 \\\\ Pipeline \\\\ Destination\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNetworkAttachment\n\nRequired. Name of the NetworkAttachment that allows access to the\nconsumer VPC. Format:\n`projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`\n\n### setNetworkAttachment\n\nRequired. Name of the NetworkAttachment that allows access to the\nconsumer VPC. Format:\n`projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`"]]