Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #create_time  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Date and time the file was created Corresponds to the JSON property
createTime. - 
  
    
      #download_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
File download URL Corresponds to the JSON property
downloadUrl. - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
File name Corresponds to the JSON property
name. - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
File type Corresponds to the JSON property
type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeviceFile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DeviceFile.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceFile
Returns a new instance of DeviceFile
      825 826 827  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 825 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#create_time ⇒ DateTime
Date and time the file was created
Corresponds to the JSON property createTime
      808 809 810  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 808 def create_time @create_time end  | 
  
#download_url ⇒ String
File download URL
Corresponds to the JSON property downloadUrl
      813 814 815  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 813 def download_url @download_url end  | 
  
#name ⇒ String
File name
Corresponds to the JSON property name
      818 819 820  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 818 def name @name end  | 
  
#type ⇒ String
File type
Corresponds to the JSON property type
      823 824 825  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 823 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      830 831 832 833 834 835  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 830 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @download_url = args[:download_url] if args.key?(:download_url) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end  |