#include <managed_zone.h>
A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
◆ ManagedZone() [1/2]
| google_dns_api::ManagedZone::ManagedZone |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ManagedZone() [2/2]
| google_dns_api::ManagedZone::ManagedZone |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~ManagedZone()
| google_dns_api::ManagedZone::~ManagedZone |
( |
| ) |
|
|
virtual |
◆ clear_creation_time()
| void google_dns_api::ManagedZone::clear_creation_time |
( |
| ) |
|
|
inline |
Clears the 'creationTime' attribute.
◆ clear_description()
| void google_dns_api::ManagedZone::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description' attribute.
◆ clear_dns_name()
| void google_dns_api::ManagedZone::clear_dns_name |
( |
| ) |
|
|
inline |
Clears the 'dnsName' attribute.
◆ clear_dnssec_config()
| void google_dns_api::ManagedZone::clear_dnssec_config |
( |
| ) |
|
|
inline |
Clears the 'dnssecConfig' attribute.
◆ clear_forwarding_config()
| void google_dns_api::ManagedZone::clear_forwarding_config |
( |
| ) |
|
|
inline |
Clears the 'forwardingConfig' attribute.
◆ clear_id()
| void google_dns_api::ManagedZone::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_kind()
| void google_dns_api::ManagedZone::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_labels()
| void google_dns_api::ManagedZone::clear_labels |
( |
| ) |
|
|
inline |
Clears the 'labels' attribute.
◆ clear_name()
| void google_dns_api::ManagedZone::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_name_server_set()
| void google_dns_api::ManagedZone::clear_name_server_set |
( |
| ) |
|
|
inline |
Clears the 'nameServerSet' attribute.
◆ clear_name_servers()
| void google_dns_api::ManagedZone::clear_name_servers |
( |
| ) |
|
|
inline |
Clears the 'nameServers' attribute.
◆ clear_peering_config()
| void google_dns_api::ManagedZone::clear_peering_config |
( |
| ) |
|
|
inline |
Clears the 'peeringConfig' attribute.
◆ clear_private_visibility_config()
| void google_dns_api::ManagedZone::clear_private_visibility_config |
( |
| ) |
|
|
inline |
Clears the 'privateVisibilityConfig' attribute.
◆ clear_visibility()
| void google_dns_api::ManagedZone::clear_visibility |
( |
| ) |
|
|
inline |
Clears the 'visibility' attribute.
◆ get_creation_time()
| const StringPiece google_dns_api::ManagedZone::get_creation_time |
( |
| ) |
const |
|
inline |
Get the value of the 'creationTime' attribute.
◆ get_description()
| const StringPiece google_dns_api::ManagedZone::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description' attribute.
◆ get_dns_name()
| const StringPiece google_dns_api::ManagedZone::get_dns_name |
( |
| ) |
const |
|
inline |
Get the value of the 'dnsName' attribute.
◆ get_dnssec_config()
Get a reference to the value of the 'dnssecConfig' attribute.
◆ get_forwarding_config()
Get a reference to the value of the 'forwardingConfig' attribute.
◆ get_id()
| uint64 google_dns_api::ManagedZone::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_kind()
| const StringPiece google_dns_api::ManagedZone::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_labels()
| const client::JsonCppAssociativeArray<string > google_dns_api::ManagedZone::get_labels |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'labels' attribute.
◆ get_name()
| const StringPiece google_dns_api::ManagedZone::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_name_server_set()
| const StringPiece google_dns_api::ManagedZone::get_name_server_set |
( |
| ) |
const |
|
inline |
Get the value of the 'nameServerSet' attribute.
◆ get_name_servers()
| const client::JsonCppArray<string > google_dns_api::ManagedZone::get_name_servers |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'nameServers' attribute.
◆ get_peering_config()
Get a reference to the value of the 'peeringConfig' attribute.
◆ get_private_visibility_config()
Get a reference to the value of the 'privateVisibilityConfig' attribute.
◆ get_visibility()
| const StringPiece google_dns_api::ManagedZone::get_visibility |
( |
| ) |
const |
|
inline |
Get the value of the 'visibility' attribute.
◆ GetTypeName()
| const StringPiece google_dns_api::ManagedZone::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_creation_time()
| bool google_dns_api::ManagedZone::has_creation_time |
( |
| ) |
const |
|
inline |
Determine if the 'creationTime' attribute was set.
- Returns
- true if the '
creationTime' attribute was set.
◆ has_description()
| bool google_dns_api::ManagedZone::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description' attribute was set.
- Returns
- true if the '
description' attribute was set.
◆ has_dns_name()
| bool google_dns_api::ManagedZone::has_dns_name |
( |
| ) |
const |
|
inline |
Determine if the 'dnsName' attribute was set.
- Returns
- true if the '
dnsName' attribute was set.
◆ has_dnssec_config()
| bool google_dns_api::ManagedZone::has_dnssec_config |
( |
| ) |
const |
|
inline |
Determine if the 'dnssecConfig' attribute was set.
- Returns
- true if the '
dnssecConfig' attribute was set.
◆ has_forwarding_config()
| bool google_dns_api::ManagedZone::has_forwarding_config |
( |
| ) |
const |
|
inline |
Determine if the 'forwardingConfig' attribute was set.
- Returns
- true if the '
forwardingConfig' attribute was set.
◆ has_id()
| bool google_dns_api::ManagedZone::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_kind()
| bool google_dns_api::ManagedZone::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_labels()
| bool google_dns_api::ManagedZone::has_labels |
( |
| ) |
const |
|
inline |
Determine if the 'labels' attribute was set.
- Returns
- true if the '
labels' attribute was set.
◆ has_name()
| bool google_dns_api::ManagedZone::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_name_server_set()
| bool google_dns_api::ManagedZone::has_name_server_set |
( |
| ) |
const |
|
inline |
Determine if the 'nameServerSet' attribute was set.
- Returns
- true if the '
nameServerSet' attribute was set.
◆ has_name_servers()
| bool google_dns_api::ManagedZone::has_name_servers |
( |
| ) |
const |
|
inline |
Determine if the 'nameServers' attribute was set.
- Returns
- true if the '
nameServers' attribute was set.
◆ has_peering_config()
| bool google_dns_api::ManagedZone::has_peering_config |
( |
| ) |
const |
|
inline |
Determine if the 'peeringConfig' attribute was set.
- Returns
- true if the '
peeringConfig' attribute was set.
◆ has_private_visibility_config()
| bool google_dns_api::ManagedZone::has_private_visibility_config |
( |
| ) |
const |
|
inline |
Determine if the 'privateVisibilityConfig' attribute was set.
- Returns
- true if the '
privateVisibilityConfig' attribute was set.
◆ has_visibility()
| bool google_dns_api::ManagedZone::has_visibility |
( |
| ) |
const |
|
inline |
Determine if the 'visibility' attribute was set.
- Returns
- true if the '
visibility' attribute was set.
◆ mutable_dnssecConfig()
Gets a reference to a mutable value of the 'dnssecConfig' property.
DNSSEC configuration.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_forwardingConfig()
Gets a reference to a mutable value of the 'forwardingConfig' property.
The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_labels()
| client::JsonCppAssociativeArray<string > google_dns_api::ManagedZone::mutable_labels |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'labels' property.
User labels.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_nameServers()
| client::JsonCppArray<string > google_dns_api::ManagedZone::mutable_nameServers |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'nameServers' property.
Delegate your managed_zone to these virtual name servers; defined by the server (output only).
- Returns
- The result can be modified to change the attribute value.
◆ mutable_peeringConfig()
Gets a reference to a mutable value of the 'peeringConfig' property.
The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_privateVisibilityConfig()
Gets a reference to a mutable value of the 'privateVisibilityConfig' property.
For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_creation_time()
| void google_dns_api::ManagedZone::set_creation_time |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'creationTime' attribute.
The time that this resource was created on the server. This is in RFC3339 text format. Output only.
- Parameters
-
◆ set_description()
| void google_dns_api::ManagedZone::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description' attribute.
A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.
- Parameters
-
◆ set_dns_name()
| void google_dns_api::ManagedZone::set_dns_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'dnsName' attribute.
The DNS name of this managed zone, for instance "example.com.".
- Parameters
-
◆ set_id()
| void google_dns_api::ManagedZone::set_id |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'id' attribute.
Unique identifier for the resource; defined by the server (output only).
- Parameters
-
◆ set_kind()
| void google_dns_api::ManagedZone::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Identifies what kind of resource this is. Value: the fixed string "dns#managedZone".
- Parameters
-
◆ set_name()
| void google_dns_api::ManagedZone::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
- Parameters
-
◆ set_name_server_set()
| void google_dns_api::ManagedZone::set_name_server_set |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'nameServerSet' attribute.
Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
- Parameters
-
◆ set_visibility()
| void google_dns_api::ManagedZone::set_visibility |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'visibility' attribute.
The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
- Parameters
-
The documentation for this class was generated from the following files: