@Generated(value="by GAPIC") @BetaApi public final class BackendService extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
BackendService.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getAffinityCookieTtlSec()
Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE.
|
ApiMessage |
getApiMessageRequestBody() |
List<Backend> |
getBackendsList()
The list of backends that serve this BackendService.
|
BackendServiceCdnPolicy |
getCdnPolicy()
Cloud CDN configuration for this BackendService.
|
ConnectionDraining |
getConnectionDraining() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
List<String> |
getCustomRequestHeadersList()
Headers that the HTTP/S load balancer should add to proxied requests.
|
static BackendService |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
Boolean |
getEnableCDN()
If true, enable Cloud CDN for this BackendService.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getFingerprint()
Fingerprint of this resource.
|
List<String> |
getHealthChecksList()
The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this
BackendService.
|
BackendServiceIAP |
getIap() |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
String |
getLoadBalancingScheme()
Indicates whether the backend service will be used with internal or external load balancing.
|
String |
getName()
Name of the resource.
|
Integer |
getPort()
Deprecated in favor of portName.
|
String |
getPortName()
Name of backend port.
|
String |
getProtocol()
The protocol this BackendService uses to communicate with backends.
|
String |
getRegion()
[Output Only] URL of the region where the regional backend service resides.
|
String |
getSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getSessionAffinity()
Type of session affinity to use.
|
Integer |
getTimeoutSec()
How many seconds to wait for the backend before considering it a failed request.
|
int |
hashCode() |
static BackendService.Builder |
newBuilder() |
static BackendService.Builder |
newBuilder(BackendService prototype) |
BackendService.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public Integer getAffinityCookieTtlSec()
When the load balancing scheme is INTERNAL, this field is not used.
public List<Backend> getBackendsList()
public BackendServiceCdnPolicy getCdnPolicy()
public ConnectionDraining getConnectionDraining()
public String getCreationTimestamp()
public List<String> getCustomRequestHeadersList()
public String getDescription()
public Boolean getEnableCDN()
When the load balancing scheme is INTERNAL, this field is not used.
public String getFingerprint()
To see the latest fingerprint, make a get() request to retrieve a BackendService.
public List<String> getHealthChecksList()
For internal load balancing, a URL to a HealthCheck resource must be specified instead.
public BackendServiceIAP getIap()
public String getId()
public String getKind()
public String getLoadBalancingScheme()
public String getName()
public Integer getPort()
This cannot be used for internal load balancing.
public String getPortName()
When the load balancing scheme is INTERNAL, this field is not used.
public String getProtocol()
Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
For internal load balancing, the possible values are TCP and UDP, and the default is TCP.
public String getRegion()
public String getSecurityPolicy()
public String getSelfLink()
public String getSessionAffinity()
When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE.
When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
When the protocol is UDP, this field is not used.
public Integer getTimeoutSec()
public static BackendService.Builder newBuilder()
public static BackendService.Builder newBuilder(BackendService prototype)
public BackendService.Builder toBuilder()
public static BackendService getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.