Reference documentation and code samples for the Google Cloud Eventarc V1 Client class NetworkConfig.
Network Configuration that can be inherited by other protos.
Generated from protobuf messagegoogle.cloud.eventarc.v1.NetworkConfig
Namespace
Google \ Cloud \ Eventarc \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ network_attachment
string
Required. Name of the NetworkAttachment that allows access to the customer's VPC. Format:projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
getNetworkAttachment
Required. Name of the NetworkAttachment that allows access to the
customer's 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
customer's 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.NetworkConfig)\n- [2.1.4](/php/docs/reference/cloud-eventarc/2.1.4/V1.NetworkConfig)\n- [2.0.1](/php/docs/reference/cloud-eventarc/2.0.1/V1.NetworkConfig)\n- [1.3.5](/php/docs/reference/cloud-eventarc/1.3.5/V1.NetworkConfig)\n- [1.2.2](/php/docs/reference/cloud-eventarc/1.2.2/V1.NetworkConfig)\n- [1.1.1](/php/docs/reference/cloud-eventarc/1.1.1/V1.NetworkConfig)\n- [1.0.5](/php/docs/reference/cloud-eventarc/1.0.5/V1.NetworkConfig) \nReference documentation and code samples for the Google Cloud Eventarc V1 Client class NetworkConfig.\n\nNetwork Configuration that can be inherited by other protos.\n\nGenerated from protobuf message `google.cloud.eventarc.v1.NetworkConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Eventarc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNetworkAttachment\n\nRequired. Name of the NetworkAttachment that allows access to the\ncustomer's 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\ncustomer's VPC. Format:\n`projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`"]]