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

Represents a CertificateAuthorityService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.security.privateca.v1beta1.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.v1beta1.IActivateCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthorityCallback): void;

Calls ActivateCertificateAuthority.

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

ActivateCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IActivateCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls ActivateCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.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.

createCertificate(request, callback)

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

Calls CreateCertificate.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.ICreateCertificateRequest

CreateCertificateRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.ICreateCertificateRequest): Promise<google.cloud.security.privateca.v1beta1.Certificate>;

Calls CreateCertificate.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.ICreateCertificateRequest

CreateCertificateRequest message or plain object

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

Promise

createCertificateAuthority(request, callback)

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

Calls CreateCertificateAuthority.

Parameters
NameDescription
request ICreateCertificateAuthorityRequest

CreateCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.ICreateCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls CreateCertificateAuthority.

Parameter
NameDescription
request ICreateCertificateAuthorityRequest

CreateCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

disableCertificateAuthority(request, callback)

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

Calls DisableCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IDisableCertificateAuthorityRequest

DisableCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IDisableCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls DisableCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IDisableCertificateAuthorityRequest

DisableCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

enableCertificateAuthority(request, callback)

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

Calls EnableCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IEnableCertificateAuthorityRequest

EnableCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IEnableCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls EnableCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IEnableCertificateAuthorityRequest

EnableCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

fetchCertificateAuthorityCsr(request, callback)

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

Calls FetchCertificateAuthorityCsr.

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

FetchCertificateAuthorityCsrRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IFetchCertificateAuthorityCsrRequest): Promise<google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse>;

Calls FetchCertificateAuthorityCsr.

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

FetchCertificateAuthorityCsrRequest message or plain object

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

Promise

getCertificate(request, callback)

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

Calls GetCertificate.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IGetCertificateRequest

GetCertificateRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IGetCertificateRequest): Promise<google.cloud.security.privateca.v1beta1.Certificate>;

Calls GetCertificate.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IGetCertificateRequest

GetCertificateRequest message or plain object

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

Promise

getCertificateAuthority(request, callback)

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

Calls GetCertificateAuthority.

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

GetCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IGetCertificateAuthorityRequest): Promise<google.cloud.security.privateca.v1beta1.CertificateAuthority>;

Calls GetCertificateAuthority.

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

GetCertificateAuthorityRequest message or plain object

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

Promise

getCertificateRevocationList(request, callback)

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

Calls GetCertificateRevocationList.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IGetCertificateRevocationListRequest

GetCertificateRevocationListRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IGetCertificateRevocationListRequest): Promise<google.cloud.security.privateca.v1beta1.CertificateRevocationList>;

Calls GetCertificateRevocationList.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IGetCertificateRevocationListRequest

GetCertificateRevocationListRequest message or plain object

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

Promise

getReusableConfig(request, callback)

public getReusableConfig(request: google.cloud.security.privateca.v1beta1.IGetReusableConfigRequest, callback: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfigCallback): void;

Calls GetReusableConfig.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IGetReusableConfigRequest

GetReusableConfigRequest message or plain object

callback google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfigCallback

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

Returns
TypeDescription
void

getReusableConfig(request)

public getReusableConfig(request: google.cloud.security.privateca.v1beta1.IGetReusableConfigRequest): Promise<google.cloud.security.privateca.v1beta1.ReusableConfig>;

Calls GetReusableConfig.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IGetReusableConfigRequest

GetReusableConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1beta1.ReusableConfig>

Promise

listCertificateAuthorities(request, callback)

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

Calls ListCertificateAuthorities.

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

ListCertificateAuthoritiesRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IListCertificateAuthoritiesRequest): Promise<google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse>;

Calls ListCertificateAuthorities.

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

ListCertificateAuthoritiesRequest message or plain object

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

Promise

listCertificateRevocationLists(request, callback)

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

Calls ListCertificateRevocationLists.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IListCertificateRevocationListsRequest

ListCertificateRevocationListsRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IListCertificateRevocationListsRequest): Promise<google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse>;

Calls ListCertificateRevocationLists.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IListCertificateRevocationListsRequest

ListCertificateRevocationListsRequest message or plain object

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

Promise

listCertificates(request, callback)

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

Calls ListCertificates.

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

ListCertificatesRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IListCertificatesRequest): Promise<google.cloud.security.privateca.v1beta1.ListCertificatesResponse>;

Calls ListCertificates.

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

ListCertificatesRequest message or plain object

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

Promise

listReusableConfigs(request, callback)

public listReusableConfigs(request: google.cloud.security.privateca.v1beta1.IListReusableConfigsRequest, callback: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigsCallback): void;

Calls ListReusableConfigs.

Parameters
NameDescription
request IListReusableConfigsRequest

ListReusableConfigsRequest message or plain object

callback google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigsCallback

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

Returns
TypeDescription
void

listReusableConfigs(request)

public listReusableConfigs(request: google.cloud.security.privateca.v1beta1.IListReusableConfigsRequest): Promise<google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse>;

Calls ListReusableConfigs.

Parameter
NameDescription
request IListReusableConfigsRequest

ListReusableConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse>

Promise

restoreCertificateAuthority(request, callback)

public restoreCertificateAuthority(request: google.cloud.security.privateca.v1beta1.IRestoreCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthorityCallback): void;

Calls RestoreCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IRestoreCertificateAuthorityRequest

RestoreCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthorityCallback

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

Returns
TypeDescription
void

restoreCertificateAuthority(request)

public restoreCertificateAuthority(request: google.cloud.security.privateca.v1beta1.IRestoreCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls RestoreCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IRestoreCertificateAuthorityRequest

RestoreCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

revokeCertificate(request, callback)

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

Calls RevokeCertificate.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IRevokeCertificateRequest

RevokeCertificateRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IRevokeCertificateRequest): Promise<google.cloud.security.privateca.v1beta1.Certificate>;

Calls RevokeCertificate.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IRevokeCertificateRequest

RevokeCertificateRequest message or plain object

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

Promise

scheduleDeleteCertificateAuthority(request, callback)

public scheduleDeleteCertificateAuthority(request: google.cloud.security.privateca.v1beta1.IScheduleDeleteCertificateAuthorityRequest, callback: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthorityCallback): void;

Calls ScheduleDeleteCertificateAuthority.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IScheduleDeleteCertificateAuthorityRequest

ScheduleDeleteCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthorityCallback

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

Returns
TypeDescription
void

scheduleDeleteCertificateAuthority(request)

public scheduleDeleteCertificateAuthority(request: google.cloud.security.privateca.v1beta1.IScheduleDeleteCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls ScheduleDeleteCertificateAuthority.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IScheduleDeleteCertificateAuthorityRequest

ScheduleDeleteCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCertificate(request, callback)

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

Calls UpdateCertificate.

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

UpdateCertificateRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IUpdateCertificateRequest): Promise<google.cloud.security.privateca.v1beta1.Certificate>;

Calls UpdateCertificate.

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

UpdateCertificateRequest message or plain object

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

Promise

updateCertificateAuthority(request, callback)

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

Calls UpdateCertificateAuthority.

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

UpdateCertificateAuthorityRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IUpdateCertificateAuthorityRequest): Promise<google.longrunning.Operation>;

Calls UpdateCertificateAuthority.

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

UpdateCertificateAuthorityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCertificateRevocationList(request, callback)

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

Calls UpdateCertificateRevocationList.

Parameters
NameDescription
request google.cloud.security.privateca.v1beta1.IUpdateCertificateRevocationListRequest

UpdateCertificateRevocationListRequest message or plain object

callback google.cloud.security.privateca.v1beta1.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.v1beta1.IUpdateCertificateRevocationListRequest): Promise<google.longrunning.Operation>;

Calls UpdateCertificateRevocationList.

Parameter
NameDescription
request google.cloud.security.privateca.v1beta1.IUpdateCertificateRevocationListRequest

UpdateCertificateRevocationListRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise