
target.apidocs.com.google.api.services.compute.model.UrlMapTest.html Maven / Gradle / Ivy
UrlMapTest (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute.model
Class UrlMapTest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.UrlMapTest
-
public final class UrlMapTest
extends GenericJson
Message for the expected URL mappings.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
UrlMapTest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
UrlMapTest
clone()
Long
getBackendServiceWeight()
The weight to use for the supplied host and path when using advanced routing rules that involve
traffic splitting.
String
getDescription()
Description of this test case.
String
getExpectedUrlRedirect()
The expected URL that should be redirected to for the host and path being tested.
String
getHost()
Host portion of the URL.
String
getPath()
Path portion of the URL.
String
getService()
Expected BackendService resource the given URL should be mapped to.
UrlMapTest
set(String fieldName,
Object value)
UrlMapTest
setBackendServiceWeight(Long backendServiceWeight)
The weight to use for the supplied host and path when using advanced routing rules that involve
traffic splitting.
UrlMapTest
setDescription(String description)
Description of this test case.
UrlMapTest
setExpectedUrlRedirect(String expectedUrlRedirect)
The expected URL that should be redirected to for the host and path being tested.
UrlMapTest
setHost(String host)
Host portion of the URL.
UrlMapTest
setPath(String path)
Path portion of the URL.
UrlMapTest
setService(String service)
Expected BackendService resource the given URL should be mapped to.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBackendServiceWeight
public Long getBackendServiceWeight()
The weight to use for the supplied host and path when using advanced routing rules that involve
traffic splitting.
- Returns:
- value or
null
for none
-
setBackendServiceWeight
public UrlMapTest setBackendServiceWeight(Long backendServiceWeight)
The weight to use for the supplied host and path when using advanced routing rules that involve
traffic splitting.
- Parameters:
backendServiceWeight
- backendServiceWeight or null
for none
-
getDescription
public String getDescription()
Description of this test case.
- Returns:
- value or
null
for none
-
setDescription
public UrlMapTest setDescription(String description)
Description of this test case.
- Parameters:
description
- description or null
for none
-
getExpectedUrlRedirect
public String getExpectedUrlRedirect()
The expected URL that should be redirected to for the host and path being tested.
- Returns:
- value or
null
for none
-
setExpectedUrlRedirect
public UrlMapTest setExpectedUrlRedirect(String expectedUrlRedirect)
The expected URL that should be redirected to for the host and path being tested.
- Parameters:
expectedUrlRedirect
- expectedUrlRedirect or null
for none
-
getHost
public String getHost()
Host portion of the URL.
- Returns:
- value or
null
for none
-
setHost
public UrlMapTest setHost(String host)
Host portion of the URL.
- Parameters:
host
- host or null
for none
-
getPath
public String getPath()
Path portion of the URL.
- Returns:
- value or
null
for none
-
setPath
public UrlMapTest setPath(String path)
Path portion of the URL.
- Parameters:
path
- path or null
for none
-
getService
public String getService()
Expected BackendService resource the given URL should be mapped to.
- Returns:
- value or
null
for none
-
setService
public UrlMapTest setService(String service)
Expected BackendService resource the given URL should be mapped to.
- Parameters:
service
- service or null
for none
-
set
public UrlMapTest set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public UrlMapTest clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy