Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScreenshotFile

Returns a new instance of ScreenshotFile.



1355
1356
1357
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1355

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeDateTime

Date and time the file was created Corresponds to the JSON property createTime

Returns:

  • (DateTime)


1338
1339
1340
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1338

def create_time
  @create_time
end

#download_urlString

File download URL Corresponds to the JSON property downloadUrl

Returns:

  • (String)


1343
1344
1345
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1343

def download_url
  @download_url
end

#nameString

File name Corresponds to the JSON property name

Returns:

  • (String)


1348
1349
1350
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1348

def name
  @name
end

#typeString

File type Corresponds to the JSON property type

Returns:

  • (String)


1353
1354
1355
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1353

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1360
1361
1362
1363
1364
1365
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1360

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