(::Array<::String>) — 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.
#reserved_ip_range=
defreserved_ip_range=(value)->::String
Parameter
value (::String) — Optional, reserved_ip_range can have one of the following two types of
values.
CIDR range value when using DIRECT_PEERING connect mode.
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.
Returns
(::String) — Optional, reserved_ip_range can have one of the following two types of
values.
CIDR range value when using DIRECT_PEERING connect mode.
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"]],[["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-09 UTC."],[],[],null,["# Filestore V1 API - Class Google::Cloud::Filestore::V1::NetworkConfig (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-NetworkConfig)\n- [2.1.1](/ruby/docs/reference/google-cloud-filestore-v1/2.1.1/Google-Cloud-Filestore-V1-NetworkConfig)\n- [2.0.0](/ruby/docs/reference/google-cloud-filestore-v1/2.0.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-filestore-v1/1.2.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-filestore-v1/1.1.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-filestore-v1/1.0.1/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.9.0](/ruby/docs/reference/google-cloud-filestore-v1/0.9.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.8.2](/ruby/docs/reference/google-cloud-filestore-v1/0.8.2/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-filestore-v1/0.7.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-filestore-v1/0.6.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-filestore-v1/0.5.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.4.1](/ruby/docs/reference/google-cloud-filestore-v1/0.4.1/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-filestore-v1/0.3.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.2.0](/ruby/docs/reference/google-cloud-filestore-v1/0.2.0/Google-Cloud-Filestore-V1-NetworkConfig)\n- [0.1.3](/ruby/docs/reference/google-cloud-filestore-v1/0.1.3/Google-Cloud-Filestore-V1-NetworkConfig) \nReference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::NetworkConfig.\n\nNetwork configuration for the instance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #connect_mode\n\n def connect_mode() -\u003e ::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode\n\n**Returns**\n\n- ([::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode](./Google-Cloud-Filestore-V1-NetworkConfig-ConnectMode)) --- The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.\n\n### #connect_mode=\n\n def connect_mode=(value) -\u003e ::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode](./Google-Cloud-Filestore-V1-NetworkConfig-ConnectMode)) --- The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. \n**Returns**\n\n- ([::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode](./Google-Cloud-Filestore-V1-NetworkConfig-ConnectMode)) --- The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.\n\n### #ip_addresses\n\n def ip_addresses() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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}`.\n\n### #modes\n\n def modes() -\u003e ::Array\u003c::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode](./Google-Cloud-Filestore-V1-NetworkConfig-AddressMode)\\\u003e) --- Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.\n\n### #modes=\n\n def modes=(value) -\u003e ::Array\u003c::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode](./Google-Cloud-Filestore-V1-NetworkConfig-AddressMode)\\\u003e) --- Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode](./Google-Cloud-Filestore-V1-NetworkConfig-AddressMode)\\\u003e) --- Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.\n\n### #network\n\n def network() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.\n\n### #network=\n\n def network=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. \n**Returns**\n\n- (::String) --- The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.\n\n### #reserved_ip_range\n\n def reserved_ip_range() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional, reserved_ip_range can have one of the following two types of values.\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\n When the name of an allocated IP address range is specified, it must be one\n of the ranges associated with the private service access connection.\n When specified as a direct CIDR value, it must be a /29 CIDR block for\n Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for\n Enterprise tier in one of the [internal IP address\n ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance. For\n example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The\n range you specify can't overlap with either existing subnets or assigned IP\n address ranges for other Filestore instances in the selected VPC\n network.\n\n### #reserved_ip_range=\n\n def reserved_ip_range=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional, reserved_ip_range can have one of the following two types of values.\n\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\n When the name of an allocated IP address range is specified, it must be one\n of the ranges associated with the private service access connection.\n When specified as a direct CIDR value, it must be a /29 CIDR block for\n Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for\n Enterprise tier in one of the [internal IP address\n ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance. For\n example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The\n range you specify can't overlap with either existing subnets or assigned IP\n address ranges for other Filestore instances in the selected VPC\nnetwork. \n**Returns**\n\n- (::String) --- Optional, reserved_ip_range can have one of the following two types of values.\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\n When the name of an allocated IP address range is specified, it must be one\n of the ranges associated with the private service access connection.\n When specified as a direct CIDR value, it must be a /29 CIDR block for\n Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for\n Enterprise tier in one of the [internal IP address\n ranges](https://www.arin.net/reference/research/statistics/address_filters/)\n that identifies the range of IP addresses reserved for this instance. For\n example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The\n range you specify can't overlap with either existing subnets or assigned IP\n address ranges for other Filestore instances in the selected VPC\n network."]]