Class: Google::Apis::ComputeV1::TestFailure
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::TestFailure
- 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
-
#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.
32630 32631 32632 |
# File 'generated/google/apis/compute_v1/classes.rb', line 32630 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
32612 32613 32614 |
# File 'generated/google/apis/compute_v1/classes.rb', line 32612 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
32618 32619 32620 |
# File 'generated/google/apis/compute_v1/classes.rb', line 32618 def expected_service @expected_service end |
#host ⇒ String
Host portion of the URL.
Corresponds to the JSON property host
32623 32624 32625 |
# File 'generated/google/apis/compute_v1/classes.rb', line 32623 def host @host end |
#path ⇒ String
Path portion including query parameters in the URL.
Corresponds to the JSON property path
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 |