
target.apidocs.com.google.api.services.compute.model.SecuritySettings.html Maven / Gradle / Ivy
SecuritySettings (Compute Engine API alpha-rev20200526-1.30.9)
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.
AuthenticationPolicy
getAuthenticationPolicy()
[Deprecated] Authentication policy defines what authentication methods can be accepted on
backends, and if authenticated, which method/certificate will set the request principal.
AuthorizationConfig
getAuthorizationConfig()
[Deprecated] Authorization config defines the Role Based Access Control (RBAC) config.
String
getClientTlsPolicy()
Optional.
ClientTlsSettings
getClientTlsSettings()
[Deprecated] TLS Settings for the backend service.
List<String>
getSubjectAltNames()
Optional.
SecuritySettings
set(String fieldName,
Object value)
SecuritySettings
setAuthentication(String authentication)
[Deprecated] Use clientTlsPolicy instead.
SecuritySettings
setAuthenticationPolicy(AuthenticationPolicy authenticationPolicy)
[Deprecated] Authentication policy defines what authentication methods can be accepted on
backends, and if authenticated, which method/certificate will set the request principal.
SecuritySettings
setAuthorizationConfig(AuthorizationConfig authorizationConfig)
[Deprecated] Authorization config defines the Role Based Access Control (RBAC) config.
SecuritySettings
setClientTlsPolicy(String clientTlsPolicy)
Optional.
SecuritySettings
setClientTlsSettings(ClientTlsSettings clientTlsSettings)
[Deprecated] TLS Settings for the backend service.
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
-
getAuthenticationPolicy
public AuthenticationPolicy getAuthenticationPolicy()
[Deprecated] Authentication policy defines what authentication methods can be accepted on
backends, and if authenticated, which method/certificate will set the request principal.
request principal.
- Returns:
- value or
null
for none
-
setAuthenticationPolicy
public SecuritySettings setAuthenticationPolicy(AuthenticationPolicy authenticationPolicy)
[Deprecated] Authentication policy defines what authentication methods can be accepted on
backends, and if authenticated, which method/certificate will set the request principal.
request principal.
- Parameters:
authenticationPolicy
- authenticationPolicy or null
for none
-
getAuthorizationConfig
public AuthorizationConfig getAuthorizationConfig()
[Deprecated] Authorization config defines the Role Based Access Control (RBAC) config.
Authorization config defines the Role Based Access Control (RBAC) config.
- Returns:
- value or
null
for none
-
setAuthorizationConfig
public SecuritySettings setAuthorizationConfig(AuthorizationConfig authorizationConfig)
[Deprecated] Authorization config defines the Role Based Access Control (RBAC) config.
Authorization config defines the Role Based Access Control (RBAC) config.
- Parameters:
authorizationConfig
- authorizationConfig 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.
- 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.
- Parameters:
clientTlsPolicy
- clientTlsPolicy or null
for none
-
getClientTlsSettings
public ClientTlsSettings getClientTlsSettings()
[Deprecated] TLS Settings for the backend service.
- Returns:
- value or
null
for none
-
setClientTlsSettings
public SecuritySettings setClientTlsSettings(ClientTlsSettings clientTlsSettings)
[Deprecated] TLS Settings for the backend service.
- Parameters:
clientTlsSettings
- clientTlsSettings 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).
- 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).
- 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–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy