Class: Google::Cloud::AIPlatform::V1::ExportModelRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::ExportModelRequest
- 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
-
#name ⇒ ::String
Required.
-
#output_config ⇒ ::Google::Cloud::AIPlatform::V1::ExportModelRequest::OutputConfig
Required.
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.
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'proto_docs/google/cloud/aiplatform/v1/model_service.rb', line 334 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.
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'proto_docs/google/cloud/aiplatform/v1/model_service.rb', line 334 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 |