Google Cloud Filestore V1 Client - Class NetworkConfig (1.0.3)

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
NameDescription
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 {octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format {block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.

getNetwork

The name of the Google Compute Engine VPC network to which the instance is connected.

Returns
TypeDescription
string

setNetwork

The name of the Google Compute Engine VPC network to which the instance is connected.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModes

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

Returns
TypeDescription
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
NameDescription
var int[]
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this