google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
54 lines (53 loc) • 2.21 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 { AssetSetAssetStatusEnum_AssetSetAssetStatus } from "../enums/asset_set_asset_status";
/**
* AssetSetAsset is the link between an asset and an asset set.
* Adding an AssetSetAsset links an asset with an asset set.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AssetSetAsset
*/
export interface AssetSetAsset {
/**
* Immutable. The resource name of the asset set asset.
* Asset set asset resource names have the form:
*
* `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The asset set which this asset set asset is linking to.
*
* @generated from protobuf field: string asset_set = 2;
*/
assetSet: string;
/**
* Immutable. The asset which this asset set asset is linking to.
*
* @generated from protobuf field: string asset = 3;
*/
asset: string;
/**
* Output only. The status of the asset set asset. Read-only.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4;
*/
status: AssetSetAssetStatusEnum_AssetSetAssetStatus;
}
declare class AssetSetAsset$Type extends MessageType<AssetSetAsset> {
constructor();
create(value?: PartialMessage<AssetSetAsset>): AssetSetAsset;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssetSetAsset): AssetSetAsset;
internalBinaryWrite(message: AssetSetAsset, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AssetSetAsset
*/
export declare const AssetSetAsset: AssetSetAsset$Type;
export {};