Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Request message for EndpointService.MutateDeployedModel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MutateDeployedModelRequest

Returns a new instance of GoogleCloudAiplatformV1MutateDeployedModelRequest.



16433
16434
16435
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16433

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deployed_modelGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModel

A deployment of a Model. Endpoints contain one or more DeployedModels. Corresponds to the JSON property deployedModel



16425
16426
16427
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16425

def deployed_model
  @deployed_model
end

#update_maskString

Required. The update mask applies to the resource. See google.protobuf. FieldMask. Corresponds to the JSON property updateMask

Returns:

  • (String)


16431
16432
16433
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16431

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16438
16439
16440
16441
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16438

def update!(**args)
  @deployed_model = args[:deployed_model] if args.key?(:deployed_model)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end