Class: Google::Apis::RunV1beta1::ExternalDocumentation
- Inherits:
-
Object
- Object
- Google::Apis::RunV1beta1::ExternalDocumentation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1beta1/classes.rb,
generated/google/apis/run_v1beta1/representations.rb,
generated/google/apis/run_v1beta1/representations.rb
Overview
ExternalDocumentation allows referencing an external resource for extended documentation.
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description
. -
#url ⇒ String
Corresponds to the JSON property
url
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalDocumentation
constructor
A new instance of ExternalDocumentation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExternalDocumentation
Returns a new instance of ExternalDocumentation.
436 437 438 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
429 430 431 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 429 def description @description end |
#url ⇒ String
Corresponds to the JSON property url
434 435 436 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 434 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
441 442 443 444 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 441 def update!(**args) @description = args[:description] if args.key?(:description) @url = args[:url] if args.key?(:url) end |