Class: Google::Apis::ComputeBeta::TestFailure

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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.



32582
32583
32584
# File 'generated/google/apis/compute_beta/classes.rb', line 32582

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

Instance Attribute Details

#actual_serviceString

Corresponds to the JSON property actualService

Returns:

  • (String)


32565
32566
32567
# File 'generated/google/apis/compute_beta/classes.rb', line 32565

def actual_service
  @actual_service
end

#expected_serviceString

Corresponds to the JSON property expectedService

Returns:

  • (String)


32570
32571
32572
# File 'generated/google/apis/compute_beta/classes.rb', line 32570

def expected_service
  @expected_service
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


32575
32576
32577
# File 'generated/google/apis/compute_beta/classes.rb', line 32575

def host
  @host
end

#pathString

Corresponds to the JSON property path

Returns:

  • (String)


32580
32581
32582
# File 'generated/google/apis/compute_beta/classes.rb', line 32580

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32587
32588
32589
32590
32591
32592
# File 'generated/google/apis/compute_beta/classes.rb', line 32587

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