Retail v2 API - Class AddControlRequest (2.10.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

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

AddControlRequest()

public AddControlRequest()

AddControlRequest(AddControlRequest)

public AddControlRequest(AddControlRequest other)
Parameter
Name Description
other AddControlRequest

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
Type Description
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
Type Description
string

ServingConfigAsServingConfigName

public ServingConfigName ServingConfigAsServingConfigName { get; set; }

ServingConfigName-typed view over the ServingConfig resource name property.

Property Value
Type Description
ServingConfigName