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.



419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# File 'proto_docs/google/cloud/aiplatform/v1/model_service.rb', line 419

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 [export formats it
  #     supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. 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:



419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# File 'proto_docs/google/cloud/aiplatform/v1/model_service.rb', line 419

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 [export formats it
  #     supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. 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