target.apidocs.com.google.api.services.compute.model.TargetSslProxy.html Maven / Gradle / Ivy
The newest version!
TargetSslProxy (Compute Engine API v1-rev20250320-2.0.0)
com.google.api.services.compute.model
Class TargetSslProxy
- 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.TargetSslProxy
-
public final class TargetSslProxy
extends com.google.api.client.json.GenericJson
Represents a Target SSL Proxy resource. A target SSL proxy is a component of a Proxy Network Load
Balancer. The forwarding rule references the target SSL proxy, and the target proxy then
references a backend service. For more information, read Proxy Network Load Balancer overview.
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
com.google.api.client.util.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
TargetSslProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TargetSslProxy
clone()
String
getCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target
proxy.
String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
String
getDescription()
An optional description of this resource.
BigInteger
getId()
[Output Only] The unique identifier for the resource.
String
getKind()
[Output Only] Type of the resource.
String
getName()
Name of the resource.
String
getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
String
getSelfLink()
[Output Only] Server-defined URL for the resource.
String
getService()
URL to the BackendService resource.
List<String>
getSslCertificates()
URLs to SslCertificate resources that are used to authenticate connections to Backends.
String
getSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.
TargetSslProxy
set(String fieldName,
Object value)
TargetSslProxy
setCertificateMap(String certificateMap)
URL of a certificate map that identifies a certificate map associated with the given target
proxy.
TargetSslProxy
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
TargetSslProxy
setDescription(String description)
An optional description of this resource.
TargetSslProxy
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
TargetSslProxy
setKind(String kind)
[Output Only] Type of the resource.
TargetSslProxy
setName(String name)
Name of the resource.
TargetSslProxy
setProxyHeader(String proxyHeader)
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
TargetSslProxy
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
TargetSslProxy
setService(String service)
URL to the BackendService resource.
TargetSslProxy
setSslCertificates(List<String> sslCertificates)
URLs to SslCertificate resources that are used to authenticate connections to Backends.
TargetSslProxy
setSslPolicy(String sslPolicy)
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.
-
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
-
getCertificateMap
public String getCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target
proxy. This field can only be set for global target proxies. If set, sslCertificates will be
ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project
}/locations/{location}/certificateMaps/{resourceName}.
- Returns:
- value or
null for none
-
setCertificateMap
public TargetSslProxy setCertificateMap(String certificateMap)
URL of a certificate map that identifies a certificate map associated with the given target
proxy. This field can only be set for global target proxies. If set, sslCertificates will be
ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project
}/locations/{location}/certificateMaps/{resourceName}.
- Parameters:
certificateMap - certificateMap or null for none
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
- Returns:
- value or
null for none
-
setCreationTimestamp
public TargetSslProxy setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters:
creationTimestamp - creationTimestamp or null for none
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
- Returns:
- value or
null for none
-
setDescription
public TargetSslProxy setDescription(String description)
An optional description of this resource. Provide this property when you create the resource.
- Parameters:
description - description or null for none
-
getId
public BigInteger getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
- Returns:
- value or
null for none
-
setId
public TargetSslProxy setId(BigInteger id)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
- Parameters:
id - id or null for none
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
- Returns:
- value or
null for none
-
setKind
public TargetSslProxy setKind(String kind)
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
- Parameters:
kind - kind or null for none
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
character must be a lowercase letter, and all following characters must be a dash, lowercase
letter, or digit, except the last character, which cannot be a dash.
- Returns:
- value or
null for none
-
setName
public TargetSslProxy setName(String name)
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
character must be a lowercase letter, and all following characters must be a dash, lowercase
letter, or digit, except the last character, which cannot be a dash.
- Parameters:
name - name or null for none
-
getProxyHeader
public String getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1. The default is NONE.
- Returns:
- value or
null for none
-
setProxyHeader
public TargetSslProxy setProxyHeader(String proxyHeader)
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1. The default is NONE.
- Parameters:
proxyHeader - proxyHeader or null for none
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
- Returns:
- value or
null for none
-
setSelfLink
public TargetSslProxy setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
- Parameters:
selfLink - selfLink or null for none
-
getService
public String getService()
URL to the BackendService resource.
- Returns:
- value or
null for none
-
setService
public TargetSslProxy setService(String service)
URL to the BackendService resource.
- Parameters:
service - service or null for none
-
getSslCertificates
public List<String> getSslCertificates()
URLs to SslCertificate resources that are used to authenticate connections to Backends. At
least one SSL certificate must be specified. Currently, you may specify up to 15 SSL
certificates. sslCertificates do not apply when the load balancing scheme is set to
INTERNAL_SELF_MANAGED.
- Returns:
- value or
null for none
-
setSslCertificates
public TargetSslProxy setSslCertificates(List<String> sslCertificates)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At
least one SSL certificate must be specified. Currently, you may specify up to 15 SSL
certificates. sslCertificates do not apply when the load balancing scheme is set to
INTERNAL_SELF_MANAGED.
- Parameters:
sslCertificates - sslCertificates or null for none
-
getSslPolicy
public String getSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set,
the TargetSslProxy resource will not have any SSL policy configured.
- Returns:
- value or
null for none
-
setSslPolicy
public TargetSslProxy setSslPolicy(String sslPolicy)
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set,
the TargetSslProxy resource will not have any SSL policy configured.
- Parameters:
sslPolicy - sslPolicy or null for none
-
set
public TargetSslProxy set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public TargetSslProxy clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy