Output only. IPv4 addresses in the format
{octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.
When the name of an allocated IP address range is specified, it must be one
of the ranges associated with the private service access connection.
When specified as a direct CIDR value, it must be a /29 CIDR block for
Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for
Enterprise tier in one of the internal IP address
ranges
that identifies the range of IP addresses reserved for this instance. For
example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The
range you specify can't overlap with either existing subnets or assigned IP
address ranges for other Filestore instances in the selected VPC
network.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eNetworkConfig\u003c/code\u003e class for the Cloud Filestore v1 API is 2.7.0, and documentation is available for versions ranging from 1.0.0 to 2.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class allows the configuration of network settings for a Filestore instance, and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eNetworkConfig\u003c/code\u003e include \u003ccode\u003eConnectMode\u003c/code\u003e, \u003ccode\u003eIpAddresses\u003c/code\u003e, \u003ccode\u003eModes\u003c/code\u003e, \u003ccode\u003eNetwork\u003c/code\u003e, and \u003ccode\u003eReservedIpRange\u003c/code\u003e, allowing for the specification of network connection type, IP addresses, address modes, the VPC network, and the reserved IP range.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectMode\u003c/code\u003e property, which determines the network connect mode of the Filestore instance, defaults to \u003ccode\u003eDIRECT_PEERING\u003c/code\u003e if not provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReservedIpRange\u003c/code\u003e property can accept a CIDR range value when using \u003ccode\u003eDIRECT_PEERING\u003c/code\u003e or an allocated IP address range when using \u003ccode\u003ePRIVATE_SERVICE_ACCESS\u003c/code\u003e connect modes.\u003c/p\u003e\n"]]],[],null,["# Cloud Filestore v1 API - Class NetworkConfig (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.6.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.5.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.4.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.3.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.2.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.1.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/2.0.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/1.2.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/1.1.0/Google.Cloud.Filestore.V1.NetworkConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Filestore.V1/1.0.0/Google.Cloud.Filestore.V1.NetworkConfig) \n\n public sealed class NetworkConfig : IMessage\u003cNetworkConfig\u003e, IEquatable\u003cNetworkConfig\u003e, IDeepCloneable\u003cNetworkConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Filestore v1 API class NetworkConfig.\n\nNetwork configuration for the instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NetworkConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NetworkConfig](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.NetworkConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkConfig](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.NetworkConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NetworkConfig](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.NetworkConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Filestore.V1](/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Filestore.V1.dll\n\nConstructors\n------------\n\n### NetworkConfig()\n\n public NetworkConfig()\n\n### NetworkConfig(NetworkConfig)\n\n public NetworkConfig(NetworkConfig other)\n\nProperties\n----------\n\n### ConnectMode\n\n public NetworkConfig.Types.ConnectMode ConnectMode { get; set; }\n\nThe network connect mode of the Filestore instance.\nIf not provided, the connect mode defaults to DIRECT_PEERING.\n\n### IpAddresses\n\n public RepeatedField\u003cstring\u003e IpAddresses { get; }\n\nOutput only. IPv4 addresses in the format\n`{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format\n`{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.\n\n### Modes\n\n public RepeatedField\u003cNetworkConfig.Types.AddressMode\u003e Modes { get; }\n\nInternet protocol versions for which the instance has IP addresses\nassigned. For this version, only MODE_IPV4 is supported.\n\n### Network\n\n public string Network { get; set; }\n\nThe name of the Google Compute Engine\n[VPC network](https://cloud.google.com/vpc/docs/vpc) to which the\ninstance is connected.\n\n### ReservedIpRange\n\n public string ReservedIpRange { get; set; }\n\nOptional, reserved_ip_range can have one of the following two types of\nvalues.\n\n- CIDR range value when using DIRECT_PEERING connect mode.\n- [Allocated IP address\n range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode.\n\nWhen the name of an allocated IP address range is specified, it must be one\nof the ranges associated with the private service access connection.\nWhen specified as a direct CIDR value, it must be a /29 CIDR block for\nBasic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for\nEnterprise tier in one of the [internal IP address\nranges](https://www.arin.net/reference/research/statistics/address_filters/)\nthat identifies the range of IP addresses reserved for this instance. For\nexample, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The\nrange you specify can't overlap with either existing subnets or assigned IP\naddress ranges for other Filestore instances in the selected VPC\nnetwork."]]