Package com.google.cloud.compute.v1
Interface SecuritySettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecuritySettings
,SecuritySettings.Builder
public interface SecuritySettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClientTlsPolicy()
Optional.com.google.protobuf.ByteString
getClientTlsPolicyBytes()
Optional.String
getSubjectAltNames(int index)
Optional.com.google.protobuf.ByteString
getSubjectAltNamesBytes(int index)
Optional.int
getSubjectAltNamesCount()
Optional.List<String>
getSubjectAltNamesList()
Optional.boolean
hasClientTlsPolicy()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasClientTlsPolicy
boolean hasClientTlsPolicy()
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.
optional string client_tls_policy = 462325226;
- Returns:
- Whether the clientTlsPolicy field is set.
-
getClientTlsPolicy
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.
optional string client_tls_policy = 462325226;
- Returns:
- The clientTlsPolicy.
-
getClientTlsPolicyBytes
com.google.protobuf.ByteString getClientTlsPolicyBytes()
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.
optional string client_tls_policy = 462325226;
- Returns:
- The bytes for clientTlsPolicy.
-
getSubjectAltNamesList
List<String> getSubjectAltNamesList()
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).
repeated string subject_alt_names = 330029535;
- Returns:
- A list containing the subjectAltNames.
-
getSubjectAltNamesCount
int getSubjectAltNamesCount()
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).
repeated string subject_alt_names = 330029535;
- Returns:
- The count of subjectAltNames.
-
getSubjectAltNames
String getSubjectAltNames(int index)
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).
repeated string subject_alt_names = 330029535;
- Parameters:
index
- The index of the element to return.- Returns:
- The subjectAltNames at the given index.
-
getSubjectAltNamesBytes
com.google.protobuf.ByteString getSubjectAltNamesBytes(int index)
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).
repeated string subject_alt_names = 330029535;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the subjectAltNames at the given index.
-
-