google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
52 lines (51 loc) • 2.24 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 { ManagerLinkStatusEnum_ManagerLinkStatus } from "../enums/manager_link_status";
/**
* Represents customer-manager link relationship.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CustomerManagerLink
*/
export interface CustomerManagerLink {
/**
* Immutable. Name of the resource.
* CustomerManagerLink resource names have the form:
* `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The manager customer linked to the customer.
*
* @generated from protobuf field: optional string manager_customer = 6;
*/
managerCustomer?: string;
/**
* Output only. ID of the customer-manager link. This field is read only.
*
* @generated from protobuf field: optional int64 manager_link_id = 7;
*/
managerLinkId?: bigint;
/**
* Status of the link between the customer and the manager.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5;
*/
status: ManagerLinkStatusEnum_ManagerLinkStatus;
}
declare class CustomerManagerLink$Type extends MessageType<CustomerManagerLink> {
constructor();
create(value?: PartialMessage<CustomerManagerLink>): CustomerManagerLink;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerManagerLink): CustomerManagerLink;
internalBinaryWrite(message: CustomerManagerLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CustomerManagerLink
*/
export declare const CustomerManagerLink: CustomerManagerLink$Type;
export {};