Google Cloud Ai Platform V1 Client - Class GetPublisherModelRequest (0.20.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}

↳ 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
TypeDescription
string

setName

Required. The name of the PublisherModel resource.

Format: publishers/{publisher}/models/{publisher_model}

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getView

Optional. PublisherModel view specifying which fields to read.

Returns
TypeDescription
int

setView

Optional. PublisherModel view specifying which fields to read.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model} Please see Google\Cloud\AIPlatform\V1\ModelGardenServiceClient::publisherModelName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\GetPublisherModelRequest