Class: Google::Cloud::VMMigration::V1::ImageImportJob

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

Overview

ImageImportJob describes the progress and result of an image import.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_storage_uri::String (readonly)

Returns Output only. The path to the Cloud Storage file from which the image should be imported.

Returns:

  • (::String)

    Output only. The path to the Cloud Storage file from which the image should be imported.



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the image import was created (as an API call, not when it was actually created in the target).

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The time the image import was created (as an API call, not when it was actually created in the target).



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#created_resources::Array<::String> (readonly)

Returns Output only. The resource paths of the resources created by the image import job.

Returns:

  • (::Array<::String>)

    Output only. The resource paths of the resources created by the image import job.



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#disk_image_target_details::Google::Cloud::VMMigration::V1::DiskImageTargetDetails (readonly)

Returns Output only. Target details used to import a disk image.

Note: The following fields are mutually exclusive: disk_image_target_details, machine_image_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VMMigration::V1::DiskImageTargetDetails)

    Output only. Target details used to import a disk image.

    Note: The following fields are mutually exclusive: disk_image_target_details, machine_image_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the image import was ended.

Returns:



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#errors::Array<::Google::Rpc::Status> (readonly)

Returns Output only. Provides details on the error that led to the image import state in case of an error.

Returns:

  • (::Array<::Google::Rpc::Status>)

    Output only. Provides details on the error that led to the image import state in case of an error.



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#machine_image_target_details::Google::Cloud::VMMigration::V1::MachineImageTargetDetails (readonly)

Returns Output only. Target details used to import a machine image.

Note: The following fields are mutually exclusive: machine_image_target_details, disk_image_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VMMigration::V1::MachineImageTargetDetails)

    Output only. Target details used to import a machine image.

    Note: The following fields are mutually exclusive: machine_image_target_details, disk_image_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#name::String (readonly)

Returns Output only. The resource path of the ImageImportJob.

Returns:

  • (::String)

    Output only. The resource path of the ImageImportJob.



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#state::Google::Cloud::VMMigration::V1::ImageImportJob::State (readonly)

Returns Output only. The state of the image import.

Returns:



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#steps::Array<::Google::Cloud::VMMigration::V1::ImageImportStep> (readonly)

Returns Output only. The image import steps list representing its progress.

Returns:



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end

#warnings::Array<::Google::Cloud::VMMigration::V1::MigrationWarning> (readonly)

Returns Output only. Warnings that occurred during the image import.

Returns:



3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 3879

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

  # Possible states of the image import.
  module State
    # The state is unknown.
    STATE_UNSPECIFIED = 0

    # The image import has not yet started.
    PENDING = 1

    # The image import is active and running.
    RUNNING = 2

    # The image import has finished successfully.
    SUCCEEDED = 3

    # The image import has finished with errors.
    FAILED = 4

    # The image import is being cancelled.
    CANCELLING = 5

    # The image import was cancelled.
    CANCELLED = 6
  end
end