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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides reference documentation for the `AddControlRequest` class within the Google Cloud Retail v2 API, specifically for version 2.8.0, and details how to use the class."],["The `AddControlRequest` class is used to request the addition of a control and it implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The 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."],["The `AddControlRequest` class has two key properties, `ControlId` and `ServingConfig`, both of which are strings and are required for adding a control, along with the `ServingConfigAsServingConfigName` property to define the resource name."],["The class also includes two constructors, a default constructor, and one that accepts another instance of `AddControlRequest` for creating a new instance, while also inheriting members from the `object` type."]]],[]]