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
905 906 907 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 905 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
888 889 890 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 888 def create_time @create_time end |
#download_url ⇒ String
File download URL
Corresponds to the JSON property downloadUrl
893 894 895 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 893 def download_url @download_url end |
#name ⇒ String
File name
Corresponds to the JSON property name
898 899 900 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 898 def name @name end |
#type ⇒ String
File type
Corresponds to the JSON property type
903 904 905 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 903 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
910 911 912 913 914 915 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 910 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 |