Retail V2 API - Class Google::Cloud::Retail::V2::CreateModelRequest (v0.17.0)

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

Request for creating a model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dry_run

def dry_run() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to run a dry run to validate the request (without actually creating the model).

#dry_run=

def dry_run=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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).

#model

def model() -> ::Google::Cloud::Retail::V2::Model
Returns

#model=

def model=(value) -> ::Google::Cloud::Retail::V2::Model
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource under which to create the model. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — 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}