class Google::Apis::ComputeV1::License
A license resource.
Attributes
- 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]
- 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]
- Output Only
-
Type of resource. Always compute#license for licenses.
Corresponds to the JSON property `kind` @return [String]
- 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]
- Output Only
-
Server-defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
# File generated/google/apis/compute_v1/classes.rb, line 4596 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/compute_v1/classes.rb, line 4601 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