/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { ExportParams, Export } from '../../../../yandex/cloud/logging/v1/export'; import { FieldMask } from '../../../../google/protobuf/field_mask'; import { Operation } from '../../../../yandex/cloud/operation/operation'; import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access'; export declare const protobufPackage = "yandex.cloud.logging.v1"; export interface RunExportRequest { groupId: string; sinkId: string; params?: ExportParams; resultFilename: string; since?: Date; until?: Date; } export interface RunExportDetails { groupId: string; sinkId: string; params?: ExportParams; resultFilename: string; since?: Date; until?: Date; } export interface RunExportMetadata { groupId: string; sinkId: string; resultFilename: string; } export interface GetExportRequest { /** * ID of the export to return. * * To get a export ID make a [ExportService.List] request. */ exportId: string; } export interface ListExportsRequest { /** * Folder ID of the exports to return. * * To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ 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 [ListExportssResponse.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 * [ListExportsResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * A filter expression that filters exports listed in the response. * * The expression must specify: * 1. The field name. Currently filtering can only be applied to the [Export.name] field. * 2. An `=` operator. * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. * Example of a filter: `name="my-export"`. */ filter: string; } export interface ListExportsResponse { /** List of exports in the specified folder. */ exports: Export[]; /** * Token for getting the next page of the list. If the number of results is greater than * the specified [ListExportsRequest.page_size], use `next_page_token` as the value * for the [ListExportsRequest.page_token] parameter in the next list request. * * Each subsequent page will have its own `next_page_token` to continue paging through the results. */ nextPageToken: string; } export interface CreateExportRequest { /** * ID of the folder to create a export in. * * To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: string; /** * Name of the export. * The name must be unique within the folder. */ name: string; /** Description of the export. */ description: string; /** Export labels as `key:value` pairs. */ labels: { [key: string]: string; }; /** Logging Group ID logs exported from */ groupId: string; /** Logging Sink ID logs exported to */ sinkId: string; /** Parameters for logs filtration */ params?: ExportParams; } export interface CreateExportRequest_LabelsEntry { key: string; value: string; } export interface CreateExportMetadata { /** ID of the export being created. */ exportId: string; } export interface UpdateExportRequest { /** * ID of the export to update. * * To get a export ID make a [ExportService.List] request. */ exportId: string; /** Field mask that specifies which attributes of the function should be updated. */ updateMask?: FieldMask; /** * New name of the export. * The name must be unique within the folder. */ name: string; /** New Description of the export. */ description: string; /** New export labels as `key:value` pairs. */ labels: { [key: string]: string; }; /** New logging Group ID logs exported from */ groupId: string; /** New logging Sink ID logs exported to */ sinkId: string; /** New parameters for logs filtration */ params?: ExportParams; } export interface UpdateExportRequest_LabelsEntry { key: string; value: string; } export interface UpdateExportMetadata { /** ID of the export being updated. */ exportId: string; } export interface DeleteExportRequest { /** * ID of the export to delete. * * To get a export ID make a [ExportService.List] request. */ exportId: string; } export interface DeleteExportMetadata { /** ID of the export being deleted. */ exportId: string; } export interface ListExportOperationsRequest { /** * ID of the export to list operations for. * * To get a export ID make a [ExportService.List] request. */ exportId: 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 [ListExportOperationsResponse.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 * [ListExportOperationsResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * A filter expression that filters resources listed in the response. * * The expression must specify: * 1. The field name. Currently filtering can be applied to the [operation.Operation.description], [operation.Operation.created_at], [operation.Operation.modified_at], [operation.Operation.created_by], [operation.Operation.done] fields. * 2. An `=` operator. * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. * Examples of a filter: `done=false`, `created_by='John.Doe'`. */ filter: string; } export interface ListExportOperationsResponse { /** List of operations for the specified export. */ operations: Operation[]; /** * Token for getting the next page of the list. If the number of results is greater than * the specified [ListOExportperationsRequest.page_size], use `next_page_token` as the value * for the [ListExportOperationsRequest.page_token] parameter in the next list request. * * Each subsequent page will have its own `next_page_token` to continue paging through the results. */ nextPageToken: string; } export declare const RunExportRequest: { encode(message: RunExportRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RunExportRequest; fromJSON(object: any): RunExportRequest; toJSON(message: RunExportRequest): unknown; fromPartial, never>) | undefined; resourceIds?: (string[] & string[] & Record, never>) | undefined; streamNames?: (string[] & string[] & Record, never>) | undefined; levels?: (import("./log_entry").LogLevel_Level[] & import("./log_entry").LogLevel_Level[] & Record, never>) | undefined; filter?: string | undefined; } & Record, never>) | undefined; resultFilename?: string | undefined; since?: Date | undefined; until?: Date | undefined; } & Record, never>>(object: I): RunExportRequest; }; export declare const RunExportDetails: { encode(message: RunExportDetails, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RunExportDetails; fromJSON(object: any): RunExportDetails; toJSON(message: RunExportDetails): unknown; fromPartial, never>) | undefined; resourceIds?: (string[] & string[] & Record, never>) | undefined; streamNames?: (string[] & string[] & Record, never>) | undefined; levels?: (import("./log_entry").LogLevel_Level[] & import("./log_entry").LogLevel_Level[] & Record, never>) | undefined; filter?: string | undefined; } & Record, never>) | undefined; resultFilename?: string | undefined; since?: Date | undefined; until?: Date | undefined; } & Record, never>>(object: I): RunExportDetails; }; export declare const RunExportMetadata: { encode(message: RunExportMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RunExportMetadata; fromJSON(object: any): RunExportMetadata; toJSON(message: RunExportMetadata): unknown; fromPartial, never>>(object: I): RunExportMetadata; }; export declare const GetExportRequest: { encode(message: GetExportRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetExportRequest; fromJSON(object: any): GetExportRequest; toJSON(message: GetExportRequest): unknown; fromPartial, never>>(object: I): GetExportRequest; }; export declare const ListExportsRequest: { encode(message: ListExportsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListExportsRequest; fromJSON(object: any): ListExportsRequest; toJSON(message: ListExportsRequest): unknown; fromPartial, never>>(object: I): ListExportsRequest; }; export declare const ListExportsResponse: { encode(message: ListExportsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListExportsResponse; fromJSON(object: any): ListExportsResponse; toJSON(message: ListExportsResponse): unknown; fromPartial, never>) | undefined; groupId?: string | undefined; sinkId?: string | undefined; params?: ({ resourceTypes?: string[] | undefined; resourceIds?: string[] | undefined; streamNames?: string[] | undefined; levels?: import("./log_entry").LogLevel_Level[] | undefined; filter?: string | undefined; } & { resourceTypes?: (string[] & string[] & Record, never>) | undefined; resourceIds?: (string[] & string[] & Record, never>) | undefined; streamNames?: (string[] & string[] & Record, never>) | undefined; levels?: (import("./log_entry").LogLevel_Level[] & import("./log_entry").LogLevel_Level[] & Record, never>) | undefined; filter?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListExportsResponse; }; export declare const CreateExportRequest: { encode(message: CreateExportRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateExportRequest; fromJSON(object: any): CreateExportRequest; toJSON(message: CreateExportRequest): unknown; fromPartial, never>) | undefined; groupId?: string | undefined; sinkId?: string | undefined; params?: ({ resourceTypes?: string[] | undefined; resourceIds?: string[] | undefined; streamNames?: string[] | undefined; levels?: import("./log_entry").LogLevel_Level[] | undefined; filter?: string | undefined; } & { resourceTypes?: (string[] & string[] & Record, never>) | undefined; resourceIds?: (string[] & string[] & Record, never>) | undefined; streamNames?: (string[] & string[] & Record, never>) | undefined; levels?: (import("./log_entry").LogLevel_Level[] & import("./log_entry").LogLevel_Level[] & Record, never>) | undefined; filter?: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): CreateExportRequest; }; export declare const CreateExportRequest_LabelsEntry: { encode(message: CreateExportRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateExportRequest_LabelsEntry; fromJSON(object: any): CreateExportRequest_LabelsEntry; toJSON(message: CreateExportRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): CreateExportRequest_LabelsEntry; }; export declare const CreateExportMetadata: { encode(message: CreateExportMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateExportMetadata; fromJSON(object: any): CreateExportMetadata; toJSON(message: CreateExportMetadata): unknown; fromPartial, never>>(object: I): CreateExportMetadata; }; export declare const UpdateExportRequest: { encode(message: UpdateExportRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateExportRequest; fromJSON(object: any): UpdateExportRequest; toJSON(message: UpdateExportRequest): 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; groupId?: string | undefined; sinkId?: string | undefined; params?: ({ resourceTypes?: string[] | undefined; resourceIds?: string[] | undefined; streamNames?: string[] | undefined; levels?: import("./log_entry").LogLevel_Level[] | undefined; filter?: string | undefined; } & { resourceTypes?: (string[] & string[] & Record, never>) | undefined; resourceIds?: (string[] & string[] & Record, never>) | undefined; streamNames?: (string[] & string[] & Record, never>) | undefined; levels?: (import("./log_entry").LogLevel_Level[] & import("./log_entry").LogLevel_Level[] & Record, never>) | undefined; filter?: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): UpdateExportRequest; }; export declare const UpdateExportRequest_LabelsEntry: { encode(message: UpdateExportRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateExportRequest_LabelsEntry; fromJSON(object: any): UpdateExportRequest_LabelsEntry; toJSON(message: UpdateExportRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): UpdateExportRequest_LabelsEntry; }; export declare const UpdateExportMetadata: { encode(message: UpdateExportMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateExportMetadata; fromJSON(object: any): UpdateExportMetadata; toJSON(message: UpdateExportMetadata): unknown; fromPartial, never>>(object: I): UpdateExportMetadata; }; export declare const DeleteExportRequest: { encode(message: DeleteExportRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteExportRequest; fromJSON(object: any): DeleteExportRequest; toJSON(message: DeleteExportRequest): unknown; fromPartial, never>>(object: I): DeleteExportRequest; }; export declare const DeleteExportMetadata: { encode(message: DeleteExportMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteExportMetadata; fromJSON(object: any): DeleteExportMetadata; toJSON(message: DeleteExportMetadata): unknown; fromPartial, never>>(object: I): DeleteExportMetadata; }; export declare const ListExportOperationsRequest: { encode(message: ListExportOperationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListExportOperationsRequest; fromJSON(object: any): ListExportOperationsRequest; toJSON(message: ListExportOperationsRequest): unknown; fromPartial, never>>(object: I): ListExportOperationsRequest; }; export declare const ListExportOperationsResponse: { encode(message: ListExportOperationsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListExportOperationsResponse; fromJSON(object: any): ListExportOperationsResponse; toJSON(message: ListExportOperationsResponse): 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): ListExportOperationsResponse; }; /** A set of methods for managing log exports. */ export declare const ExportServiceService: { /** Run new logs export from log group to sink */ readonly run: { readonly path: "/yandex.cloud.logging.v1.ExportService/Run"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: RunExportRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => RunExportRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** * Returns the specified export. * * To get the list of all available exports, make a [List] request. */ readonly get: { readonly path: "/yandex.cloud.logging.v1.ExportService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetExportRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetExportRequest; readonly responseSerialize: (value: Export) => Buffer; readonly responseDeserialize: (value: Buffer) => Export; }; /** Retrieves the list of exports in the specified folder. */ readonly list: { readonly path: "/yandex.cloud.logging.v1.ExportService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListExportsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListExportsRequest; readonly responseSerialize: (value: ListExportsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListExportsResponse; }; /** Creates a export in the specified folder. */ readonly create: { readonly path: "/yandex.cloud.logging.v1.ExportService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateExportRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateExportRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates the specified export. */ readonly update: { readonly path: "/yandex.cloud.logging.v1.ExportService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateExportRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateExportRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Deletes the specified export. */ readonly delete: { readonly path: "/yandex.cloud.logging.v1.ExportService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteExportRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteExportRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Lists operations for the specified export. */ readonly listOperations: { readonly path: "/yandex.cloud.logging.v1.ExportService/ListOperations"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListExportOperationsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListExportOperationsRequest; readonly responseSerialize: (value: ListExportOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListExportOperationsResponse; }; /** Lists existing access bindings for the specified export. */ readonly listAccessBindings: { readonly path: "/yandex.cloud.logging.v1.ExportService/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 specified export. */ readonly setAccessBindings: { readonly path: "/yandex.cloud.logging.v1.ExportService/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 export. */ readonly updateAccessBindings: { readonly path: "/yandex.cloud.logging.v1.ExportService/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 ExportServiceServer extends UntypedServiceImplementation { /** Run new logs export from log group to sink */ run: handleUnaryCall; /** * Returns the specified export. * * To get the list of all available exports, make a [List] request. */ get: handleUnaryCall; /** Retrieves the list of exports in the specified folder. */ list: handleUnaryCall; /** Creates a export in the specified folder. */ create: handleUnaryCall; /** Updates the specified export. */ update: handleUnaryCall; /** Deletes the specified export. */ delete: handleUnaryCall; /** Lists operations for the specified export. */ listOperations: handleUnaryCall; /** Lists existing access bindings for the specified export. */ listAccessBindings: handleUnaryCall; /** Sets access bindings for the specified export. */ setAccessBindings: handleUnaryCall; /** Updates access bindings for the specified export. */ updateAccessBindings: handleUnaryCall; } export interface ExportServiceClient extends Client { /** Run new logs export from log group to sink */ run(request: RunExportRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; run(request: RunExportRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; run(request: RunExportRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Returns the specified export. * * To get the list of all available exports, make a [List] request. */ get(request: GetExportRequest, callback: (error: ServiceError | null, response: Export) => void): ClientUnaryCall; get(request: GetExportRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Export) => void): ClientUnaryCall; get(request: GetExportRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Export) => void): ClientUnaryCall; /** Retrieves the list of exports in the specified folder. */ list(request: ListExportsRequest, callback: (error: ServiceError | null, response: ListExportsResponse) => void): ClientUnaryCall; list(request: ListExportsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListExportsResponse) => void): ClientUnaryCall; list(request: ListExportsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListExportsResponse) => void): ClientUnaryCall; /** Creates a export in the specified folder. */ create(request: CreateExportRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateExportRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateExportRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates the specified export. */ update(request: UpdateExportRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateExportRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateExportRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Deletes the specified export. */ delete(request: DeleteExportRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteExportRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteExportRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Lists operations for the specified export. */ listOperations(request: ListExportOperationsRequest, callback: (error: ServiceError | null, response: ListExportOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListExportOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListExportOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListExportOperationsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListExportOperationsResponse) => void): ClientUnaryCall; /** Lists existing access bindings for the specified export. */ 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 specified export. */ 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 export. */ 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 ExportServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): ExportServiceClient; service: typeof ExportServiceService; }; 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 {};
= P extends Builtin ? P : P & { [K in keyof P]: Exact
; } & Record>, never>; export {};