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

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

hasGrpcEndpoint

setGrpcEndpoint

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

Parameter
NameDescription
var Google\Cloud\NetworkSecurity\V1\GrpcEndpoint
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\NetworkSecurity\V1\CertificateProviderInstance
Returns
TypeDescription
$this

getType

Returns
TypeDescription
string