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

#include <project.h>

Inheritance diagram for google_dns_api::Project:

Public Member Functions

 Project (const Json::Value &storage)
 
 Project (Json::Value *storage)
 
virtual ~Project ()
 
const StringPiece GetTypeName () const
 
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_number () const
 
void clear_number ()
 
uint64 get_number () const
 
void set_number (uint64 value)
 
bool has_quota () const
 
void clear_quota ()
 
const Quota get_quota () const
 
Quota mutable_quota ()
 

Static Public Member Functions

static ProjectNew ()
 

Detailed Description

A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.

Constructor & Destructor Documentation

◆ Project() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Project() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Project()

google_dns_api::Project::~Project ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_id()

void google_dns_api::Project::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_dns_api::Project::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_number()

void google_dns_api::Project::clear_number ( )
inline

Clears the 'number' attribute.

◆ clear_quota()

void google_dns_api::Project::clear_quota ( )
inline

Clears the 'quota' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_number()

uint64 google_dns_api::Project::get_number ( ) const
inline

Get the value of the 'number' attribute.

◆ get_quota()

const Quota google_dns_api::Project::get_quota ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dns_api::Project

◆ has_id()

bool google_dns_api::Project::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::Project::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_number()

bool google_dns_api::Project::has_number ( ) const
inline

Determine if the 'number' attribute was set.

Returns
true if the 'number' attribute was set.

◆ has_quota()

bool google_dns_api::Project::has_quota ( ) const
inline

Determine if the 'quota' attribute was set.

Returns
true if the 'quota' attribute was set.

◆ mutable_quota()

Quota google_dns_api::Project::mutable_quota ( )

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

Quotas assigned to this project (output only).

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

◆ New()

Project * google_dns_api::Project::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

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

Change the 'id' attribute.

User assigned unique identifier for the resource (output only).

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_number()

void google_dns_api::Project::set_number ( uint64  value)
inline

Change the 'number' attribute.

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

Parameters
[in]valueThe new value.

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