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.
Constructor Details
#initialize(**args) ⇒ ExternalDocumentation
Returns a new instance of ExternalDocumentation.
422 423 424 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
415 416 417 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 415 def description @description end |
#url ⇒ String
Corresponds to the JSON property url
420 421 422 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 420 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
427 428 429 430 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 427 def update!(**args) @description = args[:description] if args.key?(:description) @url = args[:url] if args.key?(:url) end |