Google Cloud Ai Platform V1 Client - Class MutateDeployedModelRequest (1.11.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
Name Description
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
Type Description
string

setEndpoint

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDeployedModel

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

Returns
Type Description
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
Name Description
var Google\Cloud\AIPlatform\V1\DeployedModel
Returns
Type Description
$this

getUpdateMask

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

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\AIPlatform\V1\MutateDeployedModelRequest