Reference documentation and code samples for the Google Cloud Retail V2 Client class GetModelRequest.
Request for getting a model.
Generated from protobuf message google.cloud.retail.v2.GetModelRequest
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of the Model to get. Format: |
getName
Required. The resource name of the Model to
get. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The resource name of the Model to
get. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The resource name of the Model to
get. Format:
|
Returns | |
---|---|
Type | Description |
GetModelRequest |