google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
68 lines (67 loc) • 3.03 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";
import { OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType } from "../enums/operating_system_version_operator_type";
/**
* A mobile operating system version or a range of versions, depending on
* `operator_type`. List of available mobile platforms at
* https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms
*
* @generated from protobuf message google.ads.googleads.v11.resources.OperatingSystemVersionConstant
*/
export interface OperatingSystemVersionConstant {
/**
* Output only. The resource name of the operating system version constant.
* Operating system version constant resource names have the form:
*
* `operatingSystemVersionConstants/{criterion_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the operating system version.
*
* @generated from protobuf field: optional int64 id = 7;
*/
id?: bigint;
/**
* Output only. Name of the operating system.
*
* @generated from protobuf field: optional string name = 8;
*/
name?: string;
/**
* Output only. The OS Major Version number.
*
* @generated from protobuf field: optional int32 os_major_version = 9;
*/
osMajorVersion?: number;
/**
* Output only. The OS Minor Version number.
*
* @generated from protobuf field: optional int32 os_minor_version = 10;
*/
osMinorVersion?: number;
/**
* Output only. Determines whether this constant represents a single version or a range of
* versions.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6;
*/
operatorType: OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType;
}
declare class OperatingSystemVersionConstant$Type extends MessageType<OperatingSystemVersionConstant> {
constructor();
create(value?: PartialMessage<OperatingSystemVersionConstant>): OperatingSystemVersionConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperatingSystemVersionConstant): OperatingSystemVersionConstant;
internalBinaryWrite(message: OperatingSystemVersionConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.OperatingSystemVersionConstant
*/
export declare const OperatingSystemVersionConstant: OperatingSystemVersionConstant$Type;
export {};