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 Pipeline.Types.Destination.Types.NetworkConfig : IMessage<Pipeline.Types.Destination.Types.NetworkConfig>, IEquatable<Pipeline.Types.Destination.Types.NetworkConfig>, IDeepCloneable<Pipeline.Types.Destination.Types.NetworkConfig>, IBufferMessage, IMessage

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

Represents a network config to be used for destination resolution and
connectivity.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.md.txt)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.md.txt)[NetworkConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.NetworkConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.md.txt)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.md.txt)[NetworkConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.NetworkConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.md.txt)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.md.txt)[NetworkConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.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(Pipeline.Types.Destination.Types.NetworkConfig other)

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

## Properties

### NetworkAttachment

    public string NetworkAttachment { get; set; }

Required. Name of the NetworkAttachment that allows access to the
consumer 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.Pipeline.Types.Destination.Types.NetworkConfig.md.txt#Google_Cloud_Eventarc_V1_Pipeline_Types_Destination_Types_NetworkConfig_NetworkAttachment)
resource name property.

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