class Google::Apis::ComputeBeta::TestFailure

Attributes

actual_output_url[RW]

The actual output URL evaluated by load balancer containing the scheme, host, path and query parameters. Corresponds to the JSON property `actualOutputUrl` @return [String]

actual_redirect_response_code[RW]

Actual HTTP status code for rule with `urlRedirect` calculated by load balancer Corresponds to the JSON property `actualRedirectResponseCode` @return [Fixnum]

actual_service[RW]

BackendService or BackendBucket returned by load balancer. Corresponds to the JSON property `actualService` @return [String]

expected_output_url[RW]

The expected output URL evaluated by load balancer containing the scheme, host, path and query parameters. Corresponds to the JSON property `expectedOutputUrl` @return [String]

expected_redirect_response_code[RW]

Expected HTTP status code for rule with `urlRedirect` calculated by load balancer Corresponds to the JSON property `expectedRedirectResponseCode` @return [Fixnum]

expected_service[RW]

Expected BackendService or BackendBucket resource the given URL should be mapped to. Corresponds to the JSON property `expectedService` @return [String]

headers[RW]

HTTP headers of the request. Corresponds to the JSON property `headers` @return [Array<Google::Apis::ComputeBeta::UrlMapTestHeader>]

host[RW]

Host portion of the URL. Corresponds to the JSON property `host` @return [String]

path[RW]

Path portion including query parameters in the URL. Corresponds to the JSON property `path` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 38153
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 38158
def update!(**args)
  @actual_output_url = args[:actual_output_url] if args.key?(:actual_output_url)
  @actual_redirect_response_code = args[:actual_redirect_response_code] if args.key?(:actual_redirect_response_code)
  @actual_service = args[:actual_service] if args.key?(:actual_service)
  @expected_output_url = args[:expected_output_url] if args.key?(:expected_output_url)
  @expected_redirect_response_code = args[:expected_redirect_response_code] if args.key?(:expected_redirect_response_code)
  @expected_service = args[:expected_service] if args.key?(:expected_service)
  @headers = args[:headers] if args.key?(:headers)
  @host = args[:host] if args.key?(:host)
  @path = args[:path] if args.key?(:path)
end