Google Cloud Ftp V1 Client - Class ExternalServerConfig (0.1.1)

Reference documentation and code samples for the Google Cloud Ftp V1 Client class ExternalServerConfig.

Configuration for external server.

Generated from protobuf message google.cloud.ftp.v1.ExternalServerConfig

Namespace

Google \ Cloud \ Ftp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ip_address string

Output only. IP address of the LB via which clients will connect.

↳ allowed_cidr_blocks string[]

Optional. List of CIDR blocks that are allowed to access the Server. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

getIpAddress

Output only. IP address of the LB via which clients will connect.

Returns
Type Description
string

setIpAddress

Output only. IP address of the LB via which clients will connect.

Parameter
Name Description
var string
Returns
Type Description
$this

getAllowedCidrBlocks

Optional. List of CIDR blocks that are allowed to access the Server.

A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setAllowedCidrBlocks

Optional. List of CIDR blocks that are allowed to access the Server.

A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

Parameter
Name Description
var string[]
Returns
Type Description
$this