Compute V1 Client - Class LicenseResourceRequirements (1.9.1)

Reference documentation and code samples for the Compute V1 Client class LicenseResourceRequirements.

Generated from protobuf message google.cloud.compute.v1.LicenseResourceRequirements

Namespace

Google \ Cloud \ Compute \ V1

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.

Returns
TypeDescription
int

hasMinGuestCpuCount

clearMinGuestCpuCount

setMinGuestCpuCount

Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMinMemoryMb

Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.

Returns
TypeDescription
int

hasMinMemoryMb

clearMinMemoryMb

setMinMemoryMb

Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.

Parameter
NameDescription
var int
Returns
TypeDescription
$this