Reference documentation and code samples for the Compute V1 Client class LicenseResourceRequirements.
Generated from protobuf message google.cloud.compute.v1.LicenseResourceRequirements
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min_guest_cpu_count |
int
Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. |
↳ min_memory_mb |
int
Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. |
getMinGuestCpuCount
Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
Generated from protobuf field optional int32 min_guest_cpu_count = 477964836;
Returns | |
---|---|
Type | Description |
int |
hasMinGuestCpuCount
clearMinGuestCpuCount
setMinGuestCpuCount
Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
Generated from protobuf field optional int32 min_guest_cpu_count = 477964836;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMinMemoryMb
Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
Generated from protobuf field optional int32 min_memory_mb = 504785894;
Returns | |
---|---|
Type | Description |
int |
hasMinMemoryMb
clearMinMemoryMb
setMinMemoryMb
Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
Generated from protobuf field optional int32 min_memory_mb = 504785894;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |