Class: Google::Cloud::Retail::V2::AddControlRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/serving_config_service.rb

Overview

Request for AddControl method.

Instance Attribute Summary collapse

Instance Attribute Details

#control_id::String

Returns 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.



122
123
124
125
# File 'proto_docs/google/cloud/retail/v2/serving_config_service.rb', line 122

class AddControlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#serving_config::String

Returns 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}



122
123
124
125
# File 'proto_docs/google/cloud/retail/v2/serving_config_service.rb', line 122

class AddControlRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end