2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class NetworkConfig : IMessage<NetworkConfig>, IEquatable<NetworkConfig>, IDeepCloneable<NetworkConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Eventarc v1 API class NetworkConfig.

Network Configuration that can be inherited by other protos.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> NetworkConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[NetworkConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.NetworkConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.NetworkConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[NetworkConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.NetworkConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Eventarc.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.md.txt)

## Assembly

Google.Cloud.Eventarc.V1.dll

## Constructors

### NetworkConfig()

    public NetworkConfig()

### NetworkConfig(NetworkConfig)

    public NetworkConfig(NetworkConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `NetworkConfig` |

## Properties

### NetworkAttachment

    public string NetworkAttachment { get; set; }

Required. Name of the NetworkAttachment that allows access to the
customer's VPC. Format:
`projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NetworkAttachmentAsNetworkAttachmentName

    public NetworkAttachmentName NetworkAttachmentAsNetworkAttachmentName { get; set; }

[NetworkAttachmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.NetworkAttachmentName.md.txt)-typed view over the [NetworkAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.NetworkConfig.md.txt#Google_Cloud_Eventarc_V1_NetworkConfig_NetworkAttachment) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `NetworkAttachmentName` |   |