public sealed class AddControlRequest : IMessage<AddControlRequest>, IEquatable<AddControlRequest>, IDeepCloneable<AddControlRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class AddControlRequest.
Required. The source ServingConfig resource name . Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eAddControlRequest\u003c/code\u003e class within the Google Cloud Retail v2 API, specifically version 2.10.0, and lists other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddControlRequest\u003c/code\u003e class is used to make requests for the \u003ccode\u003eAddControl\u003c/code\u003e method and it implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddControlRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eControlId\u003c/code\u003e and \u003ccode\u003eServingConfig\u003c/code\u003e, both of which are required, as well as a \u003ccode\u003eServingConfigAsServingConfigName\u003c/code\u003e property for a typed view of the serving config resource name.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this API, with \u003ccode\u003e2.12.0\u003c/code\u003e being the latest, and version \u003ccode\u003e1.0.0\u003c/code\u003e being the oldest listed, which are both available to reference.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default one and one that accepts another \u003ccode\u003eAddControlRequest\u003c/code\u003e instance, which is used to allow for the easy replication of the current \u003ccode\u003eAddControlRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]