Retail v2 API - Class CreateServingConfigRequest (2.16.0)

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

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

Request for CreateServingConfig method.

Inheritance

object > CreateServingConfigRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

CreateServingConfigRequest()

public CreateServingConfigRequest()

CreateServingConfigRequest(CreateServingConfigRequest)

public CreateServingConfigRequest(CreateServingConfigRequest other)
Parameter
Name Description
other CreateServingConfigRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsCatalogName

public CatalogName ParentAsCatalogName { get; set; }

CatalogName-typed view over the Parent resource name property.

Property Value
Type Description
CatalogName

ServingConfig

public ServingConfig ServingConfig { get; set; }

Required. The ServingConfig to create.

Property Value
Type Description
ServingConfig

ServingConfigId

public string ServingConfigId { get; set; }

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

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

Property Value
Type Description
string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.