def __init__(__self__, *, backend_service_weight: Optional[pulumi.Input[int]]=None, description: Optional[pulumi.Input[str]]=None, expected_output_url: Optional[pulumi.Input[str]]=None, expected_redirect_response_code: Optional[pulumi.Input[int]]=None, headers: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]]]=None, host: Optional[pulumi.Input[str]]=None, path: Optional[pulumi.Input[str]]=None, service: Optional[pulumi.Input[str]]=None):
    "\n        Message for the expected URL mappings.\n        :param pulumi.Input[int] backend_service_weight: The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.\n        :param pulumi.Input[str] description: Description of this test case.\n        :param pulumi.Input[str] expected_output_url: The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.\n        :param pulumi.Input[int] expected_redirect_response_code: For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.\n        :param pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]] headers: HTTP headers for this request. If headers contains a host header, then host must also match the header value.\n        :param pulumi.Input[str] host: Host portion of the URL. If headers contains a host header, then host must also match the header value.\n        :param pulumi.Input[str] path: Path portion of the URL.\n        :param pulumi.Input[str] service: Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.\n        "
    if (backend_service_weight is not None):
        pulumi.set(__self__, 'backend_service_weight', backend_service_weight)
    if (description is not None):
        pulumi.set(__self__, 'description', description)
    if (expected_output_url is not None):
        pulumi.set(__self__, 'expected_output_url', expected_output_url)
    if (expected_redirect_response_code is not None):
        pulumi.set(__self__, 'expected_redirect_response_code', expected_redirect_response_code)
    if (headers is not None):
        pulumi.set(__self__, 'headers', headers)
    if (host is not None):
        pulumi.set(__self__, 'host', host)
    if (path is not None):
        pulumi.set(__self__, 'path', path)
    if (service is not None):
        pulumi.set(__self__, 'service', service)
Message for the expected URL mappings.
:param pulumi.Input[int] backend_service_weight: The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
:param pulumi.Input[str] description: Description of this test case.
:param pulumi.Input[str] expected_output_url: The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
:param pulumi.Input[int] expected_redirect_response_code: For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
:param pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]] headers: HTTP headers for this request. If headers contains a host header, then host must also match the header value.
:param pulumi.Input[str] host: Host portion of the URL. If headers contains a host header, then host must also match the header value.
:param pulumi.Input[str] path: Path portion of the URL.
:param pulumi.Input[str] service: Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
def __init__(__self__, *, backend_service_weight: Optional[pulumi.Input[int]]=None, description: Optional[pulumi.Input[str]]=None, expected_output_url: Optional[pulumi.Input[str]]=None, expected_redirect_response_code: Optional[pulumi.Input[int]]=None, headers: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]]]=None, host: Optional[pulumi.Input[str]]=None, path: Optional[pulumi.Input[str]]=None, service: Optional[pulumi.Input[str]]=None):
    "\n        Message for the expected URL mappings.\n        :param pulumi.Input[int] backend_service_weight: The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.\n        :param pulumi.Input[str] description: Description of this test case.\n        :param pulumi.Input[str] expected_output_url: The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.\n        :param pulumi.Input[int] expected_redirect_response_code: For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.\n        :param pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]] headers: HTTP headers for this request. If headers contains a host header, then host must also match the header value.\n        :param pulumi.Input[str] host: Host portion of the URL. If headers contains a host header, then host must also match the header value.\n        :param pulumi.Input[str] path: Path portion of the URL.\n        :param pulumi.Input[str] service: Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.\n        "
    if (backend_service_weight is not None):
        pulumi.set(__self__, 'backend_service_weight', backend_service_weight)
    if (description is not None):
        pulumi.set(__self__, 'description', description)
    if (expected_output_url is not None):
        pulumi.set(__self__, 'expected_output_url', expected_output_url)
    if (expected_redirect_response_code is not None):
        pulumi.set(__self__, 'expected_redirect_response_code', expected_redirect_response_code)
    if (headers is not None):
        pulumi.set(__self__, 'headers', headers)
    if (host is not None):
        pulumi.set(__self__, 'host', host)
    if (path is not None):
        pulumi.set(__self__, 'path', path)
    if (service is not None):
        pulumi.set(__self__, 'service', service)