Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class OdbDnsZone.
Represents OdbDnsZone resource.
Generated from protobuf message google.cloud.oracledatabase.v1.OdbDnsZone
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} |
↳ domain |
string
Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Optional. Labels or tags associated with the resource. |
↳ state |
int
Output only. State of the OdbDnsZone. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The date and time that the OdbDnsZone was created. |
getName
Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDomain
Required. Immutable. The DNS suffix for the zone.
Ex: abc.example.com.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDomain
Required. Immutable. The DNS suffix for the zone.
Ex: abc.example.com.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Optional. Labels or tags associated with the resource.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Optional. Labels or tags associated with the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. State of the OdbDnsZone.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. State of the OdbDnsZone.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The date and time that the OdbDnsZone was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The date and time that the OdbDnsZone was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|