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
- (::Google::Cloud::Retail::V2::ServingConfig) — Required. The ServingConfig to create.
#serving_config=
def serving_config=(value) -> ::Google::Cloud::Retail::V2::ServingConfig
Parameter
- value (::Google::Cloud::Retail::V2::ServingConfig) — Required. The ServingConfig to create.
Returns
- (::Google::Cloud::Retail::V2::ServingConfig) — Required. The ServingConfig to create.
#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]-_/.