cloudbilling
v1
|
#include <sku.h>
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< PricingInfo > | get_pricing_info () const |
client::JsonCppArray< PricingInfo > | mutable_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 Sku * | New () |
Encapsulates a single SKU in Google Cloud Platform.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'category
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'pricingInfo
' attribute.
|
inline |
Clears the 'serviceProviderName
' attribute.
|
inline |
Clears the 'serviceRegions
' attribute.
|
inline |
Clears the 'skuId
' attribute.
const Category google_cloudbilling_api::Sku::get_category | ( | ) | const |
Get a reference to the value of the 'category
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'name
' attribute.
const client::JsonCppArray<PricingInfo > google_cloudbilling_api::Sku::get_pricing_info | ( | ) | const |
Get a reference to the value of the 'pricingInfo
' attribute.
|
inline |
Get the value of the 'serviceProviderName
' attribute.
|
inline |
Get a reference to the value of the 'serviceRegions
' attribute.
|
inline |
Get the value of the 'skuId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_cloudbilling_api::Sku
|
inline |
Determine if the 'category
' attribute was set.
category
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'pricingInfo
' attribute was set.
pricingInfo
' attribute was set.
|
inline |
Determine if the 'serviceProviderName
' attribute was set.
serviceProviderName
' attribute was set.
|
inline |
Determine if the 'serviceRegions
' attribute was set.
serviceRegions
' attribute was set.
|
inline |
Determine if the 'skuId
' attribute was set.
skuId
' attribute was set. 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.
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.
|
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/.
|
static |
Creates a new default instance.
|
inline |
Change the 'description
' attribute.
A human readable description of the SKU, has a maximum length of 256 characters.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE".
[in] | value | The new value. |
|
inline |
Change the 'serviceProviderName
' attribute.
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
[in] | value | The new value. |
|
inline |
Change the 'skuId
' attribute.
The identifier for the SKU. Example: "AA95-CD31-42FE".
[in] | value | The new value. |