Google Cloud Migration Center V1 Client - Class NetworkAddress (0.2.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
NameDescription
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
TypeDescription
string

setIpAddress

Assigned or configured IP Address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubnetMask

Subnet mask.

Returns
TypeDescription
string

setSubnetMask

Subnet mask.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBcast

Broadcast address.

Returns
TypeDescription
string

setBcast

Broadcast address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFqdn

Fully qualified domain name.

Returns
TypeDescription
string

setFqdn

Fully qualified domain name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAssignment

Whether DHCP is used to assign addresses.

Returns
TypeDescription
int

setAssignment

Whether DHCP is used to assign addresses.

Parameter
NameDescription
var int
Returns
TypeDescription
$this