/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { FieldMask } from '../../../../google/protobuf/field_mask'; import { ChallengeType, Certificate, Version } from '../../../../yandex/cloud/certificatemanager/v1/certificate'; import { Operation } from '../../../../yandex/cloud/operation/operation'; import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access'; export declare const protobufPackage = "yandex.cloud.certificatemanager.v1"; export declare enum CertificateView { /** BASIC - Output basic information about the certificate. */ BASIC = 0, /** FULL - Output full information about the certificate including domain challenges. */ FULL = 1, UNRECOGNIZED = -1 } export declare function certificateViewFromJSON(object: any): CertificateView; export declare function certificateViewToJSON(object: CertificateView): string; export interface GetCertificateRequest { /** * ID of the certificate to return. * * To get the ID of a certificate use a [CertificateService.List] request. */ certificateId: string; /** The output type of the certificate. */ view: CertificateView; } export interface ListCertificatesRequest { /** ID of the folder to list certificate in. */ folderId: string; /** * The maximum number of results per page to return. If the number of available * results is larger than `page_size`, the service returns a [ListCertificatesResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set `page_token` to the * [ListCertificatesResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** The output type of the certificate. */ view: CertificateView; } export interface ListCertificatesResponse { /** List of certificates in the specified folder. */ certificates: Certificate[]; /** * This token allows you to get the next page of results for list requests. If the number * of results is greater than the specified [ListCertificatesRequest.page_size], use * the `next_page_token` as the value for the [ListCertificatesRequest.page_token] query parameter * in the next list request. Each subsequent list request will have its own * [next_page_token] to continue paging through the results. */ nextPageToken: string; } export interface ListVersionsRequest { /** ID of the certificate to list versions for. */ certificateId: string; /** * Page token. To get the next page of results, set `page_token` to the * [ListCertificatesResponse.next_page_token] returned by a previous list request. */ pageSize: number; /** * Page token. To get the next page of results, set `page_token` to the * [ListCertificatesResponse.next_page_token] returned by a previous list request. */ pageToken: string; } export interface ListVersionsResponse { /** List of versions for the specified certificate. */ versions: Version[]; /** * This token allows you to get the next page of results for list requests. If the number * of results is greater than the specified [ListCertificatesRequest.page_size], use * the `next_page_token` as the value for the [ListCertificatesRequest.page_token] query parameter * in the next list request. Each subsequent list request will have its own * [next_page_token] to continue paging through the results. */ nextPageToken: string; } export interface CreateCertificateRequest { /** ID of the folder to create a certificate in. */ folderId: string; /** * Name of the certificate. * The name must be unique within the folder. */ name: string; /** Description of the certificate. */ description: string; /** Labels for the certificate as `key:value` pairs. */ labels: { [key: string]: string; }; /** PEM-encoded certificate content of the certificate. */ certificate: string; /** PEM-encoded certificate chain content of the certificate. */ chain: string; /** PEM-encoded private key content of the certificate. */ privateKey: string; /** Flag that protects deletion of the certificate */ deletionProtection: boolean; } export interface CreateCertificateRequest_LabelsEntry { key: string; value: string; } export interface CreateCertificateMetadata { /** ID of the certificate being created. */ certificateId: string; } export interface UpdateCertificateRequest { /** * ID of the certificate to update. * To get the ID of a certificate use a [CertificateService.List] request. */ certificateId: string; /** Field mask that specifies which attributes of the certificate are going to be updated. */ updateMask?: FieldMask; /** New name for the certificate. */ name: string; /** New description for the certificate. */ description: string; /** New labels for the certificate as `key:value` pairs. */ labels: { [key: string]: string; }; /** New PEM-encoded certificate content for the certificate. Used only for imported certificates. */ certificate: string; /** New PEM-encoded certificate chain content for the certificate. Used only for imported certificates. */ chain: string; /** New PEM-encoded private key content for the certificate. Used only for imported certificates. */ privateKey: string; /** Flag that protects deletion of the certificate */ deletionProtection: boolean; } export interface UpdateCertificateRequest_LabelsEntry { key: string; value: string; } export interface UpdateCertificateMetadata { /** ID of the certificate being updated. */ certificateId: string; } export interface DeleteCertificateRequest { /** ID of the certificate to be deleted. */ certificateId: string; } export interface DeleteCertificateMetadata { /** ID of the certificate being deleted. */ certificateId: string; } export interface RequestNewCertificateRequest { /** ID of the folder to create a certificate in. */ folderId: string; /** Name of the certificate. */ name: string; /** Description of the certificate. */ description: string; /** Labels for the certificate as `key:value` pairs. */ labels: { [key: string]: string; }; /** Fully qualified domain names of the certificate. */ domains: string[]; /** Type of the domain validation challenge. */ challengeType: ChallengeType; /** Flag that protects deletion of the certificate */ deletionProtection: boolean; } export interface RequestNewCertificateRequest_LabelsEntry { key: string; value: string; } export interface RequestNewCertificateMetadata { /** ID of the certificate that is being requested. */ certificateId: string; } export interface ListCertificateOperationsRequest { /** * ID of the certificate to list operations for. * * To get the certificate ID, use a [CertificateService.List] request. */ certificateId: string; /** * The maximum number of results per page that should be returned. If the number of available * results is larger than `page_size`, the service returns a [ListCertificateOperationsResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set `page_token` to the * [ListCertificateOperationsResponse.next_page_token] returned by a previous list request. */ pageToken: string; } export interface ListCertificateOperationsResponse { /** List of operations for the specified certificate. */ operations: Operation[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListCertificateOperationsRequest.page_size], use the `next_page_token` as the value * for the [ListCertificateOperationsRequest.page_token] query parameter in the next list request. * Each subsequent list request will have its own [next_page_token] to continue paging through the results. */ nextPageToken: string; } export declare const GetCertificateRequest: { encode(message: GetCertificateRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetCertificateRequest; fromJSON(object: any): GetCertificateRequest; toJSON(message: GetCertificateRequest): unknown; fromPartial, never>>(object: I): GetCertificateRequest; }; export declare const ListCertificatesRequest: { encode(message: ListCertificatesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListCertificatesRequest; fromJSON(object: any): ListCertificatesRequest; toJSON(message: ListCertificatesRequest): unknown; fromPartial, never>>(object: I): ListCertificatesRequest; }; export declare const ListCertificatesResponse: { encode(message: ListCertificatesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListCertificatesResponse; fromJSON(object: any): ListCertificatesResponse; toJSON(message: ListCertificatesResponse): unknown; fromPartial, never>) | undefined; type?: import("../../../../yandex/cloud/certificatemanager/v1/certificate").CertificateType | undefined; domains?: (string[] & string[] & Record, never>) | undefined; status?: import("../../../../yandex/cloud/certificatemanager/v1/certificate").Certificate_Status | undefined; issuer?: string | undefined; subject?: string | undefined; serial?: string | undefined; updatedAt?: Date | undefined; issuedAt?: Date | undefined; notAfter?: Date | undefined; notBefore?: Date | undefined; challenges?: ({ domain?: string | undefined; type?: ChallengeType | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; status?: import("../../../../yandex/cloud/certificatemanager/v1/certificate").Challenge_Status | undefined; message?: string | undefined; error?: string | undefined; dnsChallenge?: { name?: string | undefined; type?: string | undefined; value?: string | undefined; } | undefined; httpChallenge?: { url?: string | undefined; content?: string | undefined; } | undefined; }[] & ({ domain?: string | undefined; type?: ChallengeType | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; status?: import("../../../../yandex/cloud/certificatemanager/v1/certificate").Challenge_Status | undefined; message?: string | undefined; error?: string | undefined; dnsChallenge?: { name?: string | undefined; type?: string | undefined; value?: string | undefined; } | undefined; httpChallenge?: { url?: string | undefined; content?: string | undefined; } | undefined; } & { domain?: string | undefined; type?: ChallengeType | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; status?: import("../../../../yandex/cloud/certificatemanager/v1/certificate").Challenge_Status | undefined; message?: string | undefined; error?: string | undefined; dnsChallenge?: ({ name?: string | undefined; type?: string | undefined; value?: string | undefined; } & { name?: string | undefined; type?: string | undefined; value?: string | undefined; } & Record, never>) | undefined; httpChallenge?: ({ url?: string | undefined; content?: string | undefined; } & { url?: string | undefined; content?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; deletionProtection?: boolean | undefined; incompleteChain?: boolean | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListCertificatesResponse; }; export declare const ListVersionsRequest: { encode(message: ListVersionsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListVersionsRequest; fromJSON(object: any): ListVersionsRequest; toJSON(message: ListVersionsRequest): unknown; fromPartial, never>>(object: I): ListVersionsRequest; }; export declare const ListVersionsResponse: { encode(message: ListVersionsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListVersionsResponse; fromJSON(object: any): ListVersionsResponse; toJSON(message: ListVersionsResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListVersionsResponse; }; export declare const CreateCertificateRequest: { encode(message: CreateCertificateRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateCertificateRequest; fromJSON(object: any): CreateCertificateRequest; toJSON(message: CreateCertificateRequest): unknown; fromPartial, never>) | undefined; certificate?: string | undefined; chain?: string | undefined; privateKey?: string | undefined; deletionProtection?: boolean | undefined; } & Record, never>>(object: I): CreateCertificateRequest; }; export declare const CreateCertificateRequest_LabelsEntry: { encode(message: CreateCertificateRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateCertificateRequest_LabelsEntry; fromJSON(object: any): CreateCertificateRequest_LabelsEntry; toJSON(message: CreateCertificateRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): CreateCertificateRequest_LabelsEntry; }; export declare const CreateCertificateMetadata: { encode(message: CreateCertificateMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateCertificateMetadata; fromJSON(object: any): CreateCertificateMetadata; toJSON(message: CreateCertificateMetadata): unknown; fromPartial, never>>(object: I): CreateCertificateMetadata; }; export declare const UpdateCertificateRequest: { encode(message: UpdateCertificateRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCertificateRequest; fromJSON(object: any): UpdateCertificateRequest; toJSON(message: UpdateCertificateRequest): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; name?: string | undefined; description?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; certificate?: string | undefined; chain?: string | undefined; privateKey?: string | undefined; deletionProtection?: boolean | undefined; } & Record, never>>(object: I): UpdateCertificateRequest; }; export declare const UpdateCertificateRequest_LabelsEntry: { encode(message: UpdateCertificateRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCertificateRequest_LabelsEntry; fromJSON(object: any): UpdateCertificateRequest_LabelsEntry; toJSON(message: UpdateCertificateRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): UpdateCertificateRequest_LabelsEntry; }; export declare const UpdateCertificateMetadata: { encode(message: UpdateCertificateMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCertificateMetadata; fromJSON(object: any): UpdateCertificateMetadata; toJSON(message: UpdateCertificateMetadata): unknown; fromPartial, never>>(object: I): UpdateCertificateMetadata; }; export declare const DeleteCertificateRequest: { encode(message: DeleteCertificateRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteCertificateRequest; fromJSON(object: any): DeleteCertificateRequest; toJSON(message: DeleteCertificateRequest): unknown; fromPartial, never>>(object: I): DeleteCertificateRequest; }; export declare const DeleteCertificateMetadata: { encode(message: DeleteCertificateMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteCertificateMetadata; fromJSON(object: any): DeleteCertificateMetadata; toJSON(message: DeleteCertificateMetadata): unknown; fromPartial, never>>(object: I): DeleteCertificateMetadata; }; export declare const RequestNewCertificateRequest: { encode(message: RequestNewCertificateRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RequestNewCertificateRequest; fromJSON(object: any): RequestNewCertificateRequest; toJSON(message: RequestNewCertificateRequest): unknown; fromPartial, never>) | undefined; domains?: (string[] & string[] & Record, never>) | undefined; challengeType?: ChallengeType | undefined; deletionProtection?: boolean | undefined; } & Record, never>>(object: I): RequestNewCertificateRequest; }; export declare const RequestNewCertificateRequest_LabelsEntry: { encode(message: RequestNewCertificateRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RequestNewCertificateRequest_LabelsEntry; fromJSON(object: any): RequestNewCertificateRequest_LabelsEntry; toJSON(message: RequestNewCertificateRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): RequestNewCertificateRequest_LabelsEntry; }; export declare const RequestNewCertificateMetadata: { encode(message: RequestNewCertificateMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RequestNewCertificateMetadata; fromJSON(object: any): RequestNewCertificateMetadata; toJSON(message: RequestNewCertificateMetadata): unknown; fromPartial, never>>(object: I): RequestNewCertificateMetadata; }; export declare const ListCertificateOperationsRequest: { encode(message: ListCertificateOperationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListCertificateOperationsRequest; fromJSON(object: any): ListCertificateOperationsRequest; toJSON(message: ListCertificateOperationsRequest): unknown; fromPartial, never>>(object: I): ListCertificateOperationsRequest; }; export declare const ListCertificateOperationsResponse: { encode(message: ListCertificateOperationsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListCertificateOperationsResponse; fromJSON(object: any): ListCertificateOperationsResponse; toJSON(message: ListCertificateOperationsResponse): unknown; fromPartial, never>) | undefined; error?: ({ code?: number | undefined; message?: string | undefined; details?: { typeUrl?: string | undefined; value?: Buffer | undefined; }[] | undefined; } & { code?: number | undefined; message?: string | undefined; details?: ({ typeUrl?: string | undefined; value?: Buffer | undefined; }[] & ({ typeUrl?: string | undefined; value?: Buffer | undefined; } & { typeUrl?: string | undefined; value?: Buffer | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; response?: ({ typeUrl?: string | undefined; value?: Buffer | undefined; } & { typeUrl?: string | undefined; value?: Buffer | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListCertificateOperationsResponse; }; /** A set of methods for managing certificates. */ export declare const CertificateServiceService: { /** * Returns the specified certificate. * * To get the list of available certificates, make a [List] request. */ readonly get: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetCertificateRequest; readonly responseSerialize: (value: Certificate) => Buffer; readonly responseDeserialize: (value: Buffer) => Certificate; }; /** Returns the list of certificates in the specified folder. */ readonly list: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListCertificatesRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListCertificatesRequest; readonly responseSerialize: (value: ListCertificatesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListCertificatesResponse; }; readonly listVersions: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/ListVersions"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListVersionsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListVersionsRequest; readonly responseSerialize: (value: ListVersionsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListVersionsResponse; }; /** Creates a certificate in the specified folder. */ readonly create: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates the specified certificate. */ readonly update: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Deletes the specified certificate. */ readonly delete: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Request a certificate in the specified folder. */ readonly requestNew: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/RequestNew"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: RequestNewCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => RequestNewCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Lists operations for the specified certificate. */ readonly listOperations: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/ListOperations"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListCertificateOperationsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListCertificateOperationsRequest; readonly responseSerialize: (value: ListCertificateOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListCertificateOperationsResponse; }; /** Lists existing access bindings for the specified certificate. */ readonly listAccessBindings: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/ListAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest; readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse; }; /** Sets access bindings for the certificate. */ readonly setAccessBindings: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/SetAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates access bindings for the specified certificate. */ readonly updateAccessBindings: { readonly path: "/yandex.cloud.certificatemanager.v1.CertificateService/UpdateAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; export interface CertificateServiceServer extends UntypedServiceImplementation { /** * Returns the specified certificate. * * To get the list of available certificates, make a [List] request. */ get: handleUnaryCall; /** Returns the list of certificates in the specified folder. */ list: handleUnaryCall; listVersions: handleUnaryCall; /** Creates a certificate in the specified folder. */ create: handleUnaryCall; /** Updates the specified certificate. */ update: handleUnaryCall; /** Deletes the specified certificate. */ delete: handleUnaryCall; /** Request a certificate in the specified folder. */ requestNew: handleUnaryCall; /** Lists operations for the specified certificate. */ listOperations: handleUnaryCall; /** Lists existing access bindings for the specified certificate. */ listAccessBindings: handleUnaryCall; /** Sets access bindings for the certificate. */ setAccessBindings: handleUnaryCall; /** Updates access bindings for the specified certificate. */ updateAccessBindings: handleUnaryCall; } export interface CertificateServiceClient extends Client { /** * Returns the specified certificate. * * To get the list of available certificates, make a [List] request. */ get(request: GetCertificateRequest, callback: (error: ServiceError | null, response: Certificate) => void): ClientUnaryCall; get(request: GetCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Certificate) => void): ClientUnaryCall; get(request: GetCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Certificate) => void): ClientUnaryCall; /** Returns the list of certificates in the specified folder. */ list(request: ListCertificatesRequest, callback: (error: ServiceError | null, response: ListCertificatesResponse) => void): ClientUnaryCall; list(request: ListCertificatesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListCertificatesResponse) => void): ClientUnaryCall; list(request: ListCertificatesRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListCertificatesResponse) => void): ClientUnaryCall; listVersions(request: ListVersionsRequest, callback: (error: ServiceError | null, response: ListVersionsResponse) => void): ClientUnaryCall; listVersions(request: ListVersionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListVersionsResponse) => void): ClientUnaryCall; listVersions(request: ListVersionsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListVersionsResponse) => void): ClientUnaryCall; /** Creates a certificate in the specified folder. */ create(request: CreateCertificateRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates the specified certificate. */ update(request: UpdateCertificateRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Deletes the specified certificate. */ delete(request: DeleteCertificateRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Request a certificate in the specified folder. */ requestNew(request: RequestNewCertificateRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; requestNew(request: RequestNewCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; requestNew(request: RequestNewCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Lists operations for the specified certificate. */ listOperations(request: ListCertificateOperationsRequest, callback: (error: ServiceError | null, response: ListCertificateOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListCertificateOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListCertificateOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListCertificateOperationsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListCertificateOperationsResponse) => void): ClientUnaryCall; /** Lists existing access bindings for the specified certificate. */ listAccessBindings(request: ListAccessBindingsRequest, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; /** Sets access bindings for the certificate. */ setAccessBindings(request: SetAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates access bindings for the specified certificate. */ updateAccessBindings(request: UpdateAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; } export declare const CertificateServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): CertificateServiceClient; service: typeof CertificateServiceService; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};