google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
56 lines (55 loc) • 2.08 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 context errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.ContextErrorEnum
*/
export interface ContextErrorEnum {
}
/**
* Enum describing possible context errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.ContextErrorEnum.ContextError
*/
export declare enum ContextErrorEnum_ContextError {
/**
* 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,
/**
* The operation is not allowed for the given context.
*
* @generated from protobuf enum value: OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2;
*/
OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2,
/**
* The operation is not allowed for removed resources.
*
* @generated from protobuf enum value: OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3;
*/
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3
}
declare class ContextErrorEnum$Type extends MessageType<ContextErrorEnum> {
constructor();
create(value?: PartialMessage<ContextErrorEnum>): ContextErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ContextErrorEnum): ContextErrorEnum;
internalBinaryWrite(message: ContextErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.ContextErrorEnum
*/
export declare const ContextErrorEnum: ContextErrorEnum$Type;
export {};