cloudbilling  v1
Public Member Functions | Static Public Member Functions | List of all members
google_cloudbilling_api::Sku Class Reference

#include <sku.h>

Inheritance diagram for google_cloudbilling_api::Sku:

Public Member Functions

 Sku (const Json::Value &storage)
 
 Sku (Json::Value *storage)
 
virtual ~Sku ()
 
const StringPiece GetTypeName () const
 
bool has_category () const
 
void clear_category ()
 
const Category get_category () const
 
Category mutable_category ()
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_pricing_info () const
 
void clear_pricing_info ()
 
const client::JsonCppArray< PricingInfoget_pricing_info () const
 
client::JsonCppArray< PricingInfomutable_pricingInfo ()
 
bool has_service_provider_name () const
 
void clear_service_provider_name ()
 
const StringPiece get_service_provider_name () const
 
void set_service_provider_name (const StringPiece &value)
 
bool has_service_regions () const
 
void clear_service_regions ()
 
const client::JsonCppArray< string > get_service_regions () const
 
client::JsonCppArray< string > mutable_serviceRegions ()
 
bool has_sku_id () const
 
void clear_sku_id ()
 
const StringPiece get_sku_id () const
 
void set_sku_id (const StringPiece &value)
 

Static Public Member Functions

static SkuNew ()
 

Detailed Description

Encapsulates a single SKU in Google Cloud Platform.

Constructor & Destructor Documentation

◆ Sku() [1/2]

google_cloudbilling_api::Sku::Sku ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Sku() [2/2]

google_cloudbilling_api::Sku::Sku ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Sku()

google_cloudbilling_api::Sku::~Sku ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_category()

void google_cloudbilling_api::Sku::clear_category ( )
inline

Clears the 'category' attribute.

◆ clear_description()

void google_cloudbilling_api::Sku::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_name()

void google_cloudbilling_api::Sku::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_pricing_info()

void google_cloudbilling_api::Sku::clear_pricing_info ( )
inline

Clears the 'pricingInfo' attribute.

◆ clear_service_provider_name()

void google_cloudbilling_api::Sku::clear_service_provider_name ( )
inline

Clears the 'serviceProviderName' attribute.

◆ clear_service_regions()

void google_cloudbilling_api::Sku::clear_service_regions ( )
inline

Clears the 'serviceRegions' attribute.

◆ clear_sku_id()

void google_cloudbilling_api::Sku::clear_sku_id ( )
inline

Clears the 'skuId' attribute.

◆ get_category()

const Category google_cloudbilling_api::Sku::get_category ( ) const

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

◆ get_description()

const StringPiece google_cloudbilling_api::Sku::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_name()

const StringPiece google_cloudbilling_api::Sku::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_pricing_info()

const client::JsonCppArray<PricingInfo > google_cloudbilling_api::Sku::get_pricing_info ( ) const

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

◆ get_service_provider_name()

const StringPiece google_cloudbilling_api::Sku::get_service_provider_name ( ) const
inline

Get the value of the 'serviceProviderName' attribute.

◆ get_service_regions()

const client::JsonCppArray<string > google_cloudbilling_api::Sku::get_service_regions ( ) const
inline

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

◆ get_sku_id()

const StringPiece google_cloudbilling_api::Sku::get_sku_id ( ) const
inline

Get the value of the 'skuId' attribute.

◆ GetTypeName()

const StringPiece google_cloudbilling_api::Sku::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_cloudbilling_api::Sku

◆ has_category()

bool google_cloudbilling_api::Sku::has_category ( ) const
inline

Determine if the 'category' attribute was set.

Returns
true if the 'category' attribute was set.

◆ has_description()

bool google_cloudbilling_api::Sku::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_name()

bool google_cloudbilling_api::Sku::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_pricing_info()

bool google_cloudbilling_api::Sku::has_pricing_info ( ) const
inline

Determine if the 'pricingInfo' attribute was set.

Returns
true if the 'pricingInfo' attribute was set.

◆ has_service_provider_name()

bool google_cloudbilling_api::Sku::has_service_provider_name ( ) const
inline

Determine if the 'serviceProviderName' attribute was set.

Returns
true if the 'serviceProviderName' attribute was set.

◆ has_service_regions()

bool google_cloudbilling_api::Sku::has_service_regions ( ) const
inline

Determine if the 'serviceRegions' attribute was set.

Returns
true if the 'serviceRegions' attribute was set.

◆ has_sku_id()

bool google_cloudbilling_api::Sku::has_sku_id ( ) const
inline

Determine if the 'skuId' attribute was set.

Returns
true if the 'skuId' attribute was set.

◆ mutable_category()

Category google_cloudbilling_api::Sku::mutable_category ( )

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

The category hierarchy of this SKU, purely for organizational purpose.

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

◆ mutable_pricingInfo()

client::JsonCppArray<PricingInfo > google_cloudbilling_api::Sku::mutable_pricingInfo ( )

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

A timeline of pricing info for this SKU in chronological order.

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

◆ mutable_serviceRegions()

client::JsonCppArray<string > google_cloudbilling_api::Sku::mutable_serviceRegions ( )
inline

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

List of service regions this SKU is offered at. Example: "asia-east1"

Service regions can be found at https://cloud.google.com/about/locations/.

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

◆ New()

Sku * google_cloudbilling_api::Sku::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

void google_cloudbilling_api::Sku::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

A human readable description of the SKU, has a maximum length of 256 characters.

Parameters
[in]valueThe new value.

◆ set_name()

void google_cloudbilling_api::Sku::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE".

Parameters
[in]valueThe new value.

◆ set_service_provider_name()

void google_cloudbilling_api::Sku::set_service_provider_name ( const StringPiece &  value)
inline

Change the 'serviceProviderName' attribute.

Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.

Parameters
[in]valueThe new value.

◆ set_sku_id()

void google_cloudbilling_api::Sku::set_sku_id ( const StringPiece &  value)
inline

Change the 'skuId' attribute.

The identifier for the SKU. Example: "AA95-CD31-42FE".

Parameters
[in]valueThe new value.

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