google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
62 lines (61 loc) • 2.09 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 quota errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.QuotaErrorEnum
*/
export interface QuotaErrorEnum {
}
/**
* Enum describing possible quota errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.QuotaErrorEnum.QuotaError
*/
export declare enum QuotaErrorEnum_QuotaError {
/**
* 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,
/**
* Too many requests.
*
* @generated from protobuf enum value: RESOURCE_EXHAUSTED = 2;
*/
RESOURCE_EXHAUSTED = 2,
/**
* Access is prohibited.
*
* @generated from protobuf enum value: ACCESS_PROHIBITED = 3;
*/
ACCESS_PROHIBITED = 3,
/**
* Too many requests in a short amount of time.
*
* @generated from protobuf enum value: RESOURCE_TEMPORARILY_EXHAUSTED = 4;
*/
RESOURCE_TEMPORARILY_EXHAUSTED = 4
}
declare class QuotaErrorEnum$Type extends MessageType<QuotaErrorEnum> {
constructor();
create(value?: PartialMessage<QuotaErrorEnum>): QuotaErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QuotaErrorEnum): QuotaErrorEnum;
internalBinaryWrite(message: QuotaErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.QuotaErrorEnum
*/
export declare const QuotaErrorEnum: QuotaErrorEnum$Type;
export {};