Class: Google::Apis::ComputeAlpha::TestFailure

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



24456
24457
24458
# File 'generated/google/apis/compute_alpha/classes.rb', line 24456

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

Instance Attribute Details

#actual_serviceString

Corresponds to the JSON property actualService

Returns:

  • (String)


24439
24440
24441
# File 'generated/google/apis/compute_alpha/classes.rb', line 24439

def actual_service
  @actual_service
end

#expected_serviceString

Corresponds to the JSON property expectedService

Returns:

  • (String)


24444
24445
24446
# File 'generated/google/apis/compute_alpha/classes.rb', line 24444

def expected_service
  @expected_service
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


24449
24450
24451
# File 'generated/google/apis/compute_alpha/classes.rb', line 24449

def host
  @host
end

#pathString

Corresponds to the JSON property path

Returns:

  • (String)


24454
24455
24456
# File 'generated/google/apis/compute_alpha/classes.rb', line 24454

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24461
24462
24463
24464
24465
24466
# File 'generated/google/apis/compute_alpha/classes.rb', line 24461

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