google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
70 lines (69 loc) • 2.49 kB
TypeScript
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* Container for enum describing possible internal errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.InternalErrorEnum
*/
export interface InternalErrorEnum {
}
/**
* Enum describing possible internal errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.InternalErrorEnum.InternalError
*/
export declare enum InternalErrorEnum_InternalError {
/**
* Enum unspecified.
*
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* The received error code is not known in this version.
*
* @generated from protobuf enum value: UNKNOWN = 1;
*/
UNKNOWN = 1,
/**
* Google Ads API encountered unexpected internal error.
*
* @generated from protobuf enum value: INTERNAL_ERROR = 2;
*/
INTERNAL_ERROR = 2,
/**
* The intended error code doesn't exist in specified API version. It will
* be released in a future API version.
*
* @generated from protobuf enum value: ERROR_CODE_NOT_PUBLISHED = 3;
*/
ERROR_CODE_NOT_PUBLISHED = 3,
/**
* Google Ads API encountered an unexpected transient error. The user
* should retry their request in these cases.
*
* @generated from protobuf enum value: TRANSIENT_ERROR = 4;
*/
TRANSIENT_ERROR = 4,
/**
* The request took longer than a deadline.
*
* @generated from protobuf enum value: DEADLINE_EXCEEDED = 5;
*/
DEADLINE_EXCEEDED = 5
}
declare class InternalErrorEnum$Type extends MessageType<InternalErrorEnum> {
constructor();
create(value?: PartialMessage<InternalErrorEnum>): InternalErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InternalErrorEnum): InternalErrorEnum;
internalBinaryWrite(message: InternalErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.InternalErrorEnum
*/
export declare const InternalErrorEnum: InternalErrorEnum$Type;
export {};