Class: Google::Apis::RunV1beta1::ExternalDocumentation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


429
430
431
# File 'generated/google/apis/run_v1beta1/classes.rb', line 429

def description
  @description
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


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