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

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 Google\Cloud\NetworkSecurity\V1\GrpcEndpoint

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

↳ certificate_provider_instance Google\Cloud\NetworkSecurity\V1\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
Google\Cloud\NetworkSecurity\V1\GrpcEndpoint|null

hasGrpcEndpoint

setGrpcEndpoint

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

Parameter
Name Description
var Google\Cloud\NetworkSecurity\V1\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
Google\Cloud\NetworkSecurity\V1\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 Google\Cloud\NetworkSecurity\V1\CertificateProviderInstance
Returns
Type Description
$this

getType

Returns
Type Description
string