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

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

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


415
416
417
# File 'generated/google/apis/run_v1beta1/classes.rb', line 415

def description
  @description
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


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