Google Cloud Network Security V1 Client - Class BackendAuthenticationConfig (1.3.0)
Reference documentation and code samples for the Google Cloud Network Security V1 Client class BackendAuthenticationConfig.
BackendAuthenticationConfig message groups the TrustConfig together with
other settings that control how the load balancer authenticates, and
expresses its identity to, the backend:
trustConfig is the attached TrustConfig.
wellKnownRoots indicates whether the load balance should trust backend
server certificates that are issued by public certificate authorities, in
addition to certificates trusted by the TrustConfig.
clientCertificate is a client certificate that the load balancer uses to
express its identity to the backend, if the connection to the backend uses
mTLS.
You can attach the BackendAuthenticationConfig to the load balancer's
BackendService directly determining how that BackendService negotiates TLS.
Generated from protobuf message google.cloud.networksecurity.v1.BackendAuthenticationConfig
Namespace
Google \ Cloud \ NetworkSecurity \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
Required. Name of the BackendAuthenticationConfig resource. It matches the
pattern
projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}
Returns
Type
Description
string
setName
Required. Name of the BackendAuthenticationConfig resource. It matches the
pattern
projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Optional. Free-text description of the resource.
Returns
Type
Description
string
setDescription
Optional. Free-text description of the resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The timestamp when the resource was created.
Optional. A reference to a certificatemanager.googleapis.com.Certificate
resource. This is a relative resource path following the form
"projects/{project}/locations/{location}/certificates/{certificate}".
Used by a BackendService to negotiate mTLS when the backend connection uses
TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
scope.
Returns
Type
Description
string
setClientCertificate
Optional. A reference to a certificatemanager.googleapis.com.Certificate
resource. This is a relative resource path following the form
"projects/{project}/locations/{location}/certificates/{certificate}".
Used by a BackendService to negotiate mTLS when the backend connection uses
TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
scope.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTrustConfig
Optional. A reference to a TrustConfig resource from the
certificatemanager.googleapis.com namespace. This is a relative resource
path following the form
"projects/{project}/locations/{location}/trustConfigs/{trust_config}".
A BackendService uses the chain of trust represented by this TrustConfig,
if specified, to validate the server certificates presented by the backend.
Required unless wellKnownRoots is set to PUBLIC_ROOTS.
Returns
Type
Description
string
setTrustConfig
Optional. A reference to a TrustConfig resource from the
certificatemanager.googleapis.com namespace. This is a relative resource
path following the form
"projects/{project}/locations/{location}/trustConfigs/{trust_config}".
A BackendService uses the chain of trust represented by this TrustConfig,
if specified, to validate the server certificates presented by the backend.
Required unless wellKnownRoots is set to PUBLIC_ROOTS.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getWellKnownRoots
Well known roots to use for server certificate validation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-01 UTC."],[],[]]