dns  v1
Public Member Functions | Static Public Member Functions | List of all members
google_dns_api::ManagedZone Class Reference

#include <managed_zone.h>

Inheritance diagram for google_dns_api::ManagedZone:

Public Member Functions

 ManagedZone (const Json::Value &storage)
 
 ManagedZone (Json::Value *storage)
 
virtual ~ManagedZone ()
 
const StringPiece GetTypeName () const
 
bool has_creation_time () const
 
void clear_creation_time ()
 
const StringPiece get_creation_time () const
 
void set_creation_time (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_dns_name () const
 
void clear_dns_name ()
 
const StringPiece get_dns_name () const
 
void set_dns_name (const StringPiece &value)
 
bool has_dnssec_config () const
 
void clear_dnssec_config ()
 
const ManagedZoneDnsSecConfig get_dnssec_config () const
 
ManagedZoneDnsSecConfig mutable_dnssecConfig ()
 
bool has_forwarding_config () const
 
void clear_forwarding_config ()
 
const ManagedZoneForwardingConfig get_forwarding_config () const
 
ManagedZoneForwardingConfig mutable_forwardingConfig ()
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_labels () const
 
void clear_labels ()
 
const client::JsonCppAssociativeArray< string > get_labels () const
 
client::JsonCppAssociativeArray< string > mutable_labels ()
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_name_server_set () const
 
void clear_name_server_set ()
 
const StringPiece get_name_server_set () const
 
void set_name_server_set (const StringPiece &value)
 
bool has_name_servers () const
 
void clear_name_servers ()
 
const client::JsonCppArray< string > get_name_servers () const
 
client::JsonCppArray< string > mutable_nameServers ()
 
bool has_peering_config () const
 
void clear_peering_config ()
 
const ManagedZonePeeringConfig get_peering_config () const
 
ManagedZonePeeringConfig mutable_peeringConfig ()
 
bool has_private_visibility_config () const
 
void clear_private_visibility_config ()
 
const ManagedZonePrivateVisibilityConfig get_private_visibility_config () const
 
ManagedZonePrivateVisibilityConfig mutable_privateVisibilityConfig ()
 
bool has_visibility () const
 
void clear_visibility ()
 
const StringPiece get_visibility () const
 
void set_visibility (const StringPiece &value)
 

Static Public Member Functions

static ManagedZoneNew ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ManagedZone() [1/2]

google_dns_api::ManagedZone::ManagedZone ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~ManagedZone()

google_dns_api::ManagedZone::~ManagedZone ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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()

const ManagedZoneDnsSecConfig google_dns_api::ManagedZone::get_dnssec_config ( ) const

Get a reference to the value of the 'dnssecConfig' attribute.

◆ get_forwarding_config()

const ManagedZoneForwardingConfig google_dns_api::ManagedZone::get_forwarding_config ( ) const

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()

const ManagedZonePeeringConfig google_dns_api::ManagedZone::get_peering_config ( ) const

Get a reference to the value of the 'peeringConfig' attribute.

◆ get_private_visibility_config()

const ManagedZonePrivateVisibilityConfig google_dns_api::ManagedZone::get_private_visibility_config ( ) const

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

Returns a string denoting the type of this data object.

Returns
google_dns_api::ManagedZone

◆ 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()

ManagedZoneDnsSecConfig google_dns_api::ManagedZone::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()

ManagedZoneForwardingConfig google_dns_api::ManagedZone::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()

ManagedZonePeeringConfig google_dns_api::ManagedZone::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()

ManagedZonePrivateVisibilityConfig google_dns_api::ManagedZone::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()

ManagedZone * google_dns_api::ManagedZone::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: