Class: Google::Cloud::Retail::V2::CreateControlRequest

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

Overview

Request for CreateControl method.

Instance Attribute Summary collapse

Instance Attribute Details

#control::Google::Cloud::Retail::V2::Control

Returns Required. The Control to create.

Returns:



39
40
41
42
# File 'proto_docs/google/cloud/retail/v2/control_service.rb', line 39

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

#control_id::String

Returns Required. The ID to use for the Control, which will become the final component of the Control'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 Control, which will become the final component of the Control's resource name.

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



39
40
41
42
# File 'proto_docs/google/cloud/retail/v2/control_service.rb', line 39

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

#parent::String

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

Returns:

  • (::String)

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



39
40
41
42
# File 'proto_docs/google/cloud/retail/v2/control_service.rb', line 39

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