Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

Information of a display device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1DisplayDevice

Returns a new instance of GoogleChromeManagementV1DisplayDevice.



1389
1390
1391
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1389

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

Instance Attribute Details

#display_height_mmFixnum

Output only. Display height in millimeters. Corresponds to the JSON property displayHeightMm

Returns:

  • (Fixnum)


1356
1357
1358
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1356

def display_height_mm
  @display_height_mm
end

#display_nameString

Output only. Display device name. Corresponds to the JSON property displayName

Returns:

  • (String)


1361
1362
1363
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1361

def display_name
  @display_name
end

#display_width_mmFixnum

Output only. Display width in millimeters. Corresponds to the JSON property displayWidthMm

Returns:

  • (Fixnum)


1366
1367
1368
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1366

def display_width_mm
  @display_width_mm
end

#internalBoolean Also known as: internal?

Output only. Is display internal or not. Corresponds to the JSON property internal

Returns:

  • (Boolean)


1371
1372
1373
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1371

def internal
  @internal
end

#manufacture_yearFixnum

Output only. Year of manufacture. Corresponds to the JSON property manufactureYear

Returns:

  • (Fixnum)


1377
1378
1379
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1377

def manufacture_year
  @manufacture_year
end

#manufacturer_idString

Output only. Three letter manufacturer ID. Corresponds to the JSON property manufacturerId

Returns:

  • (String)


1382
1383
1384
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1382

def manufacturer_id
  @manufacturer_id
end

#model_idFixnum

Output only. Manufacturer product code. Corresponds to the JSON property modelId

Returns:

  • (Fixnum)


1387
1388
1389
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1387

def model_id
  @model_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1394
1395
1396
1397
1398
1399
1400
1401
1402
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1394

def update!(**args)
  @display_height_mm = args[:display_height_mm] if args.key?(:display_height_mm)
  @display_name = args[:display_name] if args.key?(:display_name)
  @display_width_mm = args[:display_width_mm] if args.key?(:display_width_mm)
  @internal = args[:internal] if args.key?(:internal)
  @manufacture_year = args[:manufacture_year] if args.key?(:manufacture_year)
  @manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id)
  @model_id = args[:model_id] if args.key?(:model_id)
end