Retail v2 API - Class AddControlRequest (2.5.0)

public sealed class AddControlRequest : IMessage<AddControlRequest>, IEquatable<AddControlRequest>, IDeepCloneable<AddControlRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class AddControlRequest.

Request for AddControl method.

Inheritance

object > AddControlRequest

Namespace

GoogleCloudGoogle.Cloud.RetailV2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

AddControlRequest()

public AddControlRequest()

AddControlRequest(AddControlRequest)

public AddControlRequest(AddControlRequest other)
Parameter
NameDescription
otherAddControlRequest

Properties

ControlId

public string ControlId { get; set; }

Required. The id of the control to apply. Assumed to be in the same catalog as the serving config - if id is not found a NOT_FOUND error is returned.

Property Value
TypeDescription
string

ServingConfig

public string ServingConfig { get; set; }

Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}

Property Value
TypeDescription
string

ServingConfigAsServingConfigName

public ServingConfigName ServingConfigAsServingConfigName { get; set; }

ServingConfigName-typed view over the ServingConfig resource name property.

Property Value
TypeDescription
ServingConfigName