Reference documentation and code samples for the Compute V1 Client class LicenseResourceCommitment.
Commitment for a particular license resource.
Generated from protobuf message google.cloud.compute.v1.LicenseResourceCommitment
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ amount
int|string
The number of licenses purchased.
↳ cores_per_license
string
Specifies the core range of the instance for which this license applies.
↳ license
string
Any applicable license URI.
getAmount
The number of licenses purchased.
int|string
hasAmount
clearAmount
setAmount
The number of licenses purchased.
var
int|string
$this
getCoresPerLicense
Specifies the core range of the instance for which this license applies.
string
hasCoresPerLicense
clearCoresPerLicense
setCoresPerLicense
Specifies the core range of the instance for which this license applies.
var
string
$this
getLicense
Any applicable license URI.
string
hasLicense
clearLicense
setLicense
Any applicable license URI.
var
string
$this