# Data Object - GuestFileAttributes(vim.vm.guest.FileManager.FileAttributes)

Property of
  FileTransferInformation, GuestFileInfo
Parameter to
  ChangeFileAttributesInGuest, InitiateFileTransferToGuest
Extended by
  GuestPosixFileAttributes, GuestWindowsFileAttributes
Extends
  DynamicData
Since
  vSphere API 5.0

## Data Object Description

Different attributes for a guest file.

- Check GuestPosixFileAttributes for Posix guest files.
- Check GuestWindowsFileAttributes for Windows guest files.

Properties

Name | Type | Description
--- | --- | ---
accessTime* | xsd:dateTime | The date and time the file was last accessed. If this property is not specified when passing a GuestFileAttributes object to InitiateFileTransferToGuest, the default value will be the time when the file is created inside the guest.
modificationTime* | xsd:dateTime | The date and time the file was last modified. If this property is not specified when passing a GuestFileAttributes object to InitiateFileTransferToGuest, the default value will be the time when the file is created inside the guest.
symlinkTarget* | xsd:string | The target for the file if it's a symbolic link. This is currently only set for Linux guest operating systems, but may be supported in the future on Windows guest operating systems that support symbolic links. This property gives information about files when returned from ListFilesInGuest or InitiateFileTransferFromGuest as part of a GuestFileAttributes object. This property will be ignored when passing a GuestFileAttributes object to InitiateFileTransferToGuest or ChangeFileAttributesInGuest. If the file is a symbolic link, then the attributes of the target are returned, not those of the symbolic link.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="GuestFileAttributes"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="modificationTime" type="xsd:dateTime" minOccurs="0"/> <element name="accessTime" type="xsd:dateTime" minOccurs="0"/> <element name="symlinkTarget" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>