Class: Google::Apis::ComputeBeta::LicenseCodeLicenseAlias
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::LicenseCodeLicenseAlias
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#self_link ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicenseCodeLicenseAlias
constructor
A new instance of LicenseCodeLicenseAlias.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LicenseCodeLicenseAlias
Returns a new instance of LicenseCodeLicenseAlias.
35387 35388 35389 |
# File 'lib/google/apis/compute_beta/classes.rb', line 35387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. [Output Only] Description of this License Code.
Corresponds to the JSON property description
35380 35381 35382 |
# File 'lib/google/apis/compute_beta/classes.rb', line 35380 def description @description end |
#self_link ⇒ String
Output only. [Output Only] URL of license corresponding to this License Code.
Corresponds to the JSON property selfLink
35385 35386 35387 |
# File 'lib/google/apis/compute_beta/classes.rb', line 35385 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35392 35393 35394 35395 |
# File 'lib/google/apis/compute_beta/classes.rb', line 35392 def update!(**args) @description = args[:description] if args.key?(:description) @self_link = args[:self_link] if args.key?(:self_link) end |