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

#include <change.h>

Inheritance diagram for google_dns_api::Change:

Public Member Functions

 Change (const Json::Value &storage)
 
 Change (Json::Value *storage)
 
virtual ~Change ()
 
const StringPiece GetTypeName () const
 
bool has_additions () const
 
void clear_additions ()
 
const client::JsonCppArray< ResourceRecordSetget_additions () const
 
client::JsonCppArray< ResourceRecordSetmutable_additions ()
 
bool has_deletions () const
 
void clear_deletions ()
 
const client::JsonCppArray< ResourceRecordSetget_deletions () const
 
client::JsonCppArray< ResourceRecordSetmutable_deletions ()
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_is_serving () const
 
void clear_is_serving ()
 
bool get_is_serving () const
 
void set_is_serving (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_start_time () const
 
void clear_start_time ()
 
const StringPiece get_start_time () const
 
void set_start_time (const StringPiece &value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 

Static Public Member Functions

static ChangeNew ()
 

Detailed Description

A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.

Constructor & Destructor Documentation

◆ Change() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Change() [2/2]

google_dns_api::Change::Change ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Change()

google_dns_api::Change::~Change ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_additions()

void google_dns_api::Change::clear_additions ( )
inline

Clears the 'additions' attribute.

◆ clear_deletions()

void google_dns_api::Change::clear_deletions ( )
inline

Clears the 'deletions' attribute.

◆ clear_id()

void google_dns_api::Change::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_is_serving()

void google_dns_api::Change::clear_is_serving ( )
inline

Clears the 'isServing' attribute.

◆ clear_kind()

void google_dns_api::Change::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_start_time()

void google_dns_api::Change::clear_start_time ( )
inline

Clears the 'startTime' attribute.

◆ clear_status()

void google_dns_api::Change::clear_status ( )
inline

Clears the 'status' attribute.

◆ get_additions()

const client::JsonCppArray<ResourceRecordSet > google_dns_api::Change::get_additions ( ) const

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

◆ get_deletions()

const client::JsonCppArray<ResourceRecordSet > google_dns_api::Change::get_deletions ( ) const

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

◆ get_id()

const StringPiece google_dns_api::Change::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_is_serving()

bool google_dns_api::Change::get_is_serving ( ) const
inline

Get the value of the 'isServing' attribute.

◆ get_kind()

const StringPiece google_dns_api::Change::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_start_time()

const StringPiece google_dns_api::Change::get_start_time ( ) const
inline

Get the value of the 'startTime' attribute.

◆ get_status()

const StringPiece google_dns_api::Change::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ GetTypeName()

const StringPiece google_dns_api::Change::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dns_api::Change

◆ has_additions()

bool google_dns_api::Change::has_additions ( ) const
inline

Determine if the 'additions' attribute was set.

Returns
true if the 'additions' attribute was set.

◆ has_deletions()

bool google_dns_api::Change::has_deletions ( ) const
inline

Determine if the 'deletions' attribute was set.

Returns
true if the 'deletions' attribute was set.

◆ has_id()

bool google_dns_api::Change::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_is_serving()

bool google_dns_api::Change::has_is_serving ( ) const
inline

Determine if the 'isServing' attribute was set.

Returns
true if the 'isServing' attribute was set.

◆ has_kind()

bool google_dns_api::Change::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_start_time()

bool google_dns_api::Change::has_start_time ( ) const
inline

Determine if the 'startTime' attribute was set.

Returns
true if the 'startTime' attribute was set.

◆ has_status()

bool google_dns_api::Change::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ mutable_additions()

client::JsonCppArray<ResourceRecordSet > google_dns_api::Change::mutable_additions ( )

Gets a reference to a mutable value of the 'additions' property.

Which ResourceRecordSets to add?.

Returns
The result can be modified to change the attribute value.

◆ mutable_deletions()

client::JsonCppArray<ResourceRecordSet > google_dns_api::Change::mutable_deletions ( )

Gets a reference to a mutable value of the 'deletions' property.

Which ResourceRecordSets to remove? Must match existing data exactly.

Returns
The result can be modified to change the attribute value.

◆ New()

Change * google_dns_api::Change::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

void google_dns_api::Change::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Unique identifier for the resource; defined by the server (output only).

Parameters
[in]valueThe new value.

◆ set_is_serving()

void google_dns_api::Change::set_is_serving ( bool  value)
inline

Change the 'isServing' attribute.

If the DNS queries for the zone will be served.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_dns_api::Change::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies what kind of resource this is. Value: the fixed string "dns#change".

Parameters
[in]valueThe new value.

◆ set_start_time()

void google_dns_api::Change::set_start_time ( const StringPiece &  value)
inline

Change the 'startTime' attribute.

The time that this operation was started by the server (output only). This is in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_status()

void google_dns_api::Change::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.

Parameters
[in]valueThe new value.

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