#include <license_resource_requirements.h>
◆ LicenseResourceRequirements() [1/2]
google_compute_api::LicenseResourceRequirements::LicenseResourceRequirements |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ LicenseResourceRequirements() [2/2]
google_compute_api::LicenseResourceRequirements::LicenseResourceRequirements |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~LicenseResourceRequirements()
google_compute_api::LicenseResourceRequirements::~LicenseResourceRequirements |
( |
| ) |
|
|
virtual |
◆ clear_min_guest_cpu_count()
void google_compute_api::LicenseResourceRequirements::clear_min_guest_cpu_count |
( |
| ) |
|
|
inline |
Clears the 'minGuestCpuCount
' attribute.
◆ clear_min_memory_mb()
void google_compute_api::LicenseResourceRequirements::clear_min_memory_mb |
( |
| ) |
|
|
inline |
Clears the 'minMemoryMb
' attribute.
◆ get_min_guest_cpu_count()
int32 google_compute_api::LicenseResourceRequirements::get_min_guest_cpu_count |
( |
| ) |
const |
|
inline |
Get the value of the 'minGuestCpuCount
' attribute.
◆ get_min_memory_mb()
int32 google_compute_api::LicenseResourceRequirements::get_min_memory_mb |
( |
| ) |
const |
|
inline |
Get the value of the 'minMemoryMb
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::LicenseResourceRequirements::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_min_guest_cpu_count()
bool google_compute_api::LicenseResourceRequirements::has_min_guest_cpu_count |
( |
| ) |
const |
|
inline |
Determine if the 'minGuestCpuCount
' attribute was set.
- Returns
- true if the '
minGuestCpuCount
' attribute was set.
◆ has_min_memory_mb()
bool google_compute_api::LicenseResourceRequirements::has_min_memory_mb |
( |
| ) |
const |
|
inline |
Determine if the 'minMemoryMb
' attribute was set.
- Returns
- true if the '
minMemoryMb
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_min_guest_cpu_count()
void google_compute_api::LicenseResourceRequirements::set_min_guest_cpu_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'minGuestCpuCount
' attribute.
Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
- Parameters
-
◆ set_min_memory_mb()
void google_compute_api::LicenseResourceRequirements::set_min_memory_mb |
( |
int32 |
value | ) |
|
|
inline |
Change the 'minMemoryMb
' attribute.
Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
- Parameters
-
The documentation for this class was generated from the following files: