Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GetPublisherModelRequest.
Request message for ModelGardenService.GetPublisherModel
Generated from protobuf message google.cloud.aiplatform.v1.GetPublisherModelRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the PublisherModel resource. Format: |
↳ language_code |
string
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in (see go/bcp47). |
↳ view |
int
Optional. PublisherModel view specifying which fields to read. |
getName
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLanguageCode
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in (see go/bcp47).
Returns | |
---|---|
Type | Description |
string |
setLanguageCode
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in (see go/bcp47).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getView
Optional. PublisherModel view specifying which fields to read.
Returns | |
---|---|
Type | Description |
int |
setView
Optional. PublisherModel view specifying which fields to read.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the PublisherModel resource.
Format:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\GetPublisherModelRequest |