class Google::Apis::ComputeV1::LicenseResourceCommitment

Commitment for a particular license resource.

Attributes

amount[RW]

The number of licenses purchased. Corresponds to the JSON property `amount` @return [Fixnum]

cores_per_license[RW]

Specifies the core range of the instance for which this license applies. Corresponds to the JSON property `coresPerLicense` @return [String]

license[RW]

Any applicable license URI. Corresponds to the JSON property `license` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 17847
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 17852
def update!(**args)
  @amount = args[:amount] if args.key?(:amount)
  @cores_per_license = args[:cores_per_license] if args.key?(:cores_per_license)
  @license = args[:license] if args.key?(:license)
end