Retail V2 API - Class Google::Cloud::Retail::V2::AddControlRequest (v1.1.0)

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

Request for AddControl method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#control_id

def control_id() -> ::String
Returns
  • (::String) — 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.

#control_id=

def control_id=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#serving_config

def serving_config() -> ::String
Returns
  • (::String) — Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}

#serving_config=

def serving_config=(value) -> ::String
Parameter
  • value (::String) — Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
Returns
  • (::String) — Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}