View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CopyModelRequest (google_api_ai_platform v0.13.0)

Request message for ModelService.CopyModel.

Attributes

  • encryptionSpec (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1EncryptionSpec.t, default: nil) - Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
  • modelId (type: String.t, default: nil) - Optional. Copy sourcemodel into a new Model with this ID. The ID will become the final component of the model resource name. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character cannot be a number or hyphen.
  • parentModel (type: String.t, default: nil) - Optional. Specify this field to copy source_model into this existing Model as a new version. Format: projects/{project}/locations/{location}/models/{model}
  • sourceModel (type: String.t, default: nil) - Required. The resource name of the Model to copy. That Model must be in the same Project. Format: projects/{project}/locations/{location}/models/{model}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CopyModelRequest{
  encryptionSpec:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1EncryptionSpec.t()
    | nil,
  modelId: String.t() | nil,
  parentModel: String.t() | nil,
  sourceModel: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.