Retail V2 API - Class Google::Cloud::Retail::V2::CreateServingConfigRequest (v0.21.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::CreateServingConfigRequest.

Request for CreateServingConfig method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Full resource name of parent. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Full resource name of parent. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
Returns
  • (::String) — Required. Full resource name of parent. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

#serving_config

def serving_config() -> ::Google::Cloud::Retail::V2::ServingConfig
Returns

#serving_config=

def serving_config=(value) -> ::Google::Cloud::Retail::V2::ServingConfig
Parameter
Returns

#serving_config_id

def serving_config_id() -> ::String
Returns
  • (::String) — 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]-_/.

#serving_config_id=

def serving_config_id=(value) -> ::String
Parameter
  • value (::String) — 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]-_/.

Returns
  • (::String) — 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]-_/.