Resource: ImportDataFile
A resource that represents a payload file in an import job.
JSON representation |
---|
{ "name": string, "displayName": string, "format": enum ( |
Fields | |
---|---|
name |
Output only. The name of the file. |
display |
User-friendly display name. Maximum length is 63 characters. |
format |
Required. The payload format. |
create |
Output only. The timestamp when the file was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The state of the import data file. |
Union field
|
|
upload |
Information about a file that is uploaded to a storage service. |
ImportJobFormat
Specifies the data formats supported by Migration Center.
Enums | |
---|---|
IMPORT_JOB_FORMAT_UNSPECIFIED |
Default value. |
IMPORT_JOB_FORMAT_RVTOOLS_XLSX |
RVTools format (XLSX). |
IMPORT_JOB_FORMAT_RVTOOLS_CSV |
RVTools format (CSV). |
IMPORT_JOB_FORMAT_EXPORTED_AWS_CSV |
CSV format exported from AWS using the [AWS collection script][https://github.com/GoogleCloudPlatform/aws-to-stratozone-export]. |
IMPORT_JOB_FORMAT_EXPORTED_AZURE_CSV |
CSV format exported from Azure using the [Azure collection script][https://github.com/GoogleCloudPlatform/azure-to-stratozone-export]. |
IMPORT_JOB_FORMAT_STRATOZONE_CSV |
CSV format created manually and following the StratoZone format. For more information, see [Manually create and upload data tables][https://cloud.google.com/migrate/stratozone/docs/import-data-portal]. |
IMPORT_JOB_FORMAT_DATABASE_ZIP |
ZIP file with nested CSV files generated by a database collector. |
State
Enumerates possible states of an import data file.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. |
CREATING |
The data file is being created. |
ACTIVE |
The data file completed initialization. |
UploadFileInfo
A resource that contains a URI to which a data file can be uploaded.
JSON representation |
---|
{ "signedUri": string, "headers": { string: string, ... }, "uriExpirationTime": string } |
Fields | |
---|---|
signed |
Output only. Upload URI for the file. |
headers |
Output only. The headers that were used to sign the URI. An object containing a list of |
uri |
Output only. Expiration time of the upload URI. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Creates an import data file. |
|
Delete an import data file. |
|
Gets an import data file. |
|
List import data files. |