Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::NetworkConfig.
Network configuration for the instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#connect_mode
def connect_mode() -> ::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.
#connect_mode=
def connect_mode=(value) -> ::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode
- value (::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode) — The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- (::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode) — The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
#ip_addresses
def ip_addresses() -> ::Array<::String>
-
(::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}
.
#modes
def modes() -> ::Array<::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode>
- (::Array<::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode>) — Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
#modes=
def modes=(value) -> ::Array<::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode>
- value (::Array<::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode>) — Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
- (::Array<::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode>) — Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
#network
def network() -> ::String
- (::String) — The name of the Google Compute Engine VPC network to which the instance is connected.
#network=
def network=(value) -> ::String
- value (::String) — The name of the Google Compute Engine VPC network to which the instance is connected.
- (::String) — The name of the Google Compute Engine VPC network to which the instance is connected.
#reserved_ip_range
def reserved_ip_range() -> ::String
-
(::String) — Optional, reserved_ip_range can have one of the following two types of
values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS 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.
#reserved_ip_range=
def reserved_ip_range=(value) -> ::String
-
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.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS 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.
-
(::String) — Optional, reserved_ip_range can have one of the following two types of
values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS 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.