Google Cloud Domains V1beta1 Client - Class GlueRecord (0.2.11)

Reference documentation and code samples for the Google Cloud Domains V1beta1 Client class GlueRecord.

Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain.

For example, when ns.example.com is a name server for example.com, the host ns.example.com must have a glue record to break the circular DNS reference.

Generated from protobuf message google.cloud.domains.v1beta1.DnsSettings.GlueRecord

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ host_name string

Required. Domain name of the host in Punycode format.

↳ ipv4_addresses array

List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. 198.51.100.1). At least one of ipv4_address and ipv6_address must be set.

↳ ipv6_addresses array

List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. 2001:db8::). At least one of ipv4_address and ipv6_address must be set.

getHostName

Required. Domain name of the host in Punycode format.

Returns
TypeDescription
string

setHostName

Required. Domain name of the host in Punycode format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpv4Addresses

List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. 198.51.100.1). At least one of ipv4_address and ipv6_address must be set.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIpv4Addresses

List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. 198.51.100.1). At least one of ipv4_address and ipv6_address must be set.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getIpv6Addresses

List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. 2001:db8::). At least one of ipv4_address and ipv6_address must be set.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIpv6Addresses

List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. 2001:db8::). At least one of ipv4_address and ipv6_address must be set.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this