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

#include <operation.h>

Inheritance diagram for google_dns_api::Operation:

Public Member Functions

 Operation (const Json::Value &storage)
 
 Operation (Json::Value *storage)
 
virtual ~Operation ()
 
const StringPiece GetTypeName () const
 
bool has_dns_key_context () const
 
void clear_dns_key_context ()
 
const OperationDnsKeyContext get_dns_key_context () const
 
OperationDnsKeyContext mutable_dnsKeyContext ()
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &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)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 
bool has_user () const
 
void clear_user ()
 
const StringPiece get_user () const
 
void set_user (const StringPiece &value)
 
bool has_zone_context () const
 
void clear_zone_context ()
 
const OperationManagedZoneContext get_zone_context () const
 
OperationManagedZoneContext mutable_zoneContext ()
 

Static Public Member Functions

static OperationNew ()
 

Detailed Description

An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.

Constructor & Destructor Documentation

◆ Operation() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Operation() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Operation()

google_dns_api::Operation::~Operation ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_dns_key_context()

void google_dns_api::Operation::clear_dns_key_context ( )
inline

Clears the 'dnsKeyContext' attribute.

◆ clear_id()

void google_dns_api::Operation::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_dns_api::Operation::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_start_time()

void google_dns_api::Operation::clear_start_time ( )
inline

Clears the 'startTime' attribute.

◆ clear_status()

void google_dns_api::Operation::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_type()

void google_dns_api::Operation::clear_type ( )
inline

Clears the 'type' attribute.

◆ clear_user()

void google_dns_api::Operation::clear_user ( )
inline

Clears the 'user' attribute.

◆ clear_zone_context()

void google_dns_api::Operation::clear_zone_context ( )
inline

Clears the 'zoneContext' attribute.

◆ get_dns_key_context()

const OperationDnsKeyContext google_dns_api::Operation::get_dns_key_context ( ) const

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

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_start_time()

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

Get the value of the 'startTime' attribute.

◆ get_status()

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

Get the value of the 'status' attribute.

◆ get_type()

const StringPiece google_dns_api::Operation::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ get_user()

const StringPiece google_dns_api::Operation::get_user ( ) const
inline

Get the value of the 'user' attribute.

◆ get_zone_context()

const OperationManagedZoneContext google_dns_api::Operation::get_zone_context ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dns_api::Operation

◆ has_dns_key_context()

bool google_dns_api::Operation::has_dns_key_context ( ) const
inline

Determine if the 'dnsKeyContext' attribute was set.

Returns
true if the 'dnsKeyContext' attribute was set.

◆ has_id()

bool google_dns_api::Operation::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::Operation::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::Operation::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::Operation::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_type()

bool google_dns_api::Operation::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ has_user()

bool google_dns_api::Operation::has_user ( ) const
inline

Determine if the 'user' attribute was set.

Returns
true if the 'user' attribute was set.

◆ has_zone_context()

bool google_dns_api::Operation::has_zone_context ( ) const
inline

Determine if the 'zoneContext' attribute was set.

Returns
true if the 'zoneContext' attribute was set.

◆ mutable_dnsKeyContext()

OperationDnsKeyContext google_dns_api::Operation::mutable_dnsKeyContext ( )

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

Only populated if the operation targeted a DnsKey (output only).

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

◆ mutable_zoneContext()

OperationManagedZoneContext google_dns_api::Operation::mutable_zoneContext ( )

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

Only populated if the operation targeted a ManagedZone (output only).

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

◆ New()

Operation * google_dns_api::Operation::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

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

Change the 'id' attribute.

Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only).

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_start_time()

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

Change the 'startTime' attribute.

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

Parameters
[in]valueThe new value.

◆ set_status()

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

Change the 'status' attribute.

Status of the operation. Can be one of the following: "PENDING" or "DONE" (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.

◆ set_type()

void google_dns_api::Operation::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

Type of the operation. Operations include insert, update, and delete (output only).

Parameters
[in]valueThe new value.

◆ set_user()

void google_dns_api::Operation::set_user ( const StringPiece &  value)
inline

Change the 'user' attribute.

User who requested the operation, for example: user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om. cloud-dns- system for operations automatically done by the system. (output only).

Parameters
[in]valueThe new value.

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