Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class DNSEntry.
DNS Entry for the primary instance in a replication topology.
Generated from protobuf message google.cloud.sql.v1.DNSEntry
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dns |
string
Required. The DNS name. |
↳ ipv4_address |
string
Required. The IP address. |
getDns
Required. The DNS name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDns
Required. The DNS name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpv4Address
Required. The IP address.
| Returns | |
|---|---|
| Type | Description |
string |
|
setIpv4Address
Required. The IP address.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|