Compute V1 Client - Class LicenseResourceRequirements (1.20.0)

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
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.

Returns
Type Description
int

hasMinGuestCpuCount

clearMinGuestCpuCount

setMinGuestCpuCount

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

Parameter
Name Description
var int
Returns
Type Description
$this

getMinMemoryMb

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

Returns
Type Description
int

hasMinMemoryMb

clearMinMemoryMb

setMinMemoryMb

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

Parameter
Name Description
var int
Returns
Type Description
$this