Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::LicenseResourceCommitment.
Commitment for a particular license resource.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#amount
def amount() -> ::Integer Returns 
 - (::Integer) — The number of licenses you plan to purchase.
 
#amount=
def amount=(value) -> ::Integer Parameter 
 - value (::Integer) — The number of licenses you plan to purchase.
 
 Returns 
 - (::Integer) — The number of licenses you plan to purchase.
 
#cores_per_license
def cores_per_license() -> ::String Returns 
 - (::String) — The number of cores per license.
 
#cores_per_license=
def cores_per_license=(value) -> ::String Parameter 
 - value (::String) — The number of cores per license.
 
 Returns 
 - (::String) — The number of cores per license.
 
#license
def license() -> ::String Returns 
 - (::String) — The applicable license URI.
 
#license=
def license=(value) -> ::String Parameter 
 - value (::String) — The applicable license URI.
 
 Returns 
 - (::String) — The applicable license URI.