Class: Google::Apis::ComputeBeta::TestFailure
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::TestFailure
- 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
-
#actual_service ⇒ String
BackendService or BackendBucket returned by load balancer.
-
#expected_service ⇒ String
Expected BackendService or BackendBucket resource the given URL should be mapped to.
-
#host ⇒ String
Host portion of the URL.
-
#path ⇒ String
Path portion including query parameters in the URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestFailure
constructor
A new instance of TestFailure.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_service ⇒ String
BackendService or BackendBucket returned by load balancer.
Corresponds to the JSON property actualService
35503 35504 35505 |
# File 'generated/google/apis/compute_beta/classes.rb', line 35503 def actual_service @actual_service end |
#expected_service ⇒ String
Expected BackendService or BackendBucket resource the given URL should be
mapped to.
Corresponds to the JSON property expectedService
35509 35510 35511 |
# File 'generated/google/apis/compute_beta/classes.rb', line 35509 def expected_service @expected_service end |
#host ⇒ String
Host portion of the URL.
Corresponds to the JSON property host
35514 35515 35516 |
# File 'generated/google/apis/compute_beta/classes.rb', line 35514 def host @host end |
#path ⇒ String
Path portion including query parameters in the URL.
Corresponds to the JSON property path
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 |