Retail v2 API - Class CreateControlRequest (2.7.0)

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

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

Request for CreateControl method.

Inheritance

object > CreateControlRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

CreateControlRequest()

public CreateControlRequest()

CreateControlRequest(CreateControlRequest)

public CreateControlRequest(CreateControlRequest other)
Parameter
NameDescription
otherCreateControlRequest

Properties

Control

public Control Control { get; set; }

Required. The Control to create.

Property Value
TypeDescription
Control

ControlId

public string ControlId { get; set; }

Required. The ID to use for the Control, which will become the final component of the Control's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-_/.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. Full resource name of parent catalog. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

Property Value
TypeDescription
string

ParentAsCatalogName

public CatalogName ParentAsCatalogName { get; set; }

CatalogName-typed view over the Parent resource name property.

Property Value
TypeDescription
CatalogName