google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
63 lines (62 loc) • 2.51 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 new resource creation errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.NewResourceCreationErrorEnum
*/
export interface NewResourceCreationErrorEnum {
}
/**
* Enum describing possible new resource creation errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.NewResourceCreationErrorEnum.NewResourceCreationError
*/
export declare enum NewResourceCreationErrorEnum_NewResourceCreationError {
/**
* 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,
/**
* Do not set the id field while creating new resources.
*
* @generated from protobuf enum value: CANNOT_SET_ID_FOR_CREATE = 2;
*/
CANNOT_SET_ID_FOR_CREATE = 2,
/**
* Creating more than one resource with the same temp ID is not allowed.
*
* @generated from protobuf enum value: DUPLICATE_TEMP_IDS = 3;
*/
DUPLICATE_TEMP_IDS = 3,
/**
* Parent resource with specified temp ID failed validation, so no
* validation will be done for this child resource.
*
* @generated from protobuf enum value: TEMP_ID_RESOURCE_HAD_ERRORS = 4;
*/
TEMP_ID_RESOURCE_HAD_ERRORS = 4
}
declare class NewResourceCreationErrorEnum$Type extends MessageType<NewResourceCreationErrorEnum> {
constructor();
create(value?: PartialMessage<NewResourceCreationErrorEnum>): NewResourceCreationErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NewResourceCreationErrorEnum): NewResourceCreationErrorEnum;
internalBinaryWrite(message: NewResourceCreationErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.NewResourceCreationErrorEnum
*/
export declare const NewResourceCreationErrorEnum: NewResourceCreationErrorEnum$Type;
export {};