target.apidocs.com.google.api.services.compute.model.SecuritySettings.html Maven / Gradle / Ivy
SecuritySettings (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class SecuritySettings
- 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.SecuritySettings
-
public final class SecuritySettings
extends GenericJson
The authentication and authorization settings for a BackendService.
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
SecuritySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SecuritySettings
clone()
String
getAuthentication()
[Deprecated] Use clientTlsPolicy instead.
String
getClientTlsPolicy()
Optional.
List<String>
getSubjectAltNames()
Optional.
SecuritySettings
set(String fieldName,
Object value)
SecuritySettings
setAuthentication(String authentication)
[Deprecated] Use clientTlsPolicy instead.
SecuritySettings
setClientTlsPolicy(String clientTlsPolicy)
Optional.
SecuritySettings
setSubjectAltNames(List<String> subjectAltNames)
Optional.
-
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
-
getAuthentication
public String getAuthentication()
[Deprecated] Use clientTlsPolicy instead.
- Returns:
- value or
null
for none
-
setAuthentication
public SecuritySettings setAuthentication(String authentication)
[Deprecated] Use clientTlsPolicy instead.
- Parameters:
authentication
- authentication or null
for none
-
getClientTlsPolicy
public String getClientTlsPolicy()
Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how
clients should authenticate with this service's backends. clientTlsPolicy only applies to a
global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank,
communications are not encrypted. Note: This field currently has no impact.
- Returns:
- value or
null
for none
-
setClientTlsPolicy
public SecuritySettings setClientTlsPolicy(String clientTlsPolicy)
Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how
clients should authenticate with this service's backends. clientTlsPolicy only applies to a
global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank,
communications are not encrypted. Note: This field currently has no impact.
- Parameters:
clientTlsPolicy
- clientTlsPolicy or null
for none
-
getSubjectAltNames
public List<String> getSubjectAltNames()
Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual
TLS handshake with an server/endpoint for this BackendService. When the server presents its
X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If
the field contains one of the specified values, the communication continues. Otherwise, it
fails. This additional check enables the client to verify that the server is authorized to run
the requested service. Note that the contents of the server certificate's subjectAltName field
are configured by the Public Key Infrastructure which provisions server identities. Only
applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only
applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).
Note: This field currently has no impact.
- Returns:
- value or
null
for none
-
setSubjectAltNames
public SecuritySettings setSubjectAltNames(List<String> subjectAltNames)
Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual
TLS handshake with an server/endpoint for this BackendService. When the server presents its
X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If
the field contains one of the specified values, the communication continues. Otherwise, it
fails. This additional check enables the client to verify that the server is authorized to run
the requested service. Note that the contents of the server certificate's subjectAltName field
are configured by the Public Key Infrastructure which provisions server identities. Only
applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only
applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).
Note: This field currently has no impact.
- Parameters:
subjectAltNames
- subjectAltNames or null
for none
-
set
public SecuritySettings set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public SecuritySettings clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy