Class protos.google.cloud.security.privateca.v1.CertificateAuthorityService

Represents a CertificateAuthorityService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.security.privateca.v1.CertificateAuthorityService

Package

@google-cloud/security-private-ca

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CertificateAuthorityService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

activateCertificateAuthority(request, callback)

public activateCertificateAuthority(request: google.cloud.security.privateca.v1.IActivateCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthorityCallback): void;

Calls ActivateCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IActivateCertificateAuthorityRequest

ActivateCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

activateCertificateAuthority(request)

public activateCertificateAuthority(request: google.cloud.security.privateca.v1.IActivateCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls ActivateCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IActivateCertificateAuthorityRequest

ActivateCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CertificateAuthorityService;

Creates new CertificateAuthorityService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
CertificateAuthorityService

RPC service. Useful where requests and/or responses are streamed.

createCaPool(request, callback)

public createCaPool(request: google.cloud.security.privateca.v1.ICreateCaPoolRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPoolCallback): void;

Calls CreateCaPool.

Parameters
NameDescription
request google.cloud.security.privateca.v1.ICreateCaPoolRequest

CreateCaPoolRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPoolCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createCaPool(request)

public createCaPool(request: google.cloud.security.privateca.v1.ICreateCaPoolRequest): Promise<google.longrunning.Operation>;

Calls CreateCaPool.

Parameter
NameDescription
request google.cloud.security.privateca.v1.ICreateCaPoolRequest

CreateCaPoolRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createCertificate(request, callback)

public createCertificate(request: google.cloud.security.privateca.v1.ICreateCertificateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateCallback): void;

Calls CreateCertificate.

Parameters
NameDescription
request ICreateCertificateRequest

CreateCertificateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateCallback

Node-style callback called with the error, if any, and Certificate

Returns
TypeDescription
void

createCertificate(request)

public createCertificate(request: google.cloud.security.privateca.v1.ICreateCertificateRequest): Promise<google.cloud.security.privateca.v1.Certificate>;

Calls CreateCertificate.

Parameter
NameDescription
request ICreateCertificateRequest

CreateCertificateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.Certificate>

Promise

createCertificateAuthority(request, callback)

public createCertificateAuthority(request: google.cloud.security.privateca.v1.ICreateCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthorityCallback): void;

Calls CreateCertificateAuthority.

Parameters
NameDescription
request ICreateCertificateAuthorityRequest

CreateCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createCertificateAuthority(request)

public createCertificateAuthority(request: google.cloud.security.privateca.v1.ICreateCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls CreateCertificateAuthority.

Parameter
NameDescription
request ICreateCertificateAuthorityRequest

CreateCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createCertificateTemplate(request, callback)

public createCertificateTemplate(request: google.cloud.security.privateca.v1.ICreateCertificateTemplateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplateCallback): void;

Calls CreateCertificateTemplate.

Parameters
NameDescription
request ICreateCertificateTemplateRequest

CreateCertificateTemplateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createCertificateTemplate(request)

public createCertificateTemplate(request: google.cloud.security.privateca.v1.ICreateCertificateTemplateRequest): Promise<google.longrunning.Operation>;

Calls CreateCertificateTemplate.

Parameter
NameDescription
request ICreateCertificateTemplateRequest

CreateCertificateTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteCaPool(request, callback)

public deleteCaPool(request: google.cloud.security.privateca.v1.IDeleteCaPoolRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPoolCallback): void;

Calls DeleteCaPool.

Parameters
NameDescription
request IDeleteCaPoolRequest

DeleteCaPoolRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPoolCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteCaPool(request)

public deleteCaPool(request: google.cloud.security.privateca.v1.IDeleteCaPoolRequest): Promise<google.longrunning.Operation>;

Calls DeleteCaPool.

Parameter
NameDescription
request IDeleteCaPoolRequest

DeleteCaPoolRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteCertificateAuthority(request, callback)

public deleteCertificateAuthority(request: google.cloud.security.privateca.v1.IDeleteCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthorityCallback): void;

Calls DeleteCertificateAuthority.

Parameters
NameDescription
request IDeleteCertificateAuthorityRequest

DeleteCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteCertificateAuthority(request)

public deleteCertificateAuthority(request: google.cloud.security.privateca.v1.IDeleteCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls DeleteCertificateAuthority.

Parameter
NameDescription
request IDeleteCertificateAuthorityRequest

DeleteCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteCertificateTemplate(request, callback)

public deleteCertificateTemplate(request: google.cloud.security.privateca.v1.IDeleteCertificateTemplateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplateCallback): void;

Calls DeleteCertificateTemplate.

Parameters
NameDescription
request IDeleteCertificateTemplateRequest

DeleteCertificateTemplateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteCertificateTemplate(request)

public deleteCertificateTemplate(request: google.cloud.security.privateca.v1.IDeleteCertificateTemplateRequest): Promise<google.longrunning.Operation>;

Calls DeleteCertificateTemplate.

Parameter
NameDescription
request IDeleteCertificateTemplateRequest

DeleteCertificateTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

disableCertificateAuthority(request, callback)

public disableCertificateAuthority(request: google.cloud.security.privateca.v1.IDisableCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthorityCallback): void;

Calls DisableCertificateAuthority.

Parameters
NameDescription
request IDisableCertificateAuthorityRequest

DisableCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

disableCertificateAuthority(request)

public disableCertificateAuthority(request: google.cloud.security.privateca.v1.IDisableCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls DisableCertificateAuthority.

Parameter
NameDescription
request IDisableCertificateAuthorityRequest

DisableCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

enableCertificateAuthority(request, callback)

public enableCertificateAuthority(request: google.cloud.security.privateca.v1.IEnableCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthorityCallback): void;

Calls EnableCertificateAuthority.

Parameters
NameDescription
request IEnableCertificateAuthorityRequest

EnableCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

enableCertificateAuthority(request)

public enableCertificateAuthority(request: google.cloud.security.privateca.v1.IEnableCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls EnableCertificateAuthority.

Parameter
NameDescription
request IEnableCertificateAuthorityRequest

EnableCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

fetchCaCerts(request, callback)

public fetchCaCerts(request: google.cloud.security.privateca.v1.IFetchCaCertsRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCertsCallback): void;

Calls FetchCaCerts.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IFetchCaCertsRequest

FetchCaCertsRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCertsCallback

Node-style callback called with the error, if any, and FetchCaCertsResponse

Returns
TypeDescription
void

fetchCaCerts(request)

public fetchCaCerts(request: google.cloud.security.privateca.v1.IFetchCaCertsRequest): Promise<google.cloud.security.privateca.v1.FetchCaCertsResponse>;

Calls FetchCaCerts.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IFetchCaCertsRequest

FetchCaCertsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.FetchCaCertsResponse>

Promise

fetchCertificateAuthorityCsr(request, callback)

public fetchCertificateAuthorityCsr(request: google.cloud.security.privateca.v1.IFetchCertificateAuthorityCsrRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsrCallback): void;

Calls FetchCertificateAuthorityCsr.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IFetchCertificateAuthorityCsrRequest

FetchCertificateAuthorityCsrRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsrCallback

Node-style callback called with the error, if any, and FetchCertificateAuthorityCsrResponse

Returns
TypeDescription
void

fetchCertificateAuthorityCsr(request)

public fetchCertificateAuthorityCsr(request: google.cloud.security.privateca.v1.IFetchCertificateAuthorityCsrRequest): Promise<google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse>;

Calls FetchCertificateAuthorityCsr.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IFetchCertificateAuthorityCsrRequest

FetchCertificateAuthorityCsrRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse>

Promise

getCaPool(request, callback)

public getCaPool(request: google.cloud.security.privateca.v1.IGetCaPoolRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPoolCallback): void;

Calls GetCaPool.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IGetCaPoolRequest

GetCaPoolRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPoolCallback

Node-style callback called with the error, if any, and CaPool

Returns
TypeDescription
void

getCaPool(request)

public getCaPool(request: google.cloud.security.privateca.v1.IGetCaPoolRequest): Promise<google.cloud.security.privateca.v1.CaPool>;

Calls GetCaPool.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IGetCaPoolRequest

GetCaPoolRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.CaPool>

Promise

getCertificate(request, callback)

public getCertificate(request: google.cloud.security.privateca.v1.IGetCertificateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateCallback): void;

Calls GetCertificate.

Parameters
NameDescription
request IGetCertificateRequest

GetCertificateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateCallback

Node-style callback called with the error, if any, and Certificate

Returns
TypeDescription
void

getCertificate(request)

public getCertificate(request: google.cloud.security.privateca.v1.IGetCertificateRequest): Promise<google.cloud.security.privateca.v1.Certificate>;

Calls GetCertificate.

Parameter
NameDescription
request IGetCertificateRequest

GetCertificateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.Certificate>

Promise

getCertificateAuthority(request, callback)

public getCertificateAuthority(request: google.cloud.security.privateca.v1.IGetCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthorityCallback): void;

Calls GetCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IGetCertificateAuthorityRequest

GetCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthorityCallback

Node-style callback called with the error, if any, and CertificateAuthority

Returns
TypeDescription
void

getCertificateAuthority(request)

public getCertificateAuthority(request: google.cloud.security.privateca.v1.IGetCertificateAuthorityRequest): Promise<google.cloud.security.privateca.v1.CertificateAuthority>;

Calls GetCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IGetCertificateAuthorityRequest

GetCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.CertificateAuthority>

Promise

getCertificateRevocationList(request, callback)

public getCertificateRevocationList(request: google.cloud.security.privateca.v1.IGetCertificateRevocationListRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationListCallback): void;

Calls GetCertificateRevocationList.

Parameters
NameDescription
request IGetCertificateRevocationListRequest

GetCertificateRevocationListRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationListCallback

Node-style callback called with the error, if any, and CertificateRevocationList

Returns
TypeDescription
void

getCertificateRevocationList(request)

public getCertificateRevocationList(request: google.cloud.security.privateca.v1.IGetCertificateRevocationListRequest): Promise<google.cloud.security.privateca.v1.CertificateRevocationList>;

Calls GetCertificateRevocationList.

Parameter
NameDescription
request IGetCertificateRevocationListRequest

GetCertificateRevocationListRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.CertificateRevocationList>

Promise

getCertificateTemplate(request, callback)

public getCertificateTemplate(request: google.cloud.security.privateca.v1.IGetCertificateTemplateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplateCallback): void;

Calls GetCertificateTemplate.

Parameters
NameDescription
request IGetCertificateTemplateRequest

GetCertificateTemplateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplateCallback

Node-style callback called with the error, if any, and CertificateTemplate

Returns
TypeDescription
void

getCertificateTemplate(request)

public getCertificateTemplate(request: google.cloud.security.privateca.v1.IGetCertificateTemplateRequest): Promise<google.cloud.security.privateca.v1.CertificateTemplate>;

Calls GetCertificateTemplate.

Parameter
NameDescription
request IGetCertificateTemplateRequest

GetCertificateTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.CertificateTemplate>

Promise

listCaPools(request, callback)

public listCaPools(request: google.cloud.security.privateca.v1.IListCaPoolsRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPoolsCallback): void;

Calls ListCaPools.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IListCaPoolsRequest

ListCaPoolsRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPoolsCallback

Node-style callback called with the error, if any, and ListCaPoolsResponse

Returns
TypeDescription
void

listCaPools(request)

public listCaPools(request: google.cloud.security.privateca.v1.IListCaPoolsRequest): Promise<google.cloud.security.privateca.v1.ListCaPoolsResponse>;

Calls ListCaPools.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IListCaPoolsRequest

ListCaPoolsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.ListCaPoolsResponse>

Promise

listCertificateAuthorities(request, callback)

public listCertificateAuthorities(request: google.cloud.security.privateca.v1.IListCertificateAuthoritiesRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthoritiesCallback): void;

Calls ListCertificateAuthorities.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IListCertificateAuthoritiesRequest

ListCertificateAuthoritiesRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthoritiesCallback

Node-style callback called with the error, if any, and ListCertificateAuthoritiesResponse

Returns
TypeDescription
void

listCertificateAuthorities(request)

public listCertificateAuthorities(request: google.cloud.security.privateca.v1.IListCertificateAuthoritiesRequest): Promise<google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse>;

Calls ListCertificateAuthorities.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IListCertificateAuthoritiesRequest

ListCertificateAuthoritiesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse>

Promise

listCertificateRevocationLists(request, callback)

public listCertificateRevocationLists(request: google.cloud.security.privateca.v1.IListCertificateRevocationListsRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationListsCallback): void;

Calls ListCertificateRevocationLists.

Parameters
NameDescription
request IListCertificateRevocationListsRequest

ListCertificateRevocationListsRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationListsCallback

Node-style callback called with the error, if any, and ListCertificateRevocationListsResponse

Returns
TypeDescription
void

listCertificateRevocationLists(request)

public listCertificateRevocationLists(request: google.cloud.security.privateca.v1.IListCertificateRevocationListsRequest): Promise<google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse>;

Calls ListCertificateRevocationLists.

Parameter
NameDescription
request IListCertificateRevocationListsRequest

ListCertificateRevocationListsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse>

Promise

listCertificates(request, callback)

public listCertificates(request: google.cloud.security.privateca.v1.IListCertificatesRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificatesCallback): void;

Calls ListCertificates.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IListCertificatesRequest

ListCertificatesRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificatesCallback

Node-style callback called with the error, if any, and ListCertificatesResponse

Returns
TypeDescription
void

listCertificates(request)

public listCertificates(request: google.cloud.security.privateca.v1.IListCertificatesRequest): Promise<google.cloud.security.privateca.v1.ListCertificatesResponse>;

Calls ListCertificates.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IListCertificatesRequest

ListCertificatesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.ListCertificatesResponse>

Promise

listCertificateTemplates(request, callback)

public listCertificateTemplates(request: google.cloud.security.privateca.v1.IListCertificateTemplatesRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplatesCallback): void;

Calls ListCertificateTemplates.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IListCertificateTemplatesRequest

ListCertificateTemplatesRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplatesCallback

Node-style callback called with the error, if any, and ListCertificateTemplatesResponse

Returns
TypeDescription
void

listCertificateTemplates(request)

public listCertificateTemplates(request: google.cloud.security.privateca.v1.IListCertificateTemplatesRequest): Promise<google.cloud.security.privateca.v1.ListCertificateTemplatesResponse>;

Calls ListCertificateTemplates.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IListCertificateTemplatesRequest

ListCertificateTemplatesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.ListCertificateTemplatesResponse>

Promise

revokeCertificate(request, callback)

public revokeCertificate(request: google.cloud.security.privateca.v1.IRevokeCertificateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificateCallback): void;

Calls RevokeCertificate.

Parameters
NameDescription
request IRevokeCertificateRequest

RevokeCertificateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificateCallback

Node-style callback called with the error, if any, and Certificate

Returns
TypeDescription
void

revokeCertificate(request)

public revokeCertificate(request: google.cloud.security.privateca.v1.IRevokeCertificateRequest): Promise<google.cloud.security.privateca.v1.Certificate>;

Calls RevokeCertificate.

Parameter
NameDescription
request IRevokeCertificateRequest

RevokeCertificateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.Certificate>

Promise

undeleteCertificateAuthority(request, callback)

public undeleteCertificateAuthority(request: google.cloud.security.privateca.v1.IUndeleteCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthorityCallback): void;

Calls UndeleteCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IUndeleteCertificateAuthorityRequest

UndeleteCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

undeleteCertificateAuthority(request)

public undeleteCertificateAuthority(request: google.cloud.security.privateca.v1.IUndeleteCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls UndeleteCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IUndeleteCertificateAuthorityRequest

UndeleteCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCaPool(request, callback)

public updateCaPool(request: google.cloud.security.privateca.v1.IUpdateCaPoolRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPoolCallback): void;

Calls UpdateCaPool.

Parameters
NameDescription
request IUpdateCaPoolRequest

UpdateCaPoolRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPoolCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateCaPool(request)

public updateCaPool(request: google.cloud.security.privateca.v1.IUpdateCaPoolRequest): Promise<google.longrunning.Operation>;

Calls UpdateCaPool.

Parameter
NameDescription
request IUpdateCaPoolRequest

UpdateCaPoolRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCertificate(request, callback)

public updateCertificate(request: google.cloud.security.privateca.v1.IUpdateCertificateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateCallback): void;

Calls UpdateCertificate.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IUpdateCertificateRequest

UpdateCertificateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateCallback

Node-style callback called with the error, if any, and Certificate

Returns
TypeDescription
void

updateCertificate(request)

public updateCertificate(request: google.cloud.security.privateca.v1.IUpdateCertificateRequest): Promise<google.cloud.security.privateca.v1.Certificate>;

Calls UpdateCertificate.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IUpdateCertificateRequest

UpdateCertificateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1.Certificate>

Promise

updateCertificateAuthority(request, callback)

public updateCertificateAuthority(request: google.cloud.security.privateca.v1.IUpdateCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthorityCallback): void;

Calls UpdateCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1.IUpdateCertificateAuthorityRequest

UpdateCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthorityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateCertificateAuthority(request)

public updateCertificateAuthority(request: google.cloud.security.privateca.v1.IUpdateCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls UpdateCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1.IUpdateCertificateAuthorityRequest

UpdateCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCertificateRevocationList(request, callback)

public updateCertificateRevocationList(request: google.cloud.security.privateca.v1.IUpdateCertificateRevocationListRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationListCallback): void;

Calls UpdateCertificateRevocationList.

Parameters
NameDescription
request IUpdateCertificateRevocationListRequest

UpdateCertificateRevocationListRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationListCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateCertificateRevocationList(request)

public updateCertificateRevocationList(request: google.cloud.security.privateca.v1.IUpdateCertificateRevocationListRequest): Promise<google.longrunning.Operation>;

Calls UpdateCertificateRevocationList.

Parameter
NameDescription
request IUpdateCertificateRevocationListRequest

UpdateCertificateRevocationListRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCertificateTemplate(request, callback)

public updateCertificateTemplate(request: google.cloud.security.privateca.v1.IUpdateCertificateTemplateRequest, callback: google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplateCallback): void;

Calls UpdateCertificateTemplate.

Parameters
NameDescription
request IUpdateCertificateTemplateRequest

UpdateCertificateTemplateRequest message or plain object

callback google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateCertificateTemplate(request)

public updateCertificateTemplate(request: google.cloud.security.privateca.v1.IUpdateCertificateTemplateRequest): Promise<google.longrunning.Operation>;

Calls UpdateCertificateTemplate.

Parameter
NameDescription
request IUpdateCertificateTemplateRequest

UpdateCertificateTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise