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



25289
25290
25291
# File 'generated/google/apis/compute_v1/classes.rb', line 25289

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

Instance Attribute Details

#actual_serviceString

Corresponds to the JSON property actualService

Returns:

  • (String)


25272
25273
25274
# File 'generated/google/apis/compute_v1/classes.rb', line 25272

def actual_service
  @actual_service
end

#expected_serviceString

Corresponds to the JSON property expectedService

Returns:

  • (String)


25277
25278
25279
# File 'generated/google/apis/compute_v1/classes.rb', line 25277

def expected_service
  @expected_service
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


25282
25283
25284
# File 'generated/google/apis/compute_v1/classes.rb', line 25282

def host
  @host
end

#pathString

Corresponds to the JSON property path

Returns:

  • (String)


25287
25288
25289
# File 'generated/google/apis/compute_v1/classes.rb', line 25287

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25294
25295
25296
25297
25298
25299
# File 'generated/google/apis/compute_v1/classes.rb', line 25294

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