Reference documentation and code samples for the Google Cloud Filestore V1 Client class NetworkConfig.
Network configuration for the instance.
Generated from protobuf message google.cloud.filestore.v1.NetworkConfig
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network |
string
The name of the Google Compute Engine VPC network to which the instance is connected. |
↳ modes |
array
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported. |
↳ reserved_ip_range |
string
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network. |
↳ ip_addresses |
array
Output only. IPv4 addresses in the format IPv4 addresses in the format |
getNetwork
The name of the Google Compute Engine VPC network to which the instance is connected.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNetwork
The name of the Google Compute Engine VPC network to which the instance is connected.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModes
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setModes
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReservedIpRange
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReservedIpRange
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpAddresses
Output only. IPv4 addresses in the format
IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setIpAddresses
Output only. IPv4 addresses in the format
IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|