Google Cloud Network Security V1 Client - Class CertificateProvider (1.0.1)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class CertificateProvider.

Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication.

Generated from protobuf message google.cloud.networksecurity.v1.CertificateProvider

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ grpc_endpoint GrpcEndpoint

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

↳ certificate_provider_instance CertificateProviderInstance

The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.

getGrpcEndpoint

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

Returns
Type Description
GrpcEndpoint|null

hasGrpcEndpoint

setGrpcEndpoint

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

Parameter
Name Description
var GrpcEndpoint
Returns
Type Description
$this

getCertificateProviderInstance

The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.

Returns
Type Description
CertificateProviderInstance|null

hasCertificateProviderInstance

setCertificateProviderInstance

The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.

Parameter
Name Description
var CertificateProviderInstance
Returns
Type Description
$this

getType

Returns
Type Description
string