Google Cloud Ai Platform V1 Client - Class MutateDeployedModelRequest (0.24.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class MutateDeployedModelRequest.

Request message for EndpointService.MutateDeployedModel.

Generated from protobuf message google.cloud.aiplatform.v1.MutateDeployedModelRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ endpoint string

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

↳ deployed_model Google\Cloud\AIPlatform\V1\DeployedModel

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated: * min_replica_count in either DedicatedResources or AutomaticResources * max_replica_count in either DedicatedResources or AutomaticResources * autoscaling_metric_specs * disable_container_logging (v1 only) * enable_container_logging (v1beta1 only)

↳ update_mask Google\Protobuf\FieldMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

getEndpoint

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Returns
TypeDescription
string

setEndpoint

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeployedModel

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\DeployedModel|null

hasDeployedModel

clearDeployedModel

setDeployedModel

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\DeployedModel
Returns
TypeDescription
$this

getUpdateMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
endpoint string

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint} Please see Google\Cloud\AIPlatform\V1\EndpointServiceClient::endpointName() for help formatting this field.

deployedModel Google\Cloud\AIPlatform\V1\DeployedModel

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

updateMask Google\Protobuf\FieldMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\MutateDeployedModelRequest