Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MutateDeployedModelRequest

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

Overview

Request message for EndpointService.MutateDeployedModel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MutateDeployedModelRequest

Returns a new instance of GoogleCloudAiplatformV1beta1MutateDeployedModelRequest.



18236
18237
18238
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18236

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

Instance Attribute Details

#deployed_modelGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModel

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



18228
18229
18230
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18228

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)


18234
18235
18236
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18234

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18241
18242
18243
18244
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18241

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