Class: Google::Apis::ComputeV1::TestFailure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TestFailure

Returns a new instance of TestFailure



12116
12117
12118
# File 'generated/google/apis/compute_v1/classes.rb', line 12116

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

Instance Attribute Details

#actual_serviceString

Corresponds to the JSON property actualService

Returns:

  • (String)


12099
12100
12101
# File 'generated/google/apis/compute_v1/classes.rb', line 12099

def actual_service
  @actual_service
end

#expected_serviceString

Corresponds to the JSON property expectedService

Returns:

  • (String)


12104
12105
12106
# File 'generated/google/apis/compute_v1/classes.rb', line 12104

def expected_service
  @expected_service
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


12109
12110
12111
# File 'generated/google/apis/compute_v1/classes.rb', line 12109

def host
  @host
end

#pathString

Corresponds to the JSON property path

Returns:

  • (String)


12114
12115
12116
# File 'generated/google/apis/compute_v1/classes.rb', line 12114

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12121
12122
12123
12124
12125
12126
# File 'generated/google/apis/compute_v1/classes.rb', line 12121

def update!(**args)
  @actual_service = args[:actual_service] if args.key?(:actual_service)
  @expected_service = args[:expected_service] if args.key?(:expected_service)
  @host = args[:host] if args.key?(:host)
  @path = args[:path] if args.key?(:path)
end