#include <accelerator_config.h>
AcceleratorConfig represents a Hardware Accelerator request.
◆ AcceleratorConfig() [1/2]
google_container_api::AcceleratorConfig::AcceleratorConfig |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AcceleratorConfig() [2/2]
google_container_api::AcceleratorConfig::AcceleratorConfig |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AcceleratorConfig()
google_container_api::AcceleratorConfig::~AcceleratorConfig |
( |
| ) |
|
|
virtual |
◆ clear_accelerator_count()
void google_container_api::AcceleratorConfig::clear_accelerator_count |
( |
| ) |
|
|
inline |
Clears the 'acceleratorCount
' attribute.
◆ clear_accelerator_type()
void google_container_api::AcceleratorConfig::clear_accelerator_type |
( |
| ) |
|
|
inline |
Clears the 'acceleratorType
' attribute.
◆ get_accelerator_count()
int64 google_container_api::AcceleratorConfig::get_accelerator_count |
( |
| ) |
const |
|
inline |
Get the value of the 'acceleratorCount
' attribute.
◆ get_accelerator_type()
const StringPiece google_container_api::AcceleratorConfig::get_accelerator_type |
( |
| ) |
const |
|
inline |
Get the value of the 'acceleratorType
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::AcceleratorConfig::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_accelerator_count()
bool google_container_api::AcceleratorConfig::has_accelerator_count |
( |
| ) |
const |
|
inline |
Determine if the 'acceleratorCount
' attribute was set.
- Returns
- true if the '
acceleratorCount
' attribute was set.
◆ has_accelerator_type()
bool google_container_api::AcceleratorConfig::has_accelerator_type |
( |
| ) |
const |
|
inline |
Determine if the 'acceleratorType
' attribute was set.
- Returns
- true if the '
acceleratorType
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_accelerator_count()
void google_container_api::AcceleratorConfig::set_accelerator_count |
( |
int64 |
value | ) |
|
|
inline |
Change the 'acceleratorCount
' attribute.
The number of the accelerator cards exposed to an instance.
- Parameters
-
◆ set_accelerator_type()
void google_container_api::AcceleratorConfig::set_accelerator_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'acceleratorType
' attribute.
The accelerator type resource name. List of supported accelerators here.
- Parameters
-
The documentation for this class was generated from the following files: