MlModelService

Call Description
Get
List
Create
Update
Delete

Calls MlModelService

Get

rpc Get (GetMlModelRequest) returns (MlModel)

GetMlModelRequest

Field Description
cluster_id string
Required. The maximum string length in characters is 50.
ml_model_name string
Required. The maximum string length in characters is 63. Value must match the regular expression [a-zA-Z0-9_-]*.

MlModel

Field Description
name string
cluster_id string
type enum MlModelType
    uri string

    List

    rpc List (ListMlModelsRequest) returns (ListMlModelsResponse)

    ListMlModelsRequest

    Field Description
    cluster_id string
    Required. The maximum string length in characters is 50.
    page_size int64
    The maximum value is 1000.
    page_token string
    The maximum string length in characters is 100.

    ListMlModelsResponse

    Field Description
    ml_models[] MlModel
    next_page_token string

    MlModel

    Field Description
    name string
    cluster_id string
    type enum MlModelType
      uri string

      Create

      rpc Create (CreateMlModelRequest) returns (operation.Operation)

      Metadata and response of Operation:
          Operation.metadata:CreateMlModelMetadata
          Operation.response:MlModel

      CreateMlModelRequest

      Field Description
      cluster_id string
      Required. The maximum string length in characters is 50.
      ml_model_name string
      Required. The maximum string length in characters is 63. Value must match the regular expression [a-zA-Z0-9_-]*.
      type enum MlModelType
      Required.
        uri string
        Required.

        Operation

        Field Description
        id string
        ID of the operation.
        description string
        Description of the operation. 0-256 characters long.
        created_at google.protobuf.Timestamp
        Creation timestamp.
        created_by string
        ID of the user or service account who initiated the operation.
        modified_at google.protobuf.Timestamp
        The time when the Operation resource was last modified.
        done bool
        If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
        metadata google.protobuf.Any<CreateMlModelMetadata>
        Service-specific metadata associated with the operation. It typically contains the ID of the target resource that the operation is performed on. Any method that returns a long-running operation should document the metadata type, if any.
        result oneof: error or response
        The operation result. If done == false and there was no failure detected, neither error nor response is set. If done == false and there was a failure detected, error is set. If done == true, exactly one of error or response is set.
          error google.rpc.Status
        The error result of the operation in case of failure or cancellation.
          response google.protobuf.Any<MlModel>
        if operation finished successfully.

        CreateMlModelMetadata

        Field Description
        cluster_id string
        ml_model_name string

        MlModel

        Field Description
        name string
        cluster_id string
        type enum MlModelType
          uri string

          Update

          rpc Update (UpdateMlModelRequest) returns (operation.Operation)

          Metadata and response of Operation:
              Operation.metadata:UpdateMlModelMetadata
              Operation.response:MlModel

          UpdateMlModelRequest

          Field Description
          cluster_id string
          Required. The maximum string length in characters is 50.
          ml_mode_name string
          Required. The maximum string length in characters is 63. Value must match the regular expression [a-zA-Z0-9_-]*.
          update_mask google.protobuf.FieldMask
          uri string

          Operation

          Field Description
          id string
          ID of the operation.
          description string
          Description of the operation. 0-256 characters long.
          created_at google.protobuf.Timestamp
          Creation timestamp.
          created_by string
          ID of the user or service account who initiated the operation.
          modified_at google.protobuf.Timestamp
          The time when the Operation resource was last modified.
          done bool
          If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
          metadata google.protobuf.Any<UpdateMlModelMetadata>
          Service-specific metadata associated with the operation. It typically contains the ID of the target resource that the operation is performed on. Any method that returns a long-running operation should document the metadata type, if any.
          result oneof: error or response
          The operation result. If done == false and there was no failure detected, neither error nor response is set. If done == false and there was a failure detected, error is set. If done == true, exactly one of error or response is set.
            error google.rpc.Status
          The error result of the operation in case of failure or cancellation.
            response google.protobuf.Any<MlModel>
          if operation finished successfully.

          UpdateMlModelMetadata

          Field Description
          cluster_id string
          ml_model_name string

          MlModel

          Field Description
          name string
          cluster_id string
          type enum MlModelType
            uri string

            Delete

            rpc Delete (DeleteMlModelRequest) returns (operation.Operation)

            Metadata and response of Operation:
                Operation.metadata:DeleteMlModelMetadata
                Operation.response:google.protobuf.Empty

            DeleteMlModelRequest

            Field Description
            cluster_id string
            Required. The maximum string length in characters is 50.
            ml_model_name string
            Required. The maximum string length in characters is 63. Value must match the regular expression [a-zA-Z0-9_-]*.

            Operation

            Field Description
            id string
            ID of the operation.
            description string
            Description of the operation. 0-256 characters long.
            created_at google.protobuf.Timestamp
            Creation timestamp.
            created_by string
            ID of the user or service account who initiated the operation.
            modified_at google.protobuf.Timestamp
            The time when the Operation resource was last modified.
            done bool
            If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
            metadata google.protobuf.Any<DeleteMlModelMetadata>
            Service-specific metadata associated with the operation. It typically contains the ID of the target resource that the operation is performed on. Any method that returns a long-running operation should document the metadata type, if any.
            result oneof: error or response
            The operation result. If done == false and there was no failure detected, neither error nor response is set. If done == false and there was a failure detected, error is set. If done == true, exactly one of error or response is set.
              error google.rpc.Status
            The error result of the operation in case of failure or cancellation.
              response google.protobuf.Any<google.protobuf.Empty>
            if operation finished successfully.

            DeleteMlModelMetadata

            Field Description
            cluster_id string
            ml_model_name string