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

Constructor Details

#initialize(**args) ⇒ TestFailure

Returns a new instance of TestFailure.



35521
35522
35523
# File 'generated/google/apis/compute_beta/classes.rb', line 35521

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

Instance Attribute Details

#actual_serviceString

BackendService or BackendBucket returned by load balancer. Corresponds to the JSON property actualService

Returns:

  • (String)


35503
35504
35505
# File 'generated/google/apis/compute_beta/classes.rb', line 35503

def actual_service
  @actual_service
end

#expected_serviceString

Expected BackendService or BackendBucket resource the given URL should be mapped to. Corresponds to the JSON property expectedService

Returns:

  • (String)


35509
35510
35511
# File 'generated/google/apis/compute_beta/classes.rb', line 35509

def expected_service
  @expected_service
end

#hostString

Host portion of the URL. Corresponds to the JSON property host

Returns:

  • (String)


35514
35515
35516
# File 'generated/google/apis/compute_beta/classes.rb', line 35514

def host
  @host
end

#pathString

Path portion including query parameters in the URL. Corresponds to the JSON property path

Returns:

  • (String)


35519
35520
35521
# File 'generated/google/apis/compute_beta/classes.rb', line 35519

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35526
35527
35528
35529
35530
35531
# File 'generated/google/apis/compute_beta/classes.rb', line 35526

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