google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
59 lines (58 loc) • 2.14 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";
/**
* A language.
*
* @generated from protobuf message google.ads.googleads.v11.resources.LanguageConstant
*/
export interface LanguageConstant {
/**
* Output only. The resource name of the language constant.
* Language constant resource names have the form:
*
* `languageConstants/{criterion_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the language constant.
*
* @generated from protobuf field: optional int64 id = 6;
*/
id?: bigint;
/**
* Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc.
*
* @generated from protobuf field: optional string code = 7;
*/
code?: string;
/**
* Output only. The full name of the language in English, for example, "English (US)",
* "Spanish", etc.
*
* @generated from protobuf field: optional string name = 8;
*/
name?: string;
/**
* Output only. Whether the language is targetable.
*
* @generated from protobuf field: optional bool targetable = 9;
*/
targetable?: boolean;
}
declare class LanguageConstant$Type extends MessageType<LanguageConstant> {
constructor();
create(value?: PartialMessage<LanguageConstant>): LanguageConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LanguageConstant): LanguageConstant;
internalBinaryWrite(message: LanguageConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.LanguageConstant
*/
export declare const LanguageConstant: LanguageConstant$Type;
export {};