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

Constructor Details

#initialize(**args) ⇒ TestFailure

Returns a new instance of TestFailure.



32630
32631
32632
# File 'generated/google/apis/compute_v1/classes.rb', line 32630

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)


32612
32613
32614
# File 'generated/google/apis/compute_v1/classes.rb', line 32612

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)


32618
32619
32620
# File 'generated/google/apis/compute_v1/classes.rb', line 32618

def expected_service
  @expected_service
end

#hostString

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

Returns:

  • (String)


32623
32624
32625
# File 'generated/google/apis/compute_v1/classes.rb', line 32623

def host
  @host
end

#pathString

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

Returns:

  • (String)


32628
32629
32630
# File 'generated/google/apis/compute_v1/classes.rb', line 32628

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32635
32636
32637
32638
32639
32640
# File 'generated/google/apis/compute_v1/classes.rb', line 32635

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