Class ModelServiceGrpc.ModelServiceBlockingStub

  • Enclosing class:
    ModelServiceGrpc

    public static final class ModelServiceGrpc.ModelServiceBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<ModelServiceGrpc.ModelServiceBlockingStub>
    A stub to allow clients to do synchronous rpc calls to service ModelService.
     A service for managing Vertex AI's machine learning Models.
     
    • Method Detail

      • uploadModel

        public com.google.longrunning.Operation uploadModel​(UploadModelRequest request)
         Uploads a Model artifact into Vertex AI.
         
      • updateExplanationDataset

        public com.google.longrunning.Operation updateExplanationDataset​(UpdateExplanationDatasetRequest request)
         Incrementally update the dataset used for an examples model.
         
      • deleteModel

        public com.google.longrunning.Operation deleteModel​(DeleteModelRequest request)
         Deletes a Model.
         A model cannot be deleted if any
         [Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] resource has a
         [DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] based on the
         model in its
         [deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models]
         field.
         
      • deleteModelVersion

        public com.google.longrunning.Operation deleteModelVersion​(DeleteModelVersionRequest request)
         Deletes a Model version.
         Model version can only be deleted if there are no
         [DeployedModels][google.cloud.aiplatform.v1beta1.DeployedModel] created
         from it. Deleting the only version in the Model is not allowed. Use
         [DeleteModel][google.cloud.aiplatform.v1beta1.ModelService.DeleteModel] for
         deleting the Model instead.
         
      • exportModel

        public com.google.longrunning.Operation exportModel​(ExportModelRequest request)
         Exports a trained, exportable Model to a location specified by the
         user. A Model is considered to be exportable if it has at least one
         [supported export
         format][google.cloud.aiplatform.v1beta1.Model.supported_export_formats].
         
      • copyModel

        public com.google.longrunning.Operation copyModel​(CopyModelRequest request)
         Copies an already existing Vertex AI Model into the specified Location.
         The source Model must exist in the same Project.
         When copying custom Models, the users themselves are responsible for
         [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to
         be region-agnostic, as well as making sure that any resources (e.g. files)
         it depends on remain accessible.