#include <change.h>
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.
◆ Change() [1/2]
google_dns_api::Change::Change |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Change()
google_dns_api::Change::~Change |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/dns_api/change.h
- google/dns_api/change.cc