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 page provides reference documentation for the \u003ccode\u003eAddControlRequest\u003c/code\u003e class within the Google Cloud Retail v2 API, specifically for version 2.8.0, and details how to use the class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddControlRequest\u003c/code\u003e class is used to request the addition of a control 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 latest version of the Retail v2 API is 2.12.0, with documentation available for multiple previous versions spanning from 1.0.0 to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddControlRequest\u003c/code\u003e class has two key properties, \u003ccode\u003eControlId\u003c/code\u003e and \u003ccode\u003eServingConfig\u003c/code\u003e, both of which are strings and are required for adding a control, along with the \u003ccode\u003eServingConfigAsServingConfigName\u003c/code\u003e property to define the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes two constructors, a default constructor, and one that accepts another instance of \u003ccode\u003eAddControlRequest\u003c/code\u003e for creating a new instance, while also inheriting members from the \u003ccode\u003eobject\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]