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
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ amount
int|string
The number of licenses you plan to purchase.
↳ cores_per_license
string
The number of cores per license.
↳ license
string
The applicable license URI.
getAmount
The number of licenses you plan to purchase.
int|string
hasAmount
clearAmount
setAmount
The number of licenses you plan to purchase.
var
int|string
$this
getCoresPerLicense
The number of cores per license.
string
hasCoresPerLicense
clearCoresPerLicense
setCoresPerLicense
The number of cores per license.
var
string
$this
getLicense
The applicable license URI.
string
hasLicense
clearLicense
setLicense
The applicable license URI.
var
string
$this