class Google::Apis::ComputeBeta::License

A license resource.

Attributes

charges_use_fee[RW]
Output Only

If true, the customer will be charged license fee for running

software that contains this license on an instance. Corresponds to the JSON property `chargesUseFee` @return [Boolean]

charges_use_fee?[RW]
Output Only

If true, the customer will be charged license fee for running

software that contains this license on an instance. Corresponds to the JSON property `chargesUseFee` @return [Boolean]

kind[RW]
Output Only

Type of resource. Always compute#license for licenses.

Corresponds to the JSON property `kind` @return [String]

name[RW]
Output Only

Name of the resource. The name is 1-63 characters long and

complies with RFC1035. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_beta/classes.rb, line 4887
def update!(**args)
  @charges_use_fee = args[:charges_use_fee] if args.key?(:charges_use_fee)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @self_link = args[:self_link] if args.key?(:self_link)
end