Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/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) ⇒ ScreenshotFile
constructor
A new instance of ScreenshotFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScreenshotFile
Returns a new instance of ScreenshotFile.
1741 1742 1743 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1741 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
1724 1725 1726 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1724 def create_time @create_time end |
#download_url ⇒ String
File download URL
Corresponds to the JSON property downloadUrl
1729 1730 1731 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1729 def download_url @download_url end |
#name ⇒ String
File name
Corresponds to the JSON property name
1734 1735 1736 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1734 def name @name end |
#type ⇒ String
File type
Corresponds to the JSON property type
1739 1740 1741 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1739 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1746 1747 1748 1749 1750 1751 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1746 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 |