Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::LicenseResourceCommitment (v2.3.0)

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

#amount=

def amount=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of licenses purchased.
Returns
  • (::Integer) — The number of licenses purchased.

#cores_per_license

def cores_per_license() -> ::String
Returns
  • (::String) — Specifies the core range of the instance for which this license applies.

#cores_per_license=

def cores_per_license=(value) -> ::String
Parameter
  • value (::String) — Specifies the core range of the instance for which this license applies.
Returns
  • (::String) — Specifies the core range of the instance for which this license applies.

#license

def license() -> ::String
Returns
  • (::String) — Any applicable license URI.

#license=

def license=(value) -> ::String
Parameter
  • value (::String) — Any applicable license URI.
Returns
  • (::String) — Any applicable license URI.