Class: Google::Apis::ComputeBeta::License
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::License
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
A license resource.
Instance Attribute Summary collapse
-
#charges_use_fee ⇒ Boolean
(also: #charges_use_fee?)
[Output Only] If true, the customer will be charged license fee for running software that contains this license on an instance.
-
#kind ⇒ String
[Output Only] Type of resource.
-
#name ⇒ String
[Output Only] Name of the resource.
-
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ License
constructor
A new instance of License.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ License
Returns a new instance of License
6983 6984 6985 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6983 def initialize(**args) update!(**args) end |
Instance Attribute Details
#charges_use_fee ⇒ Boolean Also known as: charges_use_fee?
[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
6964 6965 6966 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6964 def charges_use_fee @charges_use_fee end |
#kind ⇒ String
[Output Only] Type of resource. Always compute#license for licenses.
Corresponds to the JSON property kind
6970 6971 6972 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6970 def kind @kind end |
#name ⇒ String
[Output Only] Name of the resource. The name is 1-63 characters long and
complies with RFC1035.
Corresponds to the JSON property name
6976 6977 6978 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6976 def name @name end |
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
6981 6982 6983 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6981 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6988 6989 6990 6991 6992 6993 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6988 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 |