Class: Google::Cloud::Retail::V2::CreateModelRequest

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

Overview

Request for creating a model.

Instance Attribute Summary collapse

Instance Attribute Details

#dry_run::Boolean

Returns Optional. Whether to run a dry run to validate the request (without actually creating the model).

Returns:

  • (::Boolean)

    Optional. Whether to run a dry run to validate the request (without actually creating the model).



37
38
39
40
# File 'proto_docs/google/cloud/retail/v2/model_service.rb', line 37

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

#model::Google::Cloud::Retail::V2::Model

Returns Required. The payload of the Model to create.

Returns:



37
38
39
40
# File 'proto_docs/google/cloud/retail/v2/model_service.rb', line 37

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

#parent::String

Returns Required. The parent resource under which to create the model. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}.

Returns:

  • (::String)

    Required. The parent resource under which to create the model. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}



37
38
39
40
# File 'proto_docs/google/cloud/retail/v2/model_service.rb', line 37

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