[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Migration Center V1 Client - Class ImportDataFile (1.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.2 (latest)](/php/docs/reference/cloud-migrationcenter/latest/V1.ImportDataFile)\n- [1.1.1](/php/docs/reference/cloud-migrationcenter/1.1.1/V1.ImportDataFile)\n- [1.0.3](/php/docs/reference/cloud-migrationcenter/1.0.3/V1.ImportDataFile)\n- [0.4.5](/php/docs/reference/cloud-migrationcenter/0.4.5/V1.ImportDataFile)\n- [0.3.1](/php/docs/reference/cloud-migrationcenter/0.3.1/V1.ImportDataFile)\n- [0.2.0](/php/docs/reference/cloud-migrationcenter/0.2.0/V1.ImportDataFile)\n- [0.1.0](/php/docs/reference/cloud-migrationcenter/0.1.0/V1.ImportDataFile) \nReference documentation and code samples for the Google Cloud Migration Center V1 Client class ImportDataFile.\n\nA resource that represents a payload file in an import job.\n\nGenerated from protobuf message `google.cloud.migrationcenter.v1.ImportDataFile`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ MigrationCenter \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The name of the file.\n\n### setName\n\nOutput only. The name of the file.\n\n### getDisplayName\n\nUser-friendly display name. Maximum length is 63 characters.\n\n### setDisplayName\n\nUser-friendly display name. Maximum length is 63 characters.\n\n### getFormat\n\nRequired. The payload format.\n\n### setFormat\n\nRequired. The payload format.\n\n### getCreateTime\n\nOutput only. The timestamp when the file was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The timestamp when the file was created.\n\n### getState\n\nOutput only. The state of the import data file.\n\n### setState\n\nOutput only. The state of the import data file.\n\n### getUploadFileInfo\n\nInformation about a file that is uploaded to a storage service.\n\n### hasUploadFileInfo\n\n### setUploadFileInfo\n\nInformation about a file that is uploaded to a storage service.\n\n### getFileInfo"]]