Class: Google::Apis::ComputeV1::Help

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Help

Returns a new instance of Help.



12098
12099
12100
# File 'lib/google/apis/compute_v1/classes.rb', line 12098

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

URL(s) pointing to additional information on handling the current error. Corresponds to the JSON property links



12096
12097
12098
# File 'lib/google/apis/compute_v1/classes.rb', line 12096

def links
  @links
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12103
12104
12105
# File 'lib/google/apis/compute_v1/classes.rb', line 12103

def update!(**args)
  @links = args[:links] if args.key?(:links)
end