Google Cloud Migration Center V1 Client - Class NetworkAddress (1.0.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class NetworkAddress.

Details of network address.

Generated from protobuf message google.cloud.migrationcenter.v1.NetworkAddress

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ip_address string

Assigned or configured IP Address.

↳ subnet_mask string

Subnet mask.

↳ bcast string

Broadcast address.

↳ fqdn string

Fully qualified domain name.

↳ assignment int

Whether DHCP is used to assign addresses.

getIpAddress

Assigned or configured IP Address.

Returns
Type Description
string

setIpAddress

Assigned or configured IP Address.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubnetMask

Subnet mask.

Returns
Type Description
string

setSubnetMask

Subnet mask.

Parameter
Name Description
var string
Returns
Type Description
$this

getBcast

Broadcast address.

Returns
Type Description
string

setBcast

Broadcast address.

Parameter
Name Description
var string
Returns
Type Description
$this

getFqdn

Fully qualified domain name.

Returns
Type Description
string

setFqdn

Fully qualified domain name.

Parameter
Name Description
var string
Returns
Type Description
$this

getAssignment

Whether DHCP is used to assign addresses.

Returns
Type Description
int

setAssignment

Whether DHCP is used to assign addresses.

Parameter
Name Description
var int
Returns
Type Description
$this