Class: Google::Cloud::AIPlatform::V1::ExportModelRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/model_service.rb

Overview

Request message for ModelService.ExportModel.

Defined Under Namespace

Classes: OutputConfig

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The resource name of the Model to export. The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported.

Returns:

  • (::String)

    Required. The resource name of the Model to export. The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported.



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'proto_docs/google/cloud/aiplatform/v1/model_service.rb', line 290

class ExportModelRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output configuration for the Model export.
  # @!attribute [rw] export_format_id
  #   @return [::String]
  #     The ID of the format in which the Model must be exported. Each Model
  #     lists the {::Google::Cloud::AIPlatform::V1::Model#supported_export_formats export formats it supports}.
  #     If no value is provided here, then the first from the list of the Model's
  #     supported formats is used by default.
  # @!attribute [rw] artifact_destination
  #   @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
  #     The Cloud Storage location where the Model artifact is to be
  #     written to. Under the directory given as the destination a new one with
  #     name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
  #     where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
  #     will be created. Inside, the Model and any of its supporting files
  #     will be written.
  #     This field should only be set when the `exportableContent` field of the
  #     [Model.supported_export_formats] object contains `ARTIFACT`.
  # @!attribute [rw] image_destination
  #   @return [::Google::Cloud::AIPlatform::V1::ContainerRegistryDestination]
  #     The Google Container Registry or Artifact Registry uri where the
  #     Model container image will be copied to.
  #     This field should only be set when the `exportableContent` field of the
  #     [Model.supported_export_formats] object contains `IMAGE`.
  class OutputConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#output_config::Google::Cloud::AIPlatform::V1::ExportModelRequest::OutputConfig

Returns Required. The desired output location and configuration.

Returns:



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'proto_docs/google/cloud/aiplatform/v1/model_service.rb', line 290

class ExportModelRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output configuration for the Model export.
  # @!attribute [rw] export_format_id
  #   @return [::String]
  #     The ID of the format in which the Model must be exported. Each Model
  #     lists the {::Google::Cloud::AIPlatform::V1::Model#supported_export_formats export formats it supports}.
  #     If no value is provided here, then the first from the list of the Model's
  #     supported formats is used by default.
  # @!attribute [rw] artifact_destination
  #   @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
  #     The Cloud Storage location where the Model artifact is to be
  #     written to. Under the directory given as the destination a new one with
  #     name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
  #     where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
  #     will be created. Inside, the Model and any of its supporting files
  #     will be written.
  #     This field should only be set when the `exportableContent` field of the
  #     [Model.supported_export_formats] object contains `ARTIFACT`.
  # @!attribute [rw] image_destination
  #   @return [::Google::Cloud::AIPlatform::V1::ContainerRegistryDestination]
  #     The Google Container Registry or Artifact Registry uri where the
  #     Model container image will be copied to.
  #     This field should only be set when the `exportableContent` field of the
  #     [Model.supported_export_formats] object contains `IMAGE`.
  class OutputConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end