Compute V1 Client - Class LicenseResourceRequirements (1.5.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this